Re: [ClusterLabs] Resource stop when another resource run on that node

2015-07-01 Thread Ken Gaillot
On 07/01/2015 01:18 AM, John Gogu wrote: > ​Hello, > this is what i have setup but is now working 100%: > > Online: [ node01hb0 node02hb0 ] > Full list of resources: > IP1_Vir(ocf::heartbeat:IPaddr):Started node01hb0 > IP2_Vir(ocf::heartbeat:IPaddr):Started node02

[ClusterLabs] Resource stop when another resource run on that node

2015-06-30 Thread John Gogu
​Hello, this is what i have setup but is now working 100%: Online: [ node01hb0 node02hb0 ] Full list of resources: IP1_Vir(ocf::heartbeat:IPaddr):Started node01hb0 IP2_Vir(ocf::heartbeat:IPaddr):Started node02hb0 default-resource-stickiness: 2000 ​Location Co

Re: [ClusterLabs] Resource stop when another resource run on that node

2015-06-30 Thread Andrei Borzenkov
On Tue, Jun 30, 2015 at 2:50 PM, John Gogu wrote: > Hello, > i would like to ask you if you have any idea about how to accomplish > following scenario: > > 2 cluster nodes (node01 node02) > 2 different resources (ex. IP1 run on node01 and IP2 run on node02) > > I would like to setup a constraint (

[ClusterLabs] Resource stop when another resource run on that node

2015-06-30 Thread John Gogu
Hello, i would like to ask you if you have any idea about how to accomplish following scenario: 2 cluster nodes (node01 node02) 2 different resources (ex. IP1 run on node01 and IP2 run on node02) I would like to setup a constraint (or another ideea) that will shutdown resource IP2 on node02 when