vCenter 4 server migration

I have a vCenter 4 server on a machine
Server Hostname: "server1"
IP: ""
OS: windows 2003 SP1 STD
DB: SQL 2005 Express

I need to move the vCenter 4 server to another machine
Server Hostname: "server2"
IP: ""
OS: windows 2003 SP1 STD
DB: SQL 2005 Express

What is the best way?
I have been looking all over the net for a migration step-by-step, but none was help for my scenario.
Appreciate some help from you guys here.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

First you need to do is to backup your database on your existing vCenter 4 server. It's safe to stop all the vmware services first, then do a database backup.
Restore this database at the server2--> install vCenter server 4 on server2 --> using the restored database during your vCenter server installation wizard. You should be good to go.
Leave your server1 powered off for few days until you can verify everything is working before you decommission it.
Hope this helps.
silterraAuthor Commented:
bbnp2006: I did just that didn't work. Does the change of hostname and IP cause any complications to the transfer?
When you say it didn't work, can you be a bit more specific? any error message?
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

On your Virtual Center, did you grant user account grant  DBO access to the newly attached database?
Here's a detailed step I would do in your scenario:
    * Take backup of Server A sql database
    * Stop all VMware services on Server A
    * Detach Virtual Center database on Server A
    * Stop all VMware services on Server B
    * Delete the Virtual Center database on Server B (database was empty and was created for the installation of Virtual Center on the new server.
    * Copy the database files from Server A to Server B
    * Attach the database on Server B
    * On your Virtual Center user account(s) grant them DBO access to the newly attached database
    * Start the VMware services on Server B
    * Launch the VI Client form Server B
    * You will notice that after a few minutes the ESX hosts will show disconnected because they still think they are being managed by the old Virtual Center Server
    * Right-click and remove the ESX hosts from the cluster
    * Add the ESX hosts back to the cluster
    * Adding the ESX hosts back to the cluster does not put the VM's into any Resource Pools (Hosts and Clusters View) or Folders (VM and Templates View). Move VM's back to the correct Resource Pools and Folders
    * On each ESX host ensure that the licensing information looks correct
    * Test vMotion
    * Add templates back to inventory
    * Move SysPrep files from old Virtual Center Server to new Virtual Center Server
    * Test deploying VM from template.

And yes, you can do this during normal work hour since all VMs will not get affected, but your DRS and vMotion will not work until your new vCenter server comes online again.

Good luck.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
silterraAuthor Commented:
It worked perfectly ... thank you very much.
Glad it worked out for you Dan.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.