This post is continuation of my previous post “How to : Change Parent Site of a Primary Server and Simplify Hierarchy”. Moving a primary site in SCCM hierarchy involves two phases . First one is to detach the Primary server from the Hierarchy and wait until all the objects are unlocked. The second phase is to attach the primary server back to hierarchy but to a different parent site (central site).
I’ve 3 tier hierarchy which consist of 3 primary servers. I want to detach “PR3 Tier 3” server from “PR2 Tier 2” and attach “PR3 Tier 3” server to Central Tier 1 sever.
In Part 1, I’ve already detached PR3 site from PR2 site. In this post, I’ll go through the steps which we need to follow to attach primary server (PR3) back to CEN site (central site in the hierarchy).
Note : During this analysis (in each phase), I’ve tested the client (which is assigned to affected site PR3) functionality. Everything was working fine and even advertisement created at PR2 – Tier2 site was also working fine.
Attach Primary server back to hierarchy
I’ve already detached PR3 and all the objects are un-locked. Need to perform following steps to make sure that PR3 site is successfully attached to CEN (central) site.
1. Add the system account of Central server (CEN) and Primary server (PR1) to respective local groups (“Administrators” and “SMS_SiteToSiteConnection_CEN”).
2. Now, I need to create the “Standard Sender Addresses” for CEN and PR3 on “PR3 – Tier3” and “CEN – Tier1” sites respectively.
- Connect to PR3 site and create CEN site Standard Sender Address
- Connect to CEN site and create PR3 site Standard Sender Address
3. To attach PR3 site (previously this was a Tier 3 Primary server more details at Part 1) back to hierarchy, open up the “PR3 – Tier3 site” properties –> Click on “Set Parent Site” –> Select “Report to parent site” :: “CEN” –> Click “OK”.
Attachment is completed. Very easy right? Yes !
4. Check “Hman.log” at “PR3 – Tier2” and “CEN – Tier1” servers for verification.
Attaching site PR3 to site CEN
Creating a new CT6 file to send to the Parent Site
Hman.log at “CEN – Tier 1” server
Update the Sites table: Site=PR2 Parent=CEN
Successfully forwarded CT7 file to child site PR3.
Also, you can notice that Sitectrl file has been modified according to add back the parent site information back.Checkout “BEGIN_SITE_DEFINISION” section.
5. Lets the site process all the “.SHA” file/s. There could be separate “.SHA” files for each components. However, I’ve noticed SHA file process for the components like Collection Evaluator and SMS Object replication manager. You can verify the respective log files to review status.
Resetting update flags for collection SMSDM005
**********~Processing file PR3.SHA
Deleted site attachment file E:\Program Files (x86)\Microsoft Configuration Manager\inboxes\COLLEVAL.box\PR3.SHA
This process would take time depending up on the objects (collection, packages, Adverts, Software Update and Operating system Objects etc..) in your environment. As this process will change the settings of all these objects and apply the lock symbol back on those objects.
6. Make sure that all the objects from “CEN – Tier1” site have been replicated down to “PR3” site server and those replicated objects are locked. Have a look at following picture for more details.
Note: the objects replicated from Tier 2 won’t get locked again. Those objects would stay un locked.
7. Verify the central server (CEN – Tier 1 Site). You would be able to see PR2 and PR3 sites under CEN Tier1 site. Hence, we’ve eliminated Tier 3 level in this hierarchy.