Confirming the setup of DB2 MPP and non-MPP installations
On the host where the shared file system is mounted, check whether you can start and stop each instance. Do this procedure to verify the DB2 installation.
To check if a DB2 instance can start and stop
Log on as the instance owner:
# su - db2inst1
Attempt to start the instance:
DB2 should start on the partitions in the db2nodes.cfg file. If DB2 does not start, check the error codes.
Assuming that the previous command is successful, stop the instance:
If the application does not stop correctly on each node, check for configuration errors. Review the DB2 UDB documentation for error codes.
Create a database.
$ db2 create database dbname
List the database directory
$ db2 list database directory
To check the rest of the DB2 configuration in the cluster
For each node in the VCS cluster, import the disk group and start all the volumes in the disk group.
Mount the file system for the volume that contains the DB2 instance and database.
Unmount and deport the disk group.
Repeat this procedure for each node in the cluster.