[Pacemaker] should STONITH be a clone resource?

Volker Dormeyer volker at ixolution.de
Wed Sep 19 11:04:25 UTC 2012


Hi,
Hi

On Wed, Sep 19, 2012 at 04:35:53PM +0800,
Mia Lueng <xiaozunvlg at gmail.com> wrote:
>      I use a sbd device to be a STONITH device. Should I configure it
> as a clone resource that running on all node?  I have seen a lot of
> manuals to show it only be configured on a single node.   Here is my
> configure:
> 
> 
> # crm configure show
> node hatest01
> node hatest02
> node hatest03
> primitive sbd_stonith stonith:external/sbd \
> 	operations $id="sbd_stonith-operations" \
> 	op monitor interval="15" timeout="15" start-delay="15" \
> 	params sbd_device="/dev/vdb"
> clone stonith_sbd sbd_stonith \
> 	meta clone-max="3" target-role="Started"

You don't need to clone it, as the fenced node would be restarted by the
daemon running on the node, anyway.

Please look the description behind the following link:

    http://www.linux-ha.org/wiki/SBD_Fencing

Best Regards,
Volker




More information about the Pacemaker mailing list