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

Note

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.

1

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

2

Type odbcad32.exe.

3

On the System DSN tab, click Add.

4

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

5

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

6

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

7

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

8

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.