db2ckpcmk command

This command displays information regarding the Pacemaker cluster.

You can display information regarding Pacemaker using the db2ckpcmk command.

This command can be found in the <DB2DIR>/install/pcmk directory (where <DB2DIR> represents the location where the Db2® copy is installed) or <MEDIA_DIR>/db2/platform/pcmk.

Command syntax

Read syntax diagramSkip visual syntax diagramdb2ckpcmk -d -llogFile -vinstall | media -c -h -?

Command parameters

-d
Turns debug mode on.
-l logFile
Writes the log to the file name specified.
-v install | media
Displays the Pacemaker version already installed, or the Pacemaker version on the installation media.
  • 0 - Success
  • 4 - Pacemaker is not installed on the system
  • 5 - Pacemaker is not on the media
-c
Displays either the online Pacemaker or the offline Pacemaker cluster domain (if it exists). The Pacemaker cluster domain information is indicated by a return code value:
  • 0 - No cluster domain
  • 6 - Online cluster domain
  • 7 - Cluster domain exists, but is not online
-h | -?
Displays the usage information.

Examples

To display the Pacemaker version level already installed on your system, use the following db2ckpcmk command:
db2ckpcmk -v install
To display the Pacemaker version level on the installation media, use the following db2ckpcmk command:
db2ckpcmk -v media
To display the status of a Pacemaker cluster domain, use the following db2ckpcmk command:
db2ckpcmk -c