Before you perform an upgrade to vCenter Server on a 64-bit machine, you can optionally detach the VirtualCenter or vCenter Server database on the source machine, copy the files to the destination machine, and attach the database on the destination machine. This detach-and-attach action is an alternative to the backup and restore operation.

Consult your database administrator or see your database documentation about detaching and attaching databases.

The machine with the VirtualCenter 2.5 Update 6 or vCenter Server 4.x database is called the source machine. The machine on which the vCenter Server 5.0 database will reside is called the destination machine.

Make a full backup of the database.

Verify that you have a VirtualCenter 2.5 Update 6 or vCenter Server 4.x system running with a local or remote Microsoft SQL Server database.

Verify that Microsoft SQL Server and Microsoft SQL Server Management Studio are installed on the source machine and the destination machine.

1

On the source machine, stop the VirtualCenter service.

a

Select Start > Control Panel > Administrative Tools > Services.

b

Right-click VMware VirtualCenter Server and select Stop.

The Status changes from Started to blank.

2

In the SQL Server Management Studio, open the Databases directory.

3

Right-click the source database and select Tasks > Detach.

4

Select the database and click OK.

5

When the detach operation is complete, copy the data files (.mdf and .ldf) to the destination machine's database folder.

By default, the database folder is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.

6

In SQL Server Management Studio on the destination machine, right-click the Databases directory and select Attach.

7

Select the .mdf file that you copied to the destination machine's database folder and click OK.

The database from the source machine is attached to the destination machine.