Installing a secondary site in Configuration Manager 2012

Overview:

In this post, I'm going to go through the process of installing a secondary site in a Configuration Manager 2012 SP1 site.

My Environment:
  • CM12.CONTOSO.LOCAL = CM Primary Site Server (Sitecode is PRI)
  • CM12DEN.CONTOSO.LOCAL = This will be the new Secondary Site Server (Sitecode will be DEN)
  • AD Security Group Names All CM Servers = This is a security group that contains the computer accounts of my two ConfigMgr Servers. I use group policy preferences to put this group in the local administrators group on my ConfigMgr Servers. You can manually add the Computer account as a local admin if needed (We will go over this later in this post).
Prerequisites To Install Secondary Site:

Roles / Role Services Required for Secondary Site:

  • Web Server (IIS)
    • Application Development:
      • ISAPI Extensions
    • Security:
      • Windows Authentication
    • IIS 6 Management Compatibility
      • IIS 6 Metabase Compatibility
      • IIS 6 WMI Compatibility

Features Required for Secondary Site:

  • Remote Differential Compression
  • BITS
  • .NET Framework 3.5
  • .NET Framework 4

The following ports will need to be opened between the site server and remote secondary site server

  • TCP: 4022 (SQL), 1433 (SQL), 135 (RPC/WMI), 445 (SMB)

Give the Secondary Site Server Computer Account Permissions to the System Management container in AD.

My Thoughts On Secondary Sites:

If you are doing this in a lab for testing then ignore this part. In many cases a Distribution Point can suffice rather than installing a Secondary site. When using a Remote DP rather than a Secondary Site it reduces the complexity of the site. I would highly recommend starting with a DP before installing a Secondary Site and monitoring the link. Here's a few scenarios where it may make more sense to install a Secondary Site rather than a DP:

  • Large amount of clients (e.g. 500 - 1,000 +) in remote location
  • Very slow connection to a remote site
    • Need to control the upward flow of data from clients (e.g. Machine Policy, Software Inventory, Hardware Inventory) these actions don't use that much bandwidth

Here is a Forum Post on choosing between a Secondary Site and Remote Distribution Point that may help you

Performing The Secondary Site Install:

The first thing I did was install the required Roles & Features as mentioned above on CM12DEN server.

Install the Web Server (IIS) Role from Server Manager. You can uncheck the "Include management tools (if applicable)" box if you receive it.

1

Add the BITS feature on the next dialog. Go ahead and click the Add Features button this will ensure the required IIS role services are installed to support BITS:

2

Add the Remote Differential Compression Feature and .NET Framework 3.5 and 4 if it's not already Installed:

3

4

On the Role Services page for Web Server (IIS), Verify the required Role Services are Checked. In my case, I only had to check Windows Authentication and IIS 6 WMI Compatibility because BITS automatically had the others checked.

5

On the Confirmation page I checked "Restart the destination server automatically if required" then clicked Install.

Now that we have the required Roles and Features installed, we will need to make sure the computer account of the Primary Site Server has local administrative permissions on the server that's going to host our Secondary site. The reason the computer account of the Primary Site needs to be local administrator is because this account is used to initiate the installation of SQL Express and the ConfigMgr Site Components.

I used group Policy Preferences to add a Security Group that contained my Primary Site servers computer account to the local administrators group on my secondary site server. You could manually click add and select your Primary Site servers computer account though:

6

You will also need to give the Secondary Site Server computer account full control of the System Management container. This will allow the Secondary Site Server to publish information about itself to AD you can use "AD Users and Computers" in the advanced view or ADSI Edit (This is what I used). Make sure you choose the Advanced on the Permission Dialog and choose "This Object And All Descending Objects".

7

Now that the Prerequisites are done, we can start the "Create Secondary Site Wizard".

8

Enter the General Information about your Secondary Site:

9

I left the Default "Copy installation source files over the network from the parent site" for the "Installation Source Files".

I don't have SQL Server Enterprise/Standard on the Secondary Server (These cost money). Configuration Manager secondary sites can use SQL Server Express Edition which is free so I'm going to use this option. Notice you will need to allow ports 1433 and 4022 through the Firewall.

10

In my demo, I'm going to be using HTTP. If your using HTTPS you should request your certificates and edit the binding in IIS prior to completing this wizard!

11

I left the default on the remaining settings. You will want to create a Boundary and assign it to a Boundary Group for your secondary site though to ensure clients receive content from the appropriate DP.

Monitoring The Secondary Site Install:

The install can take a little time depending on the Computer Hardware and connectivity to the Primary Site Server. Here are some ways you can monitor the Installation.

13

The "Show Install Status" will give you a very nice overview of the installation status:

14

The Prerequisite log (ConfigMgrPrereq.log) can be found on the Primary Site Server at the root of the drive:

15

Once the Prerequisites have been complete and passed, you see view the Sender.log on the Primary site server. This log will show the process of copying the installation binaries from the Primary Site Server to the Secondary Site Server.

16

Once the installation binaries have been copied from the Primary Site to the Root drive of the Secondary Site Server, the actual install will begin. The installation will create a log file (ConfigMgrSetup.log) on the root of the secondary site server:

17

Verify the Install was Successful!

18

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of any included script samples are subject to the terms specified in the Terms of Use