Re: [Pacemaker] Weired resource-stickiness behavior

2013-06-17 Thread Andrew Beekhof
On 14/06/2013, at 3:52 PM, Xiaomin Zhang wrote: > Hi, Andrew: > If I cut down the network connection of the running node by: > service network stop, > "crm status" will show me the node is put into "OFFLINE" status. The affected > resource can also be failed over to another online node correct

Re: [Pacemaker] Weired resource-stickiness behavior

2013-06-13 Thread Xiaomin Zhang
Hi, Andrew: If I cut down the network connection of the running node by: service network stop, "crm status" will show me the node is put into "OFFLINE" status. The affected resource can also be failed over to another online node correctly. But the issue is that, when I re-connect the network by: s

Re: [Pacemaker] Weired resource-stickiness behavior

2013-06-13 Thread Andrew Beekhof
On 13/06/2013, at 5:15 PM, Xiaomin Zhang wrote: > Thanks Andrew. > Yes, the fs_ssn service (ocf:FileSystem) is still running when the machine > loses network. I configure it as primitive: > primitive fs_ssn ocf:heartbeat:Filesystem \ > op monitor interval="15s" \ > params device="/dev

Re: [Pacemaker] Weired resource-stickiness behavior

2013-06-13 Thread Xiaomin Zhang
Hi, Andrew: With the configuration I pasted in this thread, I can see the resource fail over to the online node when the other node is put into "Standby" by using "crm node standby" command. And when I put the "Standby" node back again to "Online", the resource keeps running on the original "Online

Re: [Pacemaker] Weired resource-stickiness behavior

2013-06-13 Thread Xiaomin Zhang
Thanks Andrew. Yes, the fs_ssn service (ocf:FileSystem) is still running when the machine loses network. I configure it as primitive: primitive fs_ssn ocf:heartbeat:Filesystem \ op monitor interval="15s" \ params device="/dev/drbd0" directory="/drbd" fstype="ext3" \ meta target-role=

Re: [Pacemaker] Weired resource-stickiness behavior

2013-06-12 Thread Andrew Beekhof
On 13/06/2013, at 2:43 PM, Xiaomin Zhang wrote: > Andrew Beekhof writes: > >> >> Try increasing your stickiness as it is being exceeded by the location > constraints. >> For the biggest stick, try 'infinity' which means - never move unless the > node dies. >> > > Thanks, Andrew, I applied i

Re: [Pacemaker] Weired resource-stickiness behavior

2013-06-12 Thread Xiaomin Zhang
Andrew Beekhof writes: > > Try increasing your stickiness as it is being exceeded by the location constraints. > For the biggest stick, try 'infinity' which means - never move unless the node dies. > Thanks, Andrew, I applied infinity resource stickiness. However, the sst resource is still swi

Re: [Pacemaker] Weired resource-stickiness behavior

2013-06-11 Thread Andrew Beekhof
On 09/06/2013, at 12:19 PM, Xiaomin Zhang wrote: > Hello, Pacemaker Gurus: > My HA (2 active/slave nodes and 1 standby node) setup contains 1 DRBD > master/slave resource group, and 1 simple lsb resource. I configure some > location constraints to prefer the active node, and I also want > resour

[Pacemaker] Weired resource-stickiness behavior

2013-06-08 Thread Xiaomin Zhang
Hello, Pacemaker Gurus: My HA (2 active/slave nodes and 1 standby node) setup contains 1 DRBD master/slave resource group, and 1 simple lsb resource. I configure some location constraints to prefer the active node, and I also want resource-stickiness to the actual online node to avoid unnecessary s