o2cb(8) | OCFS2 Manual Pages | o2cb(8) |
o2cb - Cluster registration utility for the O2CB cluster stack.
o2cb [--config-file=path] [-h|--help] [-v|--verbose] [-V|--version] COMMAND [ARGS]
o2cb(8) is used to add, remove and list the information in the O2CB cluster configuration file. This utility is also used to register and unregister the cluster, as well as start and stop global heartbeat.
The default location of the configuration file, /etc/ocfs2/cluster.conf, can be overridden using the --config-file option.
To create a cluster, mycluster having two nodes, node1 and node2, do:
$ o2cb add-cluster mycluster $ o2cb add-node mycluster node1 --ip 10.10.10.1 $ o2cb add-node mycluster node2 --ip 10.10.10.2
To specify a global heartbeat device, /dev/sda1, do:
$ o2cb add-heartbeat mycluster /dev/sda1
To enable global heartbeat, do:
$ o2cb heartbeat-mode mycluster global
Oracle Corporation
Copyright © 2010, 2012 Oracle. All rights reserved.
January 2012 | Version 1.8.7 |