Upgrading Your vCenter from 32-bit to 64-bit

Migrating Your vCenter Database to a New Host: A Step-by-Step Guide

As you may already know, vCenter Server 4.1 requires a 64-bit host for installation, which means that if you’re currently running vCenter 4.0 or earlier on a 32-bit host, you’ll need to migrate your existing database to a new host before upgrading to vCenter 4.1. Fortunately, VMware provides a data migration tool to help automate this process and minimize the risk of manual errors.

In this blog post, we’ll explore the different methods for migrating your vCenter database, with a focus on the data migration tool provided by VMware. We’ll also touch on an important consideration when using vMware Update Manager (VUM) with the new vCenter 4.1 installation.

Migrating Your vCenter Database: Methods and Considerations

There are several methods for migrating your vCenter database, including:

1. Backing up your existing database, restoring it on a new host, and pointing the new vCenter 4.1 installation to the existing database for upgrade.

2. Using the data migration tool provided by VMware to automate the process.

3. Performing a fresh install of vCenter 4.1 on the new host and configuring it from scratch.

While all three methods are viable, the second method using the data migration tool is the most straightforward and recommended approach. The tool provides a two-step process that backs up your existing vCenter SQL Server Express database and dumps it to a predefined local folder. You can then copy the entire migration tool folder to the new host and run the second part of the tool to install vCenter 4.1 and import the old database.

The Data Migration Tool: A Step-by-Step Guide

To use the data migration tool, follow these steps:

Step 1: Backup your existing vCenter SQL Server Express database by running the following command in the command prompt or PowerShell:

“`sql

vcenter_migration.cmd -backup

“`

This will create a backup of your existing database in the specified local folder.

Step 2: Copy the entire migration tool folder to the new host and run the second part of the tool to install vCenter 4.1 and import the old database. To do this, simply run the following command in the command prompt or PowerShell:

“`sql

vcenter_migration.cmd -import

“`

This will start the installation of vCenter 4.1 on the new host and import the backed-up database.

Important Consideration: VMware Update Manager (VUM)

When using vMware Update Manager (VUM) with the new vCenter 4.1 installation, you’ll need to manually create a 32-bit DSN to the database. This is not mentioned in the vSphere Upgrade Guide but is mentioned in the VUM Installation and Administration Guide.

To create the DSN, follow these steps:

1. Open the ODBC Data Sources (ODBCADM.EXE) tool on the new host.

2. Right-click on “System” and select “New System DSN…”

3. Select “Microsoft SQL Server” as the provider and enter the necessary details for your vCenter database, such as the server name, instance name, and authentication information.

4. Click “Finish” to create the DSN.

Conclusion

Migrating your vCenter database to a new host can seem like a daunting task, but with the help of VMware’s data migration tool, the process is relatively straightforward. While there are some important considerations to keep in mind, such as manually creating a 32-bit DSN for VUM, the tool does an excellent job of automating the process and minimizing the risk of manual errors. So go ahead and give it a try – your vCenter environment will thank you!