IBM Books

Administration Guide


Install DB2 Universal Database Version 5.2 or Later (EEE)

Detailed installation information is found in DB2 Enterprise - Extended Edition for Windows NT Quick Beginnings.

You will require the first (1st) DB2 UDB Version 5.2 (EEE) FixPak to be able to use DB2 UDB Version 5.2 with a VI product. Later versions of DB2 UDB will not require this FixPak. If you are not sure of the level of the DB2 UDB product you have already installed, you should use the db2level command and record the information returned. If you contact DB2 Service and Support about VI, this information will be helpful to determine your installed DB2 level of code including any FixPaks.

This product must be installed in each of the partitions/nodes using the Virtual Interface Protocol. During the installation procedure, when prompted choose "This machine will be an instance owning node" on each of the partitions/nodes.

Update the hosts file with the IP address and host name for each of the partitions/nodes. The hosts file is found under "\winnt\system32\drivers\etc\" directory on the drive where the operating system was installed. The hosts file must be updated on each of the nodes.

Create the partitioned database (MPP) instance using the instance create utility. Choose one machine to act as the coordinator node. On this machine, open a DB2 Command Window and enter:

   db2icrt <instance_name> /mpp /u:<username>,<password>

This machine is then known as the coordinator node or the instance-owning machine. Node 0 is automatically created on this machine.

On the other partitions/nodes in the database, open a DB2 Command Window and enter:

   db2ncrt /n:<node_number> /u:<username>,<password>
              /i:<instance_name> /o:<instance_owner_name>

The node_number is used to uniquely identify the database partition server within the database environment. The number must be from 1 to 999. The instance_owner_name is the computer name of the instance-owning machine (coordinator node).

Testing the installation and create an index:

  1. Open a DB2 Command Window.

  2. Enter set DB2INSTANCE=<instance_name>

  3. Ensure the database manager starts on all nodes by entering: db2start

  4. Create a sample database by entering: db2sampl

  5. Connect to the sample database by entering: db2 connect to sample

  6. Try a few SELECT statements with the sample database.

When problems occur in this environment, you can take action based on the type of problem as presented below:

Implement DB2 to Run Using VI

On each database partition server in the instance, set the following DB2 registry variables and carry out the following tasks:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]