[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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";

to

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

Cheers. :)

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]