Book Image

Microsoft System Center Configuration Manager Cookbook - Second Edition

By : Samir Hammoudi, Matthew Hudson, Greg Ramsey, Brian Mason, Chuluunsuren Damdinsuren
Book Image

Microsoft System Center Configuration Manager Cookbook - Second Edition

By: Samir Hammoudi, Matthew Hudson, Greg Ramsey, Brian Mason, Chuluunsuren Damdinsuren

Overview of this book

This practical cookbook is based on the 1602 current branch of System Center Configuration Manager (SCCM). It shows you how to administer SCCM, giving you an essential toolbox of techniques to solve real-world scenarios. Packed with over 60 task-based and instantly usable recipes, you’ll discover how design a SCCM Infrastructure, and dive into topics such as the recommended SQL configuration for SCCM and how to deploy Windows 10 with Operating System Deployment (OSD). You will learn to easily manage Windows 10 devices by deploying applications, software updates, and feature upgrades, andl be able to leverage Mobile Device Management (MDM) using SCCM and Microsoft Intune. Finally, you see how to gather the inventory of all your PC park and create reports based on it. By the end of the book, you will have learned the best practices when working with SCCM and have a handy reference guide for troubleshooting.
Table of Contents (15 chapters)
Microsoft System Center Configuration Manager Cookbook - Second Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Keeping your CM deployment up-to date


CM synchronizes with the Microsoft cloud service to get updates. You can then install from within the CM console. Only updates that apply to your infrastructure and version are downloaded and made available. This synchronization can be automatic, or manual depending on how you configure the service connection point for your hierarchy.You can choose either of the following methods for upgrading your CM Infrastructure.

You can choose either of the following methods for upgrading your CM Infrastructure:

  • In online mode, the service connection point automatically connects to the Microsoft cloud service and downloads applicable updates

  • In offline mode, you must manually use the Service Connection Tool to download and then import available updates into the service connection point

By default, CM checks for new updates every 24 hours. Beginning with version 1602 or later, you can also check for updates immediately by:

  1. Navigating to Administration | Cloud Services | Updates and Servicing.

  2. Clicking on Check for Updates.

    Note

    To view updates in the console, a user must be assigned a security role that includes the Read permission in the permission group Site, and the security scope All.

 To configure the service connection point role:

  1. Navigate to Administration | Site ConfigurationServers and Site System Roles.

  2. Add Service connection point role by doing the following:

    • New site system server: On the Home tab in the Create group, click on Create Site System Server to start the Create Site System Server wizard.

    • Existing site system server: Click on the server on which you want to install the service connection point role. Then, on the Hom e  tab, in the Server group, click on Add Site System Roles to start the Add Site system Roles wizard.

  3. On the System Role Selection page, select Service connection point, and click on Next.

  4. Complete the wizard.

    Note

    The service connection point site system role may only be installed on a central administration site or standalone primary site. The service connection point must have Internet access.

Getting ready

Before applying a CM update, there are three recommended actions you can execute in order to safely update CM:

  1. Refer to the checklist made available by Microsoft:

    Refer to the checklist available at https://technet.microsoft.com/en-us/library/mt691556.aspx for updating from System Center Configuration Manager version 1511 to 1602.

  2. Test the database upgrade:

    1. Obtain a set of source files from the CD.Latest folder of a site that runs the version you plan to update to from the lab environment. For example, if your site runs version 1501 and you want to update to 1602, you must get a CD.Latest folder from a site that has already updated to version 1602.

    2. Create a backup of the site database, and then restore it to an instance of a test SQL Server.

    3. Run Setup.exe from CD.Latest, for example, SMSSETUP\BIN\X64\Setup.exe /TESTDBUPGRADE DBtest\CM_ABC.

    4. Monitor ConfigMgrSetup.log in the root of the system drive.

    5. If the test upgrade fails, resolve any issues related to the site database upgrade failure.

  3. Run the prerequisite checker:

    1. Navigate to Administration | Cloud Services | Updates and Servicing.

    2. Right-click on the update package you want to run the prerequisite check for.

    3. Choose Run prerequisite check. When you run the prerequisite check, content for the update replicates on child sites.

    4. To view the results, navigate to Monitoring | Site Servicing Status and look for the prerequisite status. You can also view the details from ConfigMgrPrereq.log.

How to do it...

Before installing a new CM update, be sure to have done the prerequisite checks described in the Getting ready section.

Tip

Child primary sites start the update automatically after the central administration site completes installation of the update. You can use Service Windows for site servers to control when a site installs updates.

When it comes to updating CM to a new version, you will have to consider updating the CM hierarchy in the following order:

  1. The top-tier site (primary site or CAS if you have one). Follow these steps to apply the update to the top-tier site:

    1. From the top-tier site server, navigate to Administration | Cloud Services | Updates and Servicing.

    2. Select an available update and then click on Install Update Pack.

  2. Update installation at secondary sites. After the parent primary site is updated, update the secondary site using the following steps:

    1. Navigate to Administration | Site Configuration | Sites.

    2. Select the site you want to update, and then on the Home tab, in the Site group, click on Upgrade.

    3. Click on  Yes .

  3. To monitor the status, select the secondary site server, and then on the Home tab, in the Site group, click on Show Install Status.

    Note

    You have to manually update secondary sites from the CM console after the primary parent site update is completed. Automatic update of secondary site servers is not supported. When you open the CM console after the site update, you are prompted to update the console.

  4. Start update of CM clients. Perform the following steps to update clients:

    1. Navigate to Administration | Site Configuration | Sites.

    2. On the Home tab, in the Sites group, click on Hierarchy Settings.

    3. In the Client Upgrade tab, review the version and date of the production client.

    4. Click on  Upgrade all clients in the hierarchy using the production client and click on OK in the confirmation dialog box.

    5. If you don't want client upgrades to apply to servers, click on Do not upgrade servers.

    6. Specify the number of days in which computers must upgrade the client after they receive the client policy.

    7. If you want the client installation package to be copied to prestaged distribution points, click on the Automatically distribute client installation package to distribution points.

    8. Click on OK to save the settings and close the Hierarchy Settings Properties dialog box.

How it works...

As part of the update installation, CM re-installs any affected components such as site system roles or the console, manages updates to clients based on the selections you made for client piloting, and basically there is no need to reboot site system servers as part of the update.

Tip

 

When updates are installed, Configuration Manager also updates the CD.Latest folder which is used during a site recovery.

There's more...

From the CM console, it is also possible to verify any update installation status as well as monitor the update in progress. 

To verify the status of updated packages, navigate to Administration | Cloud Services | Updates and Servicing. This node shows the installation status for all updated packages.

To monitor the CM update while it's applied, follow these steps:

  1. Navigate to Monitoring | Overview | Site Servicing Status. You will find there the installation status of the CM update currently in progress.

  2. You can view the CMUpdate.log file in <ConfigMgr_Installation_Directory>\Logs\.

After a CAS or primary site updates, each CM console that connects to that site must also update.

To start updating CM consoles:

  1. Open the console, you are prompted to update a console, click on OK.

  2. To verify the version, go to About System Center Configuration Manager at the top-left corner of the console where the new site and console versions are displayed.

See also