Advertisements
Latest Posts

Removal of Secondary Site from SCCM 2007 Primary Site Server


There are two ways to remove a Secondary site from SCCM 2007 Primary Site

  • Remove a Secondary site from SCCM 2007 Console
  • Remove a Secondary site using Configuration Setup

Here i have included the steps  to remove secondary site from SCCM 2007 Console.

Login into the Primary site server and open the SCCM Console. Right click on the Secondary site that you want to remove and Click Delete.

2015-06-19_12-37-35

Click Next.

2

 

Select Deinstall the site and click Next.

As mentioned in the below,

Delete the Site

  • It will delete all information about secondary site from Primary but it does not uninstall the secondary site installation at the secondary server.
  • If you reinstall Secondary site again on the same server. you will come up with an issue that Secondary site is already installed on this server. So you would need to manually uninstall Secondary Site using Configuration Setup at the Secondary Site Server.C:\Program Files\Microsoft Configuration Manager\bin\X64\SETUP /DEINSTALL from an elevated command prompt. Once uninstallation is completed, you can reinstall Secondary Site again on the same server.
  • Use Delete the Site  option if you manually removed Secondary site using Configuration Setup at the Secondary site server.

Deinstall the site

  • This will delete all information about secondary site from the Parent site and database.

3

Secondary Site uninstallation is completed and Click Finish.

4

Now you need to delete Secondary site Sender Address attached to the Primary site in the SCCM Console.

If you don’t remove sender Address, Primary site server will unnecessarily try to send the data to Secondary site server that we removed and it will generate an error message in the Sender.log and SMS_LAN_SENDER component.

8

 

Track the uninstallation Progress

You can track the uninstallation in the ConfigMgrSetup.log file (C:\) located at the Secondary  Sire server and Also in the hman.log at the Primary site server.

5

hman.log

6

Run the below SQL query on the Primary site server database to verify all entries are cleaned up in the database.

SELECT * FROM SysResList WHERE SiteCode = ‘XXX’
SELECT * FROM SiteBoundaryADSite WHERE SiteCode = ‘XXX’
SELECT * FROM SiteBoundaryIPSubnet WHERE SiteCode = ‘XXX’
SELECT * FROM SiteControl WHERE SiteCode = ‘XXX’
SELECT * FROM SiteControlNotification WHERE SiteCode = ‘XXX’
SELECT * FROM Sites WHERE SiteCode = ‘XXX’
SELECT * FROM Sites_DATA WHERE SiteCode = ‘XXX’
SELECT * FROM SiteWork WHERE SiteCode = ‘XXX’
SELECT * FROM PkgServers WHERE sitecode = ‘XXX’
SELECT * FROM PkgStatus WHERE sitecode = ‘XXX’

7

If you are facing the issue while removing Secondary site Server, Please refer the below links to force remove the Secondary site and troubleshoot the issue.

http://serverfault.com/questions/305029/is-there-a-way-to-force-remove-an-sccm-2007-site-server

https://technet.microsoft.com/en-us/library/bb693624.aspx

https://technet.microsoft.com/en-us/library/bb693796.aspx

https://technet.microsoft.com/en-us/library/bb680827.aspx

http://blogs.technet.com/b/configurationmgr/archive/2010/12/08/reinstall-of-a-system-center-configuration-manager-2007-secondary-site-fails-when-attempted-via-the-primary-site-console.aspx

Advertisements

1 Comment on Removal of Secondary Site from SCCM 2007 Primary Site Server

  1. Hi,
    Is it the same cleanup commands for SCCM 2012 via sql db or any further commands to be included. I’m doing secondary sccm 2012 decomission. Please advise

    Like

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