VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
4 Replies Last post: May 2, 2009 4:57 PM by mnasir  

Migrate vCenter database from SQL 2000-SP4 ent to SQL 2005-SP3 ent posted: Mar 30, 2009 7:46 PM

Click to view mnasir's profile Hot Shot 142 posts since
Jan 31, 2007
Has anyone done this smoothly?
Click to view capablanca's profile Novice 17 posts since
Feb 7, 2009

Yeah, this should not be a problem.

You didn't say if you were upgrading or installing anew but either way..

Backup the 2000 DB

If upgrading, or installing on the same PC, then shutdown the VC service and any other service that may write to the DB

If installing in a new location you do not need to shutdown the services

Upgrade or install to SQL 2005 and import the VC DB

Create the vcuser account with SQL2005 and give it ownership of the VCDB and the Master DB (you need the master DB for the last step)

Shutdown the VC service (and other vmware services that use the DB)

If the DB is installed in a new location alter the ODBC on the VC, otherwise it should be still good

Run a repair install of VC (you may have to do this also for update manager)

Test. You may need to disconnect and reconnect the ESX hosts

If you run into any problems you have the backup to fall back on and if you installed in a new location all you need to do is change back the ODBC to use the original DB

Its all pretty logical, If I put a step in the wrong place there you should at least be able to following the thinking behind each step. This has worked smoothly for me.


Click to view capablanca's profile Novice 17 posts since
Feb 7, 2009

It is a pretty straightfoward job. You don't make clear in your original post what you are doing so my last email covered a number of angles.

If you are just upgrading the DB on the server you will have to do nothing else except maybe a repair / install of VC but I don't think that is even necessary.

Of course, stop the VC and update manager service during the upgrade.

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities