SCCM Secondary site is still visible in Central site after decommission
Hi All,
Require your advise ...
Recently I have decommissioned 4 of our secondary site from Primary site. But one of the secondary site is still showing up in Central Site Configuration Managaer console.
Brief Details:
Our environment: SCCM 2007 SP1 R3
Steps followed to decommission:
1. Moved the boundaries from Secondary Site to Primary Site
2. Deinstalled Secondary site
3. Removed the Address entry of Secondary Site from Primary site
4. Run the command PREINST.EXE /DELSITE <Secondary Site Code> <Primary Site Code> (To delete the site code from Primary Site)
5. Run the command PREINST.EXE /DELSITE <Secondary SIte Code> <Central Site Code> (To delete the site code from Central Site)
6. Run the command PREINST.EXE /DELJOB (Run this command on both Primary and Central Site to remove pending jobs)
After all these stpes 3 secondary servers are gone from Primary Site and Central Site console.
But the problem is now that, 1 Secondary Site Server entry has gone from Primary Site console but still visible in Central Site Console.
I do not have any option to delete it from Central Site Console.
Kindly help in resolving this issue ASAP.
October 22nd, 2012 7:41am
Have you tried rerunning #5 for this secondary site?
Note that issues requiring assistance ASAP should be directed to CSS.Jason | http://blog.configmgrftw.com
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2012 9:44am
Yes i have tried that step again.
it did not resolved the issue.
October 22nd, 2012 9:47am
Rerun preinst.exe /delsite <removed child site code> <parent site code>
Run the following queries in SQL and look for old Site references in the output of the queries.
Run these Queries and check output:
Select * from SysResList
Select * from SiteControl
Select * from SiteControlNotification
Select * from Sites
Select * from Sites_Data
Select * from pkgservers
Select * from pkgstatus
If you find any data releated to that site you can Run this query to delete the reference to the old site
Delete from Sites_Data where siteCode=XXX
Note: Alteration in SQL is not supported by MS and its not adviseable. Please be careful while doing it.Jho | " Please remember to mark as helpful/answer if this helped you"
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2012 10:00am
I've seen this situation many times.
Normally, running the following command at the CENTAL site should do the trick.
PREINST.EXE /DELSITE <Secondary SIte Code> <PRIMARY Site Code>
Be sure you are running this command as a user with full admin rights in SCCM. If not, you will get a misleading error message something like "secondary site not found".
Nick.
October 22nd, 2012 7:24pm
Thanks ...
I have already followed the step to run this command on Central. That is Step #5.
But I am able to resolve this issue now.
Thank you all...
Free Windows Admin Tool Kit Click here and download it now
October 23rd, 2012 9:03am
What was the solution?
Nick.
October 23rd, 2012 11:33am
I have used PSTools from Sysinternals. This will elevate the permission and we can run the step 5 again and this resolved the issue.
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2012 10:26am