This post is a continuation of my previous post “How to : Change Parent Site of a Primary Server and Simplify Hierarchy”. Moving a primary site in the SCCM hierarchy involves two phases.
The 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 the hierarchy but to a different parent site (central site).
How to Change SCCM Parent Site of SCCM Primary Server Simplify Hierarchy Part 2 ConfigMgr
I’ve 3 tier hierarchy which consists of 3 primary servers. I want to detach the “PR3 Tier 3” server from the “PR2 Tier 2” and attach the “PR3 Tier 3” server to Central Tier 1 sever.
In Part 1, I’ve already detached the PR3 site from the PR2 site. In this post, I’ll go through the steps which we need to follow to attach the primary server (PR3) back to the 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 the 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 the following steps to make sure that PR3 site is successfully attached to CEN (central) site.
1. Add the system account of the 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 the 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 the Sitectrl file has been modified according to add back the parent site information back. Check out the “BEGIN_SITE_DEFINISION” section.
5. Let the site process all the “.SHA” file/s. There could be separate “.SHA” files for each component. However, I’ve noticed the SHA file process for the components like Collection Evaluator and SMS Object replication manager. You can verify the respective log files to review the 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 upon the objects (collection, packages, Adverts, Software Update and Operating system Objects, etc..) in your environment. 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 the “CEN – Tier1” site have been replicated down to the “PR3” site server and those replicated objects are locked. Have a look at the following picture for more details.
Note: the objects replicated from Tier 2 won’t get locked again. Those objects would stay unlocked.
7. Verify the central server (CEN – Tier 1 Site). You would be able to see PR2 and PR3 sites under the CEN Tier1 site. Hence, we’ve eliminated Tier 3 level in this hierarchy.
Anoop is Microsoft MVP! He is a Solution Architect in enterprise client management with more than 20 years of experience (calculation done in 2021) in IT. He is a blogger, Speaker, and Local User Group HTMD Community leader. His main focus is on Device Management technologies like SCCM 2012, Current Branch, and Intune. E writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc…