Starts and stops the ocfs2 heartbeat on a given device.
ocfs2_hb_ctl -S -d device service
ocfs2_hb_ctl -S -u uuid service
ocfs2_hb_ctl -K -d device service
ocfs2_hb_ctl -K -u uuid service
ocfs2_hb_ctl -I -d device
ocfs2_hb_ctl -I -u uuid
ocfs2_hb_ctl -P -d device [-n io_priority]
ocfs2_hb_ctl -P -u uuid [-n io_priority]
ocfs2_hb_ctl -h
ocfs2_hb_ctl starts and stops the heartbeat on a OCFS2 device. Users are strongly urged not to use this tool directly. It is automatically invoked by mount.ocfs2 and other tools that require heartbeat notifications.
The tools accepts devices to be specified by its name or its uuid. Service denotes the application that is requesting the heartbeat notification.
-S
Starts the heartbeat.
-K
Stops the heartbeat.
-I
Prints the heartbeat reference counts for that heartbeat region.
-d
Specify region by device name.
-u
Specify region by device uuid.
-n
Adjust IO priority for the heartbeat thread. This option calls the ionice tool to set its IO scheduling class to realtime with scheduling class data as provided. This option is usable only with the O2CB cluster stack.
-h
Displays help and exit.
Oracle Corporation
Copyright © 2004, 2010 Oracle. All rights reserved.