Re: [Linux-HA] confused in two node heartbeat cluster

2010-11-30 Thread Andrew Beekhof
On Tue, Nov 30, 2010 at 8:19 PM, Mia Lueng wrote: > And since hbtest02 is fenced , why does hbtest01 not take over the resource? http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/ch05s03.html#id637389 > > > 2010/12/1 Dimitri Maziuk > >> Mia Lueng wrote: >> >> > Are t

Re: [Linux-HA] confused in two node heartbeat cluster

2010-11-30 Thread Pavlos Parissis
On 30 November 2010 19:22, Mia Lueng wrote: > I've setup a two-node cluster in sles11 sp1.   I use sbd as the stonith > device. Here is my configuration: > #crm configure show > node hbtest01 \ >        attributes standby="off" > node hbtest02 \ >        attributes standby="off" > primitive g_app

Re: [Linux-HA] confused in two node heartbeat cluster

2010-11-30 Thread Dimitri Maziuk
Mia Lueng wrote: > I saw in some ha solutions, a network tiebreaker is set to determinate which > node should be fence or suicide in this suitation. Yes, a 3rd vote. > This is very useful in two-node cluster solution. Only 2 things are useful in a 2-node apache cluster: 1) if both nodes are on

Re: [Linux-HA] confused in two node heartbeat cluster

2010-11-30 Thread Mia Lueng
I saw in some ha solutions, a network tiebreaker is set to determinate which node should be fence or suicide in this suitation. This is very useful in two-node cluster solution. 2010/12/1 Dimitri Maziuk > Mia Lueng wrote: > > > Are there any network tiebreaker configuration to determinate which

Re: [Linux-HA] confused in two node heartbeat cluster

2010-11-30 Thread Mia Lueng
And since hbtest02 is fenced , why does hbtest01 not take over the resource? 2010/12/1 Dimitri Maziuk > Mia Lueng wrote: > > > Are there any network tiebreaker configuration to determinate which node > > should be fenced in this two-node cluster split-brain suitaion? In my > case, > > since all

Re: [Linux-HA] confused in two node heartbeat cluster

2010-11-30 Thread Dimitri Maziuk
Mia Lueng wrote: > Are there any network tiebreaker configuration to determinate which node > should be fenced in this two-node cluster split-brain suitaion? In my case, > since all nic links of hbtest02 is unpluged, the resource should be taken > over by the one with healthy net link. You do rea

[Linux-HA] confused in two node heartbeat cluster

2010-11-30 Thread Mia Lueng
I've setup a two-node cluster in sles11 sp1. I use sbd as the stonith device. Here is my configuration: #crm configure show node hbtest01 \ attributes standby="off" node hbtest02 \ attributes standby="off" primitive g_app ocf:heartbeat:apache \ operations $id="g_app-operat