​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 Constraints:
  Resource: IP1_Vir
    Enabled on: node01hb0 (score:1000)

  Resource: IP2_Vir
    Disabled on: node01hb0 (score:-INFINITY)

Colocation Constraints:
  IP2_Vir with IP1_Vir (score:-INFINITY)

​When i move manual the resource ​IP1_Vir from node01hb0 > node02hb0 all is
fine, IP2_Vir is stopped.
When i crash node node01hb0 / stop pacemaker > both resources are stopped.


​Regards,
John Gogu​
_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to