SCCM Upgrade with an Offline Service Connection Point| ConfigMgr

0
offline service connection point

Let’s learn how to perform an SCCM upgrade with an offline service connection point. We have many posts about installing or updating the Configuration Manager infrastructure when you have an ONLINE service connection point.

Introduction

Microsoft introduced In-Console upgrade in the Current Branch versions of Configuration Manager. This type of upgrade is completed using the ONLINE “Service Connection” Role.

In this post, you are going to learn how to upgrade your SCCM infrastructure when you have an OFFLINE Service connection point.

With Offline Service connection point you can’t download the latest version of SCCM CB directly from Microsoft cloud. Instead, you need to go through an offline process which I’m going to explain in this post.

More details – Learn How to Install Reinstall SCCM Service Connection Point| ConfigMgr

Altaro Office 365 Backup
Advertisement Altaro Office 365 Backup

Modes of operation for Service Connection Point Role

The service connection point supports two modes of operation:

  • In online mode, the service connection point automatically checks every 24 hours for updates and then downloads new updates that are available for your current infrastructure and product version to make them available in the SCCM console.
  • In offline mode, the service connection point does not connect to the Microsoft cloud service, and you must manually Use the Service Connection Tool for SCCM to import available updates.

Why Offline Service Connection Point

There could servers in the factory or ships where it’s not connected to internet access to download the latest updates for CB we should go for offline mode option for upgrade CB version.

NO Updates available - SCCM offline service connection point ConfigMgr
NO Updates available – SCCM offline service connection point ConfigMgr

Service Connection Tool

Each hierarchy supports a single instance of this roleThe site system role can only be installed at the top-tier site of your hierarchy (On a Central Administration Site or a stand-alone Primary Site).

SCCM Service Connection Point Installation

The SCCM 1511 installation or upgrade wizard will ask to install the Service Connection Point. If you select to skip the role installation, you can manually add it to SCCM using the following steps.

  • Go to Administration / Site Configuration / Servers and Site System Roles
  • Right click the Site System you wish to add the role
  • Click Add Site System Role in the Ribbon
Add Site System Role  - SCCM offline service connection point ConfigMgr
Add Site System Role – SCCM offline service connection point ConfigMgr
  • On General Tab click Next to continue
Select a server to use as a Site System - SCCM offline service connection point ConfigMgr
Select a server to use as a Site System – SCCM offline service connection point ConfigMgr
  • On Proxy Tab click Next
Proxy - SCCM offline service connection point ConfigMgr
Proxy – SCCM offline service connection point ConfigMgr
  • On the Site System Role tab, select Service Connection Point and click Next
Role Selection - SCCM offline service connection point ConfigMgr
Role Selection – SCCM offline service connection point ConfigMgr

On the Service Connection Mode, select the desired option :

  • In Online mode, the Service Connection Point automatically downloads updates that are available for your current infrastructure and product version, making them available in the SCCM console
  • In Offline mode, the Service Connection Point does not connect to the Microsoft cloud service and you must manually use the service connection tool when your Service Connection Point is in Offline mode to import available updates
SCCM offline service connection point ConfigMgr
SCCM offline service connection point ConfigMgr

On the Summary screen, wait for the setup to complete and close the wizard

SCCM Service Connection Point

How to Change Service Connection Point Mode from ONLINE to Offline

Let’s check Prerequisites for Service Connection Point Offline Mode:

  • You have a service connection point installed, and it is set to Offline, on-demand connection.
  • The tool must be run from a command prompt.
  • Each computer where the tool runs (the service connection point computer, and the computer that is connected to the internet) must be an x64 bit system and have the following installed:
    • Both the Visual C++ Redistributable x86 and x64 files. By default, SCCM installs the x64 version on the computer that hosts the service connection point.
    • To download a copy of the Visual C++ files, visit Visual C++ Redistributable Packages for Visual Studio 2013 at the Microsoft Download Center.
    • .NET Framework 4.5.2 or later.
  • The account you use to run the tool must have:
    • Local administrator permissions on the computer that hosts the service connection point (where the tool is run).
    • Read permissions to the site database.

Open SCCM console and goto Administration Tab – expand “Site Configuration” – Select “Servers and Site System Roles” – on right panel Select Site Server and bottom Right click on “Service Connection Point” select Properties.

SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 1

Change Service Connection Point role settings from Online to Offline and apply.

SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 2

Download SCCM CB Updates with Offline Service Connection Point

You need to use a serviceconnectiontool.exe tool to download the Configuration Manager updates into the console.

Where we can get serviceconnectiontool.exe

You can find the service connection tool (serviceconnectiontool.exe), in the SCCM installation media in %baselinemedia%\smssetup\tools\ServiceConnectionTool folder.

NOTE! – Always use the service connection tool that matches the version of SCCM that you use.

Overview

There are three primary steps to using the service connection tool

  1. Prepare: This step runs on the computer that hosts the service connection point.
  2. Connect: For this step, you run the tool on a remote computer that connects to the Internet.
  3. Import: This step runs on the computer that hosts the service connection point.

Prepare – Data Collection from SCCM Infra

In this procedure, the command-line examples use the following file names and folder locations (you do not need to use these paths and file names and instead can use alternatives that match your environment and preferences):

Run the following command to collect the telemetry data from your SCCM infra in OFFLINE service connection Point Scenario

On the computer that hosts the service connection point:

  • Open a command prompt with administrative privileges, and then change directories to the location that contains serviceconnectiontool.exe.
serviceconnectiontool.exe -prepare -usagedatadest D:\USB\UsageData.cab

Starting CB 1706 version, the tools default download behavior has modified and the tool has options to control which files you want download.

  • downloadall This option downloads everything, including updates and hotfixes, regardless of the version of your site.
  • downloadhotfix This option downloads all hotfixes regardless of the version of your site.
  • downloadsiteversion This option downloads updates and hotfixes that have a version that is higher than the version of your site.

Example command line that uses -downloadsiteversion:

serviceconnectiontool.exe -connect -downloadsiteversion -usagedatasrc D:\USB -updatepackdest D:\USB\UpdatePacks

Verify Telemetry Data of SCCM CB

Try to use following command to verify the telemetry data for OFFLINE scenario.

serviceconnectiontool.exe -export -dest D:\USB\UsageData.csv

Connect serviceconnectiontool.exe Tool on Remote Computer

You need to copy the ServiceConnectionTool folder with all of its contents to the USB drive.

NOTE – With SCCM 1606, when connecting to Microsoft you can upload multiple .cab files at one time (each from a different hierarchy), and specify a proxy server and a user for the proxy server.

Command line options

To view help information for the service connection point tool, open command prompt to the folder that contains the tool and runs the command: serviceconnectiontool.exe.

Execution

  • Create a folder Called USB in D Drive.
  • On the computer that hosts the service connection point.
  • Open a command prompt with administrative privileges.
  • Run the following command to have the tool prepare a .cab file that contains usage information and to copy it to a location you specify:
serviceconnectiontool.exe -prepare -usagedatadest D:\USB\UsageData.cab
offline service connection point SCCM
offline service connection point SCCM ConfigMgr
  • If you will upload .cab files from more than one hierarchy at the same time, each .cab file in the folder must have a unique name. You can manually rename files that you add to the folder.
  • If you want to view the usage information that is gathered to be uploaded to the Configuration Manager cloud service, run the following command to export the same data as a .csv file which you can then view using an application like Excel:
serviceconnectiontool.exe -export -dest D:\USB\UsageData.csv
offline service connection point
offline service connection point
  • After the prepare step is complete, move the USB drive (or transfer the exported data by another method) to a computer that has access to the Internet.
  • Create a folder called “UpdatePacks” in USB folder and also copy Service Connection Tool folder from baseline media (%baselinemedia%\smssetup\tools\ServiceConnectionTool)
  • On the computer with Internet access, open a command prompt with administrative privileges, and then change directories to the location that contains a copy of the tool serviceconnectiontool.exe and the additional files from that folder.
  • Run the following command to begin the upload of usage information and the download of updates for SCCM:
serviceconnectiontool.exe -connect -usagedatasrc D:\USB -updatepackdest D:\USB\UpdatePacks
offline service connection point SCCM ConfigMgr
offline service connection point SCCM ConfigMgr
  • After the download of updates for SCCM is complete, move the USB drive (or transfer the exported data by another method) to the computer that hosts the service connection point.
  • On the computer that hosts the service connection point
    • open a command prompt with administrative privileges
    • change directories to the location that contains serviceconnectiontool.exe,
    • and then run the following command:
serviceconnectiontool.exe -import -updatepacksrc D:\USB\UpdatePacks
  • Once the import completes, you can close the command prompt. (Only updates for the applicable hierarchy are imported).
  • Open the ConfigMgr console and navigate to Administration > Updates and Servicing. Updates that were imported and Latest patch status is Ready to install.
SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 3
offline service connection point SCCM ConfigMgr

Log Files

ServiceConnectionTool.log

Each time you run the service connection tool, a log file will generate in the same location as the tool called ServiceConnectionTool.log. This log file will provide simple details about the execution of the tool based on what commands are used. An existing log file will be replaced each time you run the tool.

ConfigMgrSetup.log

When using the tool to connect and download updates, a log file will generate on the root of the system drive called ConfigMgrSetup.log. This log file will provide you with more detailed information such as what files are downloaded, extracted, and if the hash checks are successful.

In-Console Update

Prerequisites Check

Right click on available update and click “Run prerequisite Check

SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 4
offline service connection point SCCM ConfigMgr

Once it completes you can see “Prerequisite check passed” then again right click and “Install Update Pack

offline service connection point SCCM ConfigMgr
offline service connection point SCCM ConfigMgr

Installation

Once you click Install hot-Fix “Configuration Manager Update Wizard” will open

Select “I Accept these License Terms and Privacy Statement” and click next to continue

SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 5
SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 6

Once it done close the Configuration Manager Update Wizard page.

Verify Console Version Upgrade Status

Check on Console you can see the hot-fix state changed to Installing

SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 7
offline service connection point SCCM ConfigMgr

Verify “hman.log” and “dmpdownloader.log” files for updating process logs are available in C:\Program Files\Microsoft Configuration Manager\Logs

You can verify the status in Monitor tab in SCCM console

SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 8
offline service connection point SCCM ConfigMgr

Once hot-fix successfully complete installation it sends the hot-fix to Primary console and update to all SCCM Servers in the Hierarchy.

offline service connection point SCCM ConfigMgr
offline service connection point SCCM ConfigMgr
SCCM Upgrade with an Offline Service Connection Point| ConfigMgr 9
offline service connection point SCCM ConfigMgr

Resources

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.