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 or vCenter Server 4.0 database is called the source machine. The machine on which the vCenter Server 4.1 database will reside is called the destination machine.

Make a full backup of the database.

Verify that you have a VirtualCenter 2.5 or vCenter Server 4.0 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.


On the source machine, stop the VirtualCenter service.


Select Start > Control Panel > Administrative Tools > Services.


Right-click VMware VirtualCenter Server and select Stop.


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


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


Select the database and click OK.


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.


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


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.