Re: [Linux-HA] disconnecting network of any node cause both nodes fenced

2011-12-06 Thread Dejan Muhamedagic
Hi, On Tue, Dec 06, 2011 at 05:36:09PM +0100, Lars Marowsky-Bree wrote: > On 2011-12-05T22:37:03, Andreas Kurz wrote: > > > Did you clone the sbd resource? If yes, don't do that. Start it as a > > primitive, so in case of a split brain at least one node needs to start > > the stonith resource wh

Re: [Linux-HA] disconnecting network of any node cause both nodes fenced

2011-12-06 Thread Lars Marowsky-Bree
On 2011-12-05T22:37:03, Andreas Kurz wrote: > Did you clone the sbd resource? If yes, don't do that. Start it as a > primitive, so in case of a split brain at least one node needs to start > the stonith resource which should give the other node an advantage ... > adding a start-delay should furth

Re: [Linux-HA] disconnecting network of any node cause both nodes fenced

2011-12-05 Thread Andreas Kurz
On 12/05/2011 12:21 PM, Muhammad Sharfuddin wrote: > > On Sun, 2011-12-04 at 23:47 +0100, Andreas Kurz wrote: >> Hello, >> >> On 12/04/2011 09:29 PM, Muhammad Sharfuddin wrote: >>> This cluster reboots(fenced) both nodes, if I disconnects network of any >>> nodes(simulating network failure). >> >>

Re: [Linux-HA] disconnecting network of any node cause both nodes fenced

2011-12-05 Thread Muhammad Sharfuddin
On Sun, 2011-12-04 at 23:47 +0100, Andreas Kurz wrote: > Hello, > > On 12/04/2011 09:29 PM, Muhammad Sharfuddin wrote: > > This cluster reboots(fenced) both nodes, if I disconnects network of any > > nodes(simulating network failure). > > Completely loss of network is indistinguishable for a clu

Re: [Linux-HA] disconnecting network of any node cause both nodes fenced

2011-12-04 Thread Andreas Kurz
Hello, On 12/04/2011 09:29 PM, Muhammad Sharfuddin wrote: > This cluster reboots(fenced) both nodes, if I disconnects network of any > nodes(simulating network failure). Completely loss of network is indistinguishable for a cluster node to a dead peer. > > I want that if any node disconnects fr

[Linux-HA] disconnecting network of any node cause both nodes fenced

2011-12-04 Thread Muhammad Sharfuddin
This cluster reboots(fenced) both nodes, if I disconnects network of any nodes(simulating network failure). I want that if any node disconnects from network, resources running on that node should be moved/migrate to the other node(network connected node) How can I prevent this cluster to reboot(