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, to verify that DB2 is properly installed.
To check if a DB2 instance can start and stop
-
Log in as the instance owner:
# su - db2inst1
-
Attempt to start the instance:
$ db2start
The application should start on the nodes specified in the db2nodes.cfg file.
-
Assuming the previous command is successful, stop the instance:
$ db2stop
-
If the application does not start successfully or stop correctly on each node, check for configuration errors. Review your DB2 UDB documentation, such as the DB2 Universal Database Quick Beginnings Guide.
-
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 containing the DB2 instance and database.
-
Perform the steps in the procedure above.
See To check if a DB2 instance can start and stop.
-
Unmount and deport the disk group.
-
Repeat this procedure for each node in the cluster.