You can configure a DB2 database for vCenter Server locally on the same Microsoft Windows machine as vCenter Server.


The vCenter Server installer should generate and validate the JDBC URL for the vCenter Server database. However, if you use a local, or indirect, DB2 database, the DB2 analyzer is not able to construct the JDBC URL. You can add the JDBC URL manually. See JDBC URL Formats for the vCenter Server and vCenter Single Sign-On Databases.

Configure a user and group for the database.

Add the database instance registry variables.

Add the client instance registry variable.

Create the database with the required buffer pools, table spaces, and privileges.


On the Microsoft Windows machine that will host vCenter Server, click Start > Run to open the Microsoft ODBC Administrator utility.


Type odbcad32.exe.


On the System DSN tab, click Add.


Select the driver that corresponds to your database (for example, IBM DB2 ODBC Driver - VCDB2Add) and click Finish.


Enter a name for the DSN (for example, VCDB2), and select your database from the menu.


Select the DSN and click Configure to verify that the database connection works.


Type the database user name (for example, vcx) and password.


Click Connect.

The DB2 database is configured.

Optionally, you can enable Database Monitoring for DB2 database users. Otherwise, install vCenter Server. When the vCenter Server installer prompts you for a DSN, point to the DSN that you created in this procedure.