SCCM 2007 - Possible Corrupt DB After VM Crash - How Easy Would Migration to New VM Be?

Posted on 2010-11-18
Last Modified: 2013-11-21
Hello All -

Our company's SCCM 2007 server was set up a couple of months ago by a 3rd party.  This 3rd party installed SCCM onto an empty Windows 2008 R2 server, then added a few collections.  

There was a mistake, though.  The server that they installed it on was the wrong one.  The hardware used was supposed to be our new VM ESX server.  Therefore, I did a P2V comversion of the SCCM server to a new VM and it seems to work perfectly.

Long story short, our ESX server which hosted the new VM took a dive due to hardware being incompatible.  After working a while with VMWare, I had no choice but to restore the SCCM VM from the P2V backup which I had created 2 weeks earlier.  Since that backup, I had already installed clients, but not really used the SCCM server yet.  We have yet to deploy software (other than the SCCM client) or use it in production.

I did my best to bring the backup back up to speed, but it still seems to act quirky sometimes.  I can't shake the feeling that the DB may be corrupted because of all that's happened.

With that in mind, I wanted to post and see how difficult it would be to reinstall SCCM onto a brand new VM.  In the current installation, I located and backed up the Site Settings to a file, but don't know what the easiest and safest path is to do this, if it even should be done, or if I'm getting myself into a huge project.  Also, what about the client installations?  If after the migration, I rename the new VM with the same hostname will they just jump on over without pause?

Here are some stats from our current SCCM server:
- Collections (about 20) were set up by the 3rd party
- Clients have been pushed via GPO for remote sites and WMI for local ones
- No software has been set up to be distributed
- There are 4 other dist points with just a couple of roles each assigned.
- WSUS has been installed on the server and populated in SCCM, but is not currently managing current workstations nor packages been created

The Site Status is green across the board, but after installing some clients via WMI, I refreshed the "ALL Systems" collection which applied a small hourglass to the icon.  3 Days later, it's still there no matter what I do.

I guess one of the first questions is do I create a new VM, add it as a chile, then transfer roles to it or just start with a fresh one and restore from export?  Remember - one of the main reasons is that the database may be corrupt so I don't want to risk moving the corruption over.

Question by:BzowK
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

fr0nk earned 500 total points
ID: 34209001
the easiest and (at the same time) safest way to solve your problem is:

1. configure the: "Backup ConfigMgr Site Server" Task in "Site Maintenance".
Put the Backup anywhere you want. It doesn't matter. Easiest way is: Local Drive on Site Server.
Don't even bother with schedule settings, just click OK.
This triggers the task manually (therefore: don't worry about schedule settings! ;-)

Copy the destination of the backup to a safe place.

2. Document the following things:
Installation location of SCCM
Location of your DPs (it's a share name called SMSPKG[driveletter-on-which-the-DP-resides]. Backup This!
Location of your SMSSIG-Folder (usually C:\ as long as you didn't configure the "Software distribution" settings (Drive letter). Backup This!
SMS_[Your_Sitecode] DB Name and instance (The DB is already included in the backup!)
Servername and FQDN
Every Site System with its settings (Distribution Point, Management Point, etc...)

3. Do the following things:
Take away the network connectivity from the SCCM Server
Install a NEW SCCM Server on a NEW Machine using the SAME site code
Install the previously installed roles with the same settings you documented
Start the ConfigMgr Site Repair Wizard
Restore the site including the DB
Copy the SMSPKG and SMSSIG folders back

net stop sms_site_component_manager && net stop sms_executive && net start sms_site_component_manager

Open in new window

=> When everything's correct, this will also start the SMS_EXECUTIVE-Service.

Hope That helps :-)

Expert Comment

ID: 34336011
I forgot to say: Ensure the new machine has full access permissions on the "System Management" Container in AD (if you extended your schema)

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question