January, 2013

  • My Experience Upgrading to CM12 SP1

     

    Hi All, it’s been a while since my last post and one of Matts posts hit-count just past my article on Auto Deployment Rules  (Unashamed plug of my old blog post to try and get the numbers up). So I decided, okay it’s time to get another one done.

    NOTE: This is not meant to be a step by step guide merely some general advice and run through. I always recommend doing any upgrade process in your test lab environment before even considering upgrading in production. If you don't have one create one.

    The environment I'm working with is a lab that was setup when ConfigMgr 2012 RTM came out. It sits on Server 2008 R2 SP1 and SQL 2008 R2 SP1 CU4. Probably not too dissimilar to most 2012 RTM environments.
    I have a one CAS, one Child Primary and one Secondary Site.

    The first thing I want to do is run the prerequisite checker.
    On the ISO I have Prereqchk.exe sits in the folder SC2012SP1_RTM_SCCM_SCEP\SMSSETUP\BIN\X64.

    clip_image001[1]

    The advantage of running this instead of running through the setup GUI and then seeing what prerequisites are required, you avoid having to have to exit the setup and run through the entire setup process again. To get the command line switches simply run prereqchk /?

    Let's run it on each server separately to see what is needed.
    CAS Server (CM12CAS.Contoso.com)
    Open an administrative command prompt and run the following command

    prereqchk /CAS /SQL <FQDN of the SQL Server>  /SDK <FQDN of the SDK Server>

    Feel free to add any other switches that you would like to but this will server our current purpose.

    clip_image002[1]

    clip_image003[1]

    clip_image004[1]

    OK so we can see a couple of Warnings which I expected in our lab environment, and number of things we need to fix.
    Anything that is a warning is usually just a best practice alert such as the WSUS on site server warning, or for you to be aware of a potential issue such as verifying site server permissions to publish to AD.
    Let's go through the errors.

    1) We can ignore the two errors Existing Configuration Manager server components on site server and Dedicated SQL Server Instance because the prereqchk is assuming we are trying to do a fresh install on this site server, not an upgrade.
    2) User State Migration Tool(USMT) installed, Windows Deployment Tools installed and Windows PreInstallation Environment installed are all part of the latest Window Assessment and Deployment Toolkit which you can download from here http://www.microsoft.com/en-us/download/details.aspx?id=30652
    3) SQL Server version I need to upgrade SQL from 2008 R2 SP1 CU4 to either CU6 or SP2. (See Supported Configurations for Configuration Manager.)

    NOTE : f you are going to upgrade from 2008 RTM/R2 to SQL 2012 post upgrading to ConfigMgr 2012 SP1, you need to upgrade in the following order.
    1st - CAS
    2nd - Secondary Site
    3rd - Child Primary of that secondary site.

    From Technet - http://technet.microsoft.com/en-us/library/gg682077#BKMK_SupConfigUpgradeDBSrv

    For Configuration Manager SP1 only: Configuration Manager with SP1 supports the in-place upgrade of SQL Server 2008 or SQL Server 2008 R2 to SQL Server 2012 with the following limitations:

    •        Each Configuration Manager site must run service pack 1 before you can upgrade the version of SQL Server to SQL Server 2012 at any site.

    •        When you upgrade the version of SQL Server that hosts the site database at each site to SQL Server 2012, you must upgrade the SQL Server version that is used at sites in the following order:

    o        Upgrade SQL Server at the central administration site first.

    o        Upgrade secondary sites before you upgrade a secondary sites parent primary site.

    o        Upgrade parent primary sites last. This includes both child primary sites that report to a central administration site, and stand-alone primary sites that are the top-level site of a hierarchy.

    Important

    Although you upgrade the service pack version of a Configuration Manager site by upgrading the top-tier site first and then upgrading down the hierarchy, when you upgrade SQL Server to SQL Server 2012, you must use the previous sequence, upgrading the primary sites last. This does not apply to upgrades of SQL Server 2008 to SQL Server 2008 R2.

    4) If you haven't already done so, the following WSUS Updates may also need to be applied.
    An update for Windows Server Update Services 3.0 Service Pack 2 is available (KB2734608)
    An update for Windows Server Update Services 3.0 Service Pack 2 is available (KB2720211)
    PLEASE read and understand what may occur in your environment before applying these hotfixes. and of course test in your lab environment first.

     

    Install WADK


    Ok so let's install the WADK components to my CAS
    Download it from the link above
    Run adksetup
    Download the Kit to a network location so it is available for installation. (Note this may take a while)

    clip_image005

    From that location on your server share
    Run adksetup.exe
    Specify your installation directory and click Next

    clip_image006

    Select Yes or No depending on your preference and click Next

    clip_image007

    Accept the license agreement

    clip_image008

    All you should need is the Deployment Tools, Windows Preinstallation Environment (Windows PE) and User State Migration Tool (USMT) select these and click Install

    clip_image009

    Again, this may take a while to install.

    NOTE: Check your build via PXE after this is done as you may potentially need to remove and redistribute your x64 Boot Image. Ensure you refer to the SMSPXE.log file for any errors.

     

    SQL Upgrade
    I'm going to upgrade to SQL 2008 R2 SP2.
    (If you wish to do the same you can get SP2 from here How to obtain the latest service pack for SQL Server 2008 R2)

    Run the SP2 executable

    clip_image010

    Click Next

    clip_image011

    Accept the license agreement

    clip_image012

    Click Next

    clip_image013

    After the file check click Next

    clip_image014

    Click Update

    clip_image015

    Click Close

    clip_image016

    Click OK and restart the server
    I'd suggest checking the SQL Logs after the reboot to ensure there are no errors that you may need to look into.

    Upgrade to ConfigMgr to SP1

    Now we can start the SP1 Upgrade

    Double click on splash.hta to bring up the splash screen

    clip_image017

    You'll see a familiar screen Click Install

    clip_image018

    Click Next

    clip_image019

    Select Upgrade this Configuration Manager Site and Click Next

    clip_image020

    Enter your product key and click Next

    clip_image021

    Accept the license agreement and click Next

    clip_image022

    Accept the license agreement and click Next

    clip_image023

    You can either download the latest prerequisite files from the internet and save them on a network location, or use an already downloaded copy. In this case they are available on my copy of the ISO so I'll just grab them from there. Obviously over time I'd suggest you download the latest version from the internet.

    Click OK and Next

    clip_image024

    Select your Server Language and click Next

    clip_image025

    Select your client language and click Next.

    clip_image026

    Click Next again at the Summary screen

    clip_image027

    Finally we reach the prerequisite check screen (You can now see the value in using prereqchk.exe)
    For more detail you can look at the ConfigmgrPrereq.log file in the root of C.

    Click Begin Install

    clip_image028

    You should now see a log file called C:\ConfigmgrSetup.log open this up to watch how the upgrade process is going.

    clip_image029

    We can see that after a successful connection to the database we are about to Upgrade the CAS Server

    clip_image030

    After about 40 minutes in my lab the upgrade process is complete. See the entry in the setup log file above

    clip_image031

    We can now click Close on the splash screen

    clip_image032

    Now let's check and see if the Site has upgraded successfully.
    Open the ConfigMgr console and select Administration > Site Configuration > Sites > CAS right click and select Properties

    clip_image033

    As per Matt’s previous blog we can now see that our CAS is at Version 5.00.7804.1000 and Build number 7804

    clip_image034

    I'm also going to check my database replication and ensure everything is functioning correctly. .
    One other thing that is interesting to note is the change in the change in the configure Client Installation Settings under Administration > Sites and in the ribbon Hierarchy Settings

    RTM

    clip_image035

    SP1

    clip_image036

    We now no longer have a choice to select the latest version for the Automatic Client Upgrade option.


    Child Primary

    OK, so let's now move onto the Child primary

    Open an administrative command prompt and run the following command

    prereqchk /PRI /SQL <FQDN of the SQL Server>  /SDK <FQDN of the SDK Server>

    clip_image037

    So we can see the exact same prereqs as the CAS, so I will run through the same process as per the CAS of installing the latest WADK and upgrading SQL.

    Upgrade to SP1

    The screen shots are exactly the same for the child primary so I won't bore you with those

    clip_image038

    Once we start again, we can see in the Setup log file after the SQL connections are successful the upgrade will begin

    clip_image039

    Then after about 30 minutes we can see that the setup is now complete

    clip_image040

    We can also see a few extra tasks have been done on the Child Primary.

    Let’s check some of the logs and the console to ensure it has upgraded successfully.

    clip_image041

    To see if the components have reinstalled without issue, we can check the sitecomp.log under <SCCMInstallFolder>\Logs
    We can see where the bootstrapper starts successfully after SP1 finishes installing. You can also see as it successfully reinstalls each component.

    See the figure below for all of the entry’s filtered in the log file.

    clip_image042

    clip_image043

    You may also notice a few new components being installed.

    clip_image044

    Mpcontrol.log shows us that the management point is communicating successfully.

    Now jump into the console and check the site version and database replication. We also essentially check that the provider is functioning since we need it to be to get into the console.

    clip_image045

    All looks good. Also the picture of the Cloud is a bit of a giveaway.

    clip_image046

    DB Replication also looks nice and healthy.


    Secondary Site

    OK, so now lets look at our Secondary site

    Open an administrative command prompt and run the following command

    prereqchk.exe /SECUPGRADE

    clip_image047

    We can see that there are 2 points I need to fix before attempting an upgrade.

    1) The upgrade process will not automatically install a supported version of SQL so we need to do it manually first
    2) SQL Express does not have a static port set so we will need to go into SQL to set a static port of 1433.

    The upgrade of SQL we have already run through so I will just go through setting the static port
    On the secondary server open up SQL Server Configuration Manager

    clip_image048

    Ensure the local Secondary server is selected (Or remote server name if you've started it from another server)

    clip_image049

    Expand SQL Server Network Configuration and select Protocols for CONFIGMGRSEC
    Then double click on TCP/IP under protocol name

    clip_image050

    You will notice that SQL has both Dynamic and a static port set for IPAll

    clip_image051

    Lets delete the Dynamic entry and click Apply

    clip_image052

    Click OK and restart the appropriate services.
    After I have upgraded SQL and changed the port I run my prereq check again.

    clip_image053

    We can now see that the errors are gone and we should be able to upgrade our secondary site successfully. You also may have noticed that I have warnings on all of the servers for SQL Server process memory allocation. That is because SQL requires a minimum of 8 GB of RAM for a CAS and Primary, and 4GB for a secondary. It will still run with less as per my Lab VM’s but you will get a performance hit.

    Upgrade to SP1

    As most of you will now know we install and we upgrade the Secondary site via the ConfigMgr console and not directly on the box itself.
    So we can open the console on either our CAS or our Child Primary. I'll do it from the Child primary just to speed things up.

    clip_image054

    Go to Administration > Sites and select the secondary site. You will now see an Upgrade option available on the ribbon.
    When your upgrading you have two choices to monitor what is happening.
    1) Click on Show Install Status

    clip_image055

    This brings up a step by step guide to let you know at what stage the installation is at. Here we can see that the prereq’s have already occurred and the Bootstrap service has already been installed ready for the upgrade.

    2) Look at the local log files sitting in the root of C:\

    clip_image056

    As with the CAS and the Child primary, we have the exact same prereq Wizard and setup log files that go into much more depth should there be any issues with the installation. Although we will need to watch the logs initially on the Child Primary before the setup and bootstrap begins on the secondary site.

    clip_image057

    I will click on Upgrade get the above warning then click Yes.

    clip_image058

    This log file is from the Child Primary

    clip_image059

    With each action we can see the corresponding action in the appropriate log file if we wish.
    Once prereqs are finished we can see that the bootstrapper begins its process

    clip_image060

    clip_image061

    And on the secondary site we can see the upgrade process begin

    clip_image062

    clip_image063

    clip_image064

    clip_image065

    And we can see that now the installation is complete

    clip_image066

    clip_image067

    I'm going to check the SMSEXEC.log to see if my components have started.

    clip_image068

    I'm also going to check MPControl.log to see if my management point is functioning as expected.

    clip_image069

    Now ill check the version and database replication status from the console.

    clip_image070

    We can see that we are on build 7804

    clip_image071

    And we can also see that database replication is working as expected.

    I would suggest checking that all of your components on each server, are functioning correctly. Keep your eye on the status messages and alerts, in case any of them fail and need further attention. You can do this from Monitoring > Site Status and Component Status. Below we can see an example of an issue with my Software Update Point after the SP1 update  that needs attention.

    image   
    Looking at the WCM.LOG you can see that I haven't applied the WSUS updates I mentioned earlier in this blog.

    An update for Windows Server Update Services 3.0 Service Pack 2 is available (KB2734608)
    An update for Windows Server Update Services 3.0 Service Pack 2 is available (KB2720211)

    image

    I will download and apply these updates.

    after a restart of the WSUS Configuration Manager component (This isn't necessary the next time it polls it would do this anyway) you can see that it now has a supported version and is now running though setting up the updated component.

    image

    Conclusion and next steps.

    So what we have seen here are various methods to run through the upgrade process and various log files and GUI settings in the console that we can use to follow the process. If you plan and get the prerequisites setup correctly before you begin you should have a fairly smooth SP1 upgrade.

    Next steps.
    1) Update your ConfigMgr Client package to all of your Distribution points and plan out the client upgrade.
    2) Think about and potentially plan an upgrade to SQL 2012.

    George Smpyrakis

  • MDT Monitoring: Another Reason to Implement MDT 2012 Update 1 into your ConfigMgr 2012 SP1 Environment

    I have been doing a number of customer engagements recently around Windows 8 deployments through ConfigMgr 2012 SP1 and one question I often ask our customers during the planning phase is “Will you be integrating MDT 2012 Update 1 into your ConfigMgr 2012 SP1 environment?” The general response I get is “What are the benefits…?” Well the short answer is A LOT!!, but one of the cool new reasons is MDT 2012 Monitoring and the ability to use this to monitor your ConfigMgr 2012 SP1 OSD deployments.

    There are a few pre-requisites that are required to get the FULL functionality of what is offered in MDT 2012 monitoring in particular the option to DaRT Remote Control to your client machine during the build, even while in PXE. This will require a custom boot image to be created that includes the DaRT 8 utility embedded. As DaRT is part of the Microsoft Desktop Optimization Pack (MDOP) you will need an MDOP subscription.

    However if you do not have MDOP subscription you can still utilise the MDT 2012 Monitoring feature for your ConfigMgr 2012 SP1 deployments.

    In this session I will step through both configuring MDT 2012 Update 1 Monitoring for ConfigMgr 2012 SP1 OSD deployments as well as how to create a DaRT 8 embedded boot image to get the full power of MDT 2012 Monitoring.

    Section 1 – Configuring MDT 2012 Update 1 Monitoring

    Step 1: Install MDT 2012 Update 1 & Integrate it into your ConfigMgr 2012 SP1 Site

    clip_image002

    Step 2: Configure a MDT 2012 Update 1 Deployment Share

    - Open the MDT management MMC

    - Right Click Deployment Share \ New Deployment Share

    clip_image004

    - Complete the Wizard

    clip_image006

    clip_image008

    Step 5: Enable MDT Monitoring

    - Right Click your Deployment Share and select Properties

    - Select the Monitoring Tab

    - Enable Monitoring for this Deployment Share

    clip_image010

    Step 6: Modify your CustomSettings.ini file to use MDT Monitoring

    - Navigate to your source directory that your set for your MDT Settings Package

    - If you are not sure where it is check your ConfigMgr Package

    clip_image011

    - Open your CustomSettings.ini file using notepad

    - Add the following text to the end of the file: EventService=http://<server>:9800

    clip_image013

    - Update your Distribution Point to ensure the Settings Package is updated.

    NOTE: If you want to confirm your DP has been updated you can follow the steps outlined in one of my previous blogs – ConfigMgr 2012 Content Library Overview

    Step 7 – Deploy your MDT Client OSD Task Sequence

    clip_image015

    Step 8: Monitor your ConfigMgr 2012 SP1 OSD deployment through MDT 2012 Monitoring.

    - Open the MDT 2012 Update 1 Management Console

    - Expand your MDT Deployment Share

    - Select the Monitoring Node

    - Select the build you want to monitor and select Properties

    Note: You will not see your deployment appear until after the first “GATHER” has run during the Task Sequence.

    clip_image017

    clip_image019

    That’s all that needs to be done to start monitoring your ConfigMgr 2012 SP1 OSD Deployments using MDT 2012 Update 1 Monitoring.

    In the next section I will show you how to take monitoring further by using DaRT 8…

    Section 2 – Creating a DaRT8 Embedded Boot Image

    You will need to have integrated MDT 2012 Update 1 with your ConfigMgr 2012 SP1 environment and have a MDT 2012 Deployment Share configured before proceeding.

    Note: After Integrating MDT 2012 Update 1 with your ConfigMgr 2012 SP1 environment you will have the option to create a new MDT Boot Image directly out of the ConfigMgr UI Management console. However you will not have the option to select DaRT 8. The following steps will be required to make this option available.

    clip_image021

    The image above is what options you have out of the box when creating a custom MDT Boot Image in ConfigMgr 2012 SP1.

    NOTE that DaRT 8 is not an available option.. YET!!

    Step 1: Install DaRT 8 on your Server

    clip_image023

    This is only available for DaRT 8

    clip_image025

    - Complete the DaRT 8 Installation wizard

    Step 2: Prepare MDT 2012 Update 1 for DaRT 8

    - Using File Explorer, navigate to the C:\Program Files\Microsoft DaRT 8\v8 folder.

    - Copy the Toolsx86.cab file to C:\Program Files\Microsoft Deployment Toolkit\Templates\Distribution\Tools\x86

    - Copy the Toolsx64.cab file to C:\Program Files\Microsoft Deployment Toolkit\Templates\Distribution\Tools\x64

    clip_image027

    Step 3: Create a New ConfigMgr 2012 MDT Boot Image

    - Open the ConfigMgr 2012 Management Console

    - Select Software Library \ Operating Systems \ Boot Images

    - Right Click Boot Images and select “New MDT Boot Image”

    clip_image029

    - Complete the wizard

    - You will now notice we have a DaRT 8 option..

    clip_image031

    clip_image033

    Step 5: Configure your MDT Client Task Sequence to use your DaRT Boot Image

    clip_image034

    Step 7: Deploy your MDT Client Task Sequence using your DaRT 8 Boot Image

    clip_image036

    Step 8: Open MDT Monitoring and connect to your machine using DaRT Remote Connect

    - As we have deployed with a DaRT 8 embedded Boot Image we now have the option to connect to your client machine using DaRT Remote Control

    clip_image038

    You can now view your deployment status for any machine from start to finish even while it is in WinPE..

    clip_image040

    I hope you have found this information useful and will consider the benefits of integrating MDT 2012 Update 1 into your ConfigMgr 2012 SP1 environment, even if it is just for the monitoring components.

    Until next time…

  • Version and Build numbers for ConfigMgr 2012 RTM and SP1

    If you need to distinguish whether or not a site has been upgraded to ConfigMgr 2012 SP1, here is the process and version numbers.

     

    1. Open the ConfigMgr console

    2. Browse to Administration > Site Configuration > Sites

    3. Right-click on the site you need information for, and select Properties

    4. You’ll find the site version and build number here

    ConfigMgr 2012 RTM

    Version:  5.00.7711.0000
    Build number: 7711

    image

     

    ConfigMgr 2012 SP1

    Version:  5.00.7804.1000
    Build number:  7804

    clip_image002

    Matt Shadbolt

  • ConfigMgr 2012 SP1 hits GA!

     

    The long awaited System Center 2012 Configuration Manager SP1 has officially hit General Availability!

    http://blogs.technet.com/b/systemcenter/archive/2013/01/15/system-center-2012-sp1-is-generally-available.aspx


    Travis Wright MSFT

    This morning we announced the general availability of System Center 2012 SP1!  While the RTM bits have been available for a few weeks already to TechNet/MSDN subscribers and volume licensing customers, today marks the broad availability of System Center 2012 SP1 to all customers.

    The System Center 2012 SP1 release is chock full of new features to light up the new functionality found in Windows Server 2012.  The combination of System Center 2012 SP1 with Windows Server 2012 provides the foundation of what we call the ‘Cloud OS’.


     

    We’ll be doing our very best to get some SP1 related posts up and going (we’re very busy guys), however here are some good places to start.

     

    Official announcement

    What’s new in SP1

    ConfigMgrDogs SP1 Articles

     

    Matt