diff --git a/doc/crm.8.adoc b/doc/crm.8.adoc index ba579dd99..8acf6a929 100644 --- a/doc/crm.8.adoc +++ b/doc/crm.8.adoc @@ -1,5 +1,5 @@ :man source: crm -:man version: 4.6.0 +:man version: 5.0.0 :man manual: crmsh documentation crm(8) @@ -2012,6 +2012,71 @@ Example: utilization xen1 set memory 4096 ............... +[[cmdhelp_sbd,SBD management]] +=== `sbd` - SBD management + +This level is for managing the SBD (STONITH Block Device) daemon. + +[[cmdhelp_sbd_configure,configure SBD]] +==== `configure` + +Configure the SBD daemon for both disk-based and disk-less mode. + +Main functionailities include: +- Show configured disk metadata +- Show contents of /etc/sysconfig/sbd +- Show SBD related cluster properties +- Newly setup SBD configuration on a running cluster +- Update the existing parameters +- Add more devices to the existing disk-based SBD configuration + +For more details on SBD and related parameters, please see man sbd(8). + +Usage: +............... +# For disk-based SBD +crm sbd configure show [disk_metadata|sysconfig|property] +crm sbd configure [device=]... [watchdog-device=] [watchdog-timeout=] [allocate-timeout=] [loop-timeout=] [msgwait-timeout=] + +# For disk-less SBD +crm sbd configure show [sysconfig|property] +crm sbd configure device="" [watchdog-device=] [watchdog-timeout=] +............... + +example: +............... +configure show +configure show disk_metadata +configure show sysconfig +configure show property +configure device="/dev/sdb1;/dev/sdb2" +configure device=/dev/sdb1 device=/dev/sdb2 +configure device=/dev/sdb1 watchdog-timeout=30 msgwait-timeout=60 +configure device="" watchdog-timeout=30 +............... + +[[cmdhelp_sbd_status,show SBD status]] +==== `status` + +Show the status of the SBD daemon. + +Usage: +............... +status +............... + +[[cmdhelp_sbd_remove,remove SBD configuration]] +==== `remove` + +Remove part of devices from the SBD configuration, or remove SBD +service from the cluster. + +Usage: +............... +remove +remove [ ...] +............... + [[cmdhelp_node,Node management]] === `node` - Node management