Re: [Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-11 Thread Dejan Muhamedagic
Hi, On Wed, Jan 05, 2011 at 05:18:36PM -0700, Devin Reade wrote: > Johannes Freygner wrote: > > > *) Yes, and I found the wrong setting: > > Excellent. > > > But if I pull the power cable without a regular shutting down, > > the powerless node gets status "UNCLEAN (offline)" and the > > resou

Re: [Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-05 Thread Devin Reade
Johannes Freygner wrote: > *) Yes, and I found the wrong setting: Excellent. > But if I pull the power cable without a regular shutting down, > the powerless node gets status "UNCLEAN (offline)" and the > resources remains stopped. I would contend that would be correct behavior as (again assu

Re: [Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-05 Thread Johannes Freygner
Hi Devin, see *) -Original Message- From: Devin Reade [mailto:g...@gno.org] Sent: Dienstag, 04. Jänner 2011 19:34 To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Best stonith method to avoid split brain on a drbd cluster --On Monday, January 03, 2011 09:14:29 PM

Re: [Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-04 Thread Devin Reade
--On Monday, January 03, 2011 09:14:29 PM +0100 han...@freygner.at wrote: > As I have tested, its not a problem on the shutdown order. On a regular > shutdown everything is working fine until I pull the power cable. So just before pulling the power cable, the running node reports itself as online

[Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-03 Thread han...@freygner.at
Devin, Thanks for your support. As I have tested, its not a problem on the shutdown order. On a regular shutdown everything is working fine until I pull the power cable. After losing the ilo communication the status of the online node changes to "online UNCLEAN". The other node which is turned

Re: [Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-03 Thread Devin Reade
Johannes Freygner wrote: > You mean with corosync will work fine, because I am using heartbeat instead. I suspect that it's a similar situation with heartbeat. The problem is pacemaker losing communication before the node cleanly disconnects. The behavior I saw on my own clusters is that becau

[Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-03 Thread Johannes Freygner
Devin, You mean with corosync will work fine, because I am using heartbeat instead. Using "shutdown " and pulling the power cable or pulling the power cable directly without shutting down gives always the same solution. The resource wouldn't be started by the other node, because it can't fe

Re: [Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-03 Thread Devin Reade
Johannes Freygner wrote: > could somebody give me an idea what will be the best stonith solution on a > drbd cluster to avoid split brain if the network between the nodes is lost. > > I have already tried to use stonith with ILO, but if the power cable is > removed from the node (because we ha

[Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-03 Thread Johannes Freygner
Hi, could somebody give me an idea what will be the best stonith solution on a drbd cluster to avoid split brain if the network between the nodes is lost. I have already tried to use stonith with ILO, but if the power cable is removed from the node (because we have to service the hardware) the