[Linux-cluster] Halt nodes in cluster with cable disconnect

Digimer linux at alteeve.com
Tue Jan 24 21:42:56 UTC 2012

On 01/24/2012 04:34 PM, Miguel Angel Guerrero wrote:
> Digimer i use your manual ;) 
> https://alteeve.com/w/Red_Hat_Cluster_Service_2_Tutorial
> in a test environment y desactivate drbd daemon for testing but with or
> without drbd daemon running, the problem persist
> I use the next handler and fencing policy in drbd
> fencingresource-and-stonith;
> outdate-peer"/sbin/obliterate-peer.sh";
> Digimer when you suggest add "sleep 10"' is in drbd.conf?

That's awesome! :)

No, you would put the sleep at the start of obliterate-peer.sh on one
node only. If this works, would you be willing to test 'rhcs_fence' for
me? It's new, and could use some testing. It automatically adds a delay
based on the node's cluster ID, with no delay for the node with ID of "1".

If so, here is how to install it on both nodes;

wget -c https://raw.github.com/digimer/rhcs_fence/master/rhcs_fence
chmod 755 rhcs_fence
mv rhcs_fence /usr/sbin/

Then in drbd.conf, change:

outdate-peer "/sbin/obliterate-peer.sh";


outdate-peer "/usr/sbin/rhcs_fence";

Cheers. :)

E-Mail:              digimer at alteeve.com
Papers and Projects: https://alteeve.com

More information about the Linux-cluster mailing list