Controlling O2CB with the /etc/init.d/o2cb utility

The utility /etc/init.d/o2cb is used to manage the cluster services, also known as the O2CB stack.

To bring the cluster online, run the following command, where MyCluster is the name of the cluster:
/etc/init.d/o2cb online MyCluster
To stop O2CB, run the following command:
/etc/init.d/o2cb stop
To show the status of O2CB, run the following command:
/etc/init.d/o2cb status
The output of the status command is similar to this output:
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB clusterChecking O2CB cluster mycluster: Online MyCluster: Online
Checking O2CB heartbeat: Active

Note that the cluster in the example is online, which would not be possible if the other conditions were not either Loaded or Mounted.