SCCM 2012 SP1 Upgrade Checklist

Alright, everyone else has a checklist — time for mine :). Here’s how we’re installing SCCM 2012 SP1. Once again, this is based off of my internal documentation, so it’s not as polished as it really should be for the open web. I’ve been putting off blogging for so long — it’s time to just get something out there and see if it helps anyone.

Overview

  1. Configure Site Backups
  2. Spin Up a SQL Server Test VM
  3. Test the Database Upgrade
  4. Disable Site Maintenance Task
  5. Backup Boot Image Customizations
  6. Upgrade from WAIK to ADK
  7. Install WSUS Hotfix
  8. Run the Prereq Checker
  9. Run the SP1 Install

You can download an actual excel checklist from the John Puskar Github Repo.

This is going to be a long post…

Step-By-Step

Configure Site Backups

  1. Administration -> Site Configuration -> Sites -> CAS -> Settings -> Site Maintenance
  2. Backup Site Server -> Edit
  3. Enable this task
  4. Set paths -> Local Drive -> F:\Backups
  5. Start time — 5mins from now. Latest start time -> 1hr after start time.
  6. OK to save.
  7. Wait and get the backup.

Spin Up a SQL Server Test VM

  • 80GB Free space
  • Install MS SQL — same version as the one which produced the database backup.
  • Install MS SQL Server 2012 Native Client. Download from here. You have to click ‘download’, then ignore the text file that gets downloaded and scroll to the middle of the download confirmation page. Microsoft® SQL Server® 2012 Feature Pack

Test the Database Upgrade

  1. Login to the test server using a domain account that has local administrator and SQL sysadmin privileges.
  2. Copy the SCCM Site Backup folder from SCCM server to test server.
  3. Open SQL Server Management Studio.
  4. Right-click the SQL Server and choose ‘attach’.
  5. Navigate to the backup folder and select the MDF file found in the site server backup folder.
  6. Click OK to attach the db.
  7. In SQL Server Management Studio, navigate to Security -> Logins.
  8. Right-click the account or group which represents your current login and choose ‘properties’.
  9. Choose ‘User Mapping’ from the left-pane, then select your attached site server database.
  10. Check the box next to the site database backup in the ‘map’ column.
  11. Check the ‘db_owner’ box in the bottom pane.
  12. Click OK to save changes.
  13. Open a command prompt as administrator and navigate to .\sccm2012sp1\smssetup\bin\x64.
  14. Run setup.exe /testdbupgrade <dbname> (ex: cm_cas)
  15. Prerequisite checker should pass.
  16. Click ‘next’ to attempt the upgrade.
  17. Watch task manager for the sqlservr.exe process’ CPU usage. It will spike for 20mins or more.
  18. When the sqlservr.exe process seems to be idle, open the file C:\configMgrSetup.log. It should read ‘Successfully upgraded the SCCM database’.

Disable Site Maintenance Task

  1. Open SCCM Console on the CAS and navigate to Administration -> Site Configuration > Sites.
  2. Right-click the CAS site and choose ‘Site Maintenance’.
  3. Select the task ‘Delete Aged Client Operations’.
  4. Click the ‘disable’ button and confirm that the column labeled ‘Enabled’ reads ‘No’ next to the task.
  5. Click ‘OK’ to save changes.

Backup Boot Image Customizations

Run the following commands and confirm that the files are actually copied.

MKDIR C:\backups
MKDIR C:\backups\bootimages
MKDIR C:\backups\bootimages\Extra
IF EXIST "C:\Program Files\Microsoft Configuration Manager\OSD\Extra" XCOPY /e /y "C:\Program Files\Microsoft Configuration Manager\OSD\Extra" C:\backups\bootimages\extra\
XCOPY /y "C:\Program Files\Microsoft Configuration Manager\bin\x64\osdinjection.xml" C:\backups\bootimages\

Upgrade from WAIK to ADK

  1. Obtain the ADK Downloader, and download the full ADK installer. The downloader is available here: Windows Assessment and Deployment Kit (ADK) for Windows 8
  2. Uninstall WAIK from control panel.
  3. Run the ADK installer.
  4. Choose to install the following features
    • Deployment Tools
    • Windows Preinstallation Environment (Windows PE)
    • User State Migration Tool (USMT)

Install WSUS Hotfix

Download the following hotfix and install.

Run the Prereq Checker

  • Navigate to .\smssetup\bin\x64 and double-click ‘prereqchk.exe’.
  • You will probable see a SQL Server process memory allocation error, but that should be the only issue.

Run the SP1 Install

  1. WOOOOOOOO!
  2. Run the following command:
    cmd /c mkdir C:\SCCMDownloads-SP1
  3. Navigate to .\smssetup\bin\x64 and double-click ‘setup.exe’.
  4. On the ‘Getting Started’ screen, choose to ‘Upgrade this Configuration Manager site’
  5. On the ‘Product Key’ screen, enter the licensing information and click ‘next’.
  6. On the ‘Microsoft Software License Terms’ screen, choose ‘I accept’ and click ‘next’.
  7. On the ‘Prerequisite Licenses’ screen, accept all the license terms and click ‘next’.
  8. On the ‘Prerequisite Downloads’ screen, choose the download required files to C:\SCCMDownloads-SP1 and click ‘next’.
  9. On the ‘Server Language Selection’ screen, click ‘Next’.
  10. On the ‘Client Language Selection’ screen, click ‘Next’.
  11. On the ‘Settings Summary’ screen, confirm that the box reads ‘Setup Type – Upgrade’, then click ‘Next’.
  12. On the ‘Prerequisite Check’ screen, click ‘Begin Install’.
  13. Complete the wizard.

One thing I noticed is that database replication doesn’t work well until all the site servers are upgraded. Good luck!

Advertisements

One thought on “SCCM 2012 SP1 Upgrade Checklist

  1. Pingback: Table of Contents | windowsmasher

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s