You can configure a DB2 database for vCenter Server remotely on a network-connected Microsoft Windows, Linux, or UNIX host.

Before you configure the database to work remotely, perform the following tasks:

Download the IBM Data Server Driver for ODBC and CLI at http://www-01.ibm.com/software/data/db2/express/.

On the remote machine, configure a database user and group.

On the remote machine, create the database with the required buffer pools, table spaces, and privileges.

On the remote machine, add the database instance registry variables.

On the machine where vCenter Server will be installed, add the client instance registry variable.

On the machine where vCenter Server will be installed, make sure that the IBM Data Server Runtime Client is installed.

On the machine where vCenter Server will be installed, catalog the server node and the database.

a

In the command window, run the following command: db2 catalog tcpip node <NAME> remote <DB Server HOST NAME or IP Address> server <Port number used>

b

In the command window, run the following command: db2 catalog db <DBNAME> at node <NAME> authentication SERVER

1

On the Microsoft Windows machine that will host vCenter Server, open the Microsoft ODBC Administrator utility by selecting Start > Run and entering odbcad32.exe.

2

On the System DSN tab, click Add.

3

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

4

Enter a name for the DSN (for example, VCDB2_remote) and click Add.

5

On the TCP/IP tab of the CLI/ODBC settings dialog box, configure the database values.

Database name: The default value is vcdb.

Database alias: The database alias can be the same as the database name.

Host name: Enter the fully qualified domain name or IP address of your data server.

Port number: To determine the correct port number, look up the dbm cfg SVCENAME parameter and its associated port number in the file C:\Microsoft Windows\system32\drivers\etc\services on Windows, or in the/etc/servicesfile on UNIX and Linux.

You have completed the DB2 database configuration.

You can now install vCenter Server. When the vCenter Server installer prompts you for a DSN, point to the DSN that you created in this procedure.