[DRBD-user] fence-peer

Kaloyan Kovachev kkovachev at varna.net
Thu Sep 29 11:55:12 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi list,
 i am about to upgrade DRBD on a RHCM cluster where GFS2 is used (dual
primary mode). Previously i was using the outdate-peer script wodified to
call fence_node in case the peer can not be reached over SSH. In the new
version i can see the outdate-peer handler is replaced by fence-peer and
the script executed is crm-fence-peer, but the problem is, the cluster is
not using peacemaker. So here are the questions:

 1. when using resource-and-stonith should the script always exit with 7
or it is OK to keep using the modified outdate-peer and return 7 only if
the peer was fenced, which happens if it can't be contacted via SSH only
i.e. at the end of the script the RV is still 5 and the cluster is quorate,
the node status is Offline or fence_node was executed?

 2. If any code in addition to 7 is allowed - which codes will lead to
unfreezing the IO and which to keep blocking it, because in case of
Inquorate cluster status or fence failure it is preferable to keep it
blocked. Will returning 6 in this case lead to calling some of the pri-lost
handlers i.e. commit suicide?




More information about the drbd-user mailing list