Hi, in our 2-node-cluster we have a clone resource StorGr1 and two primitive resources DummyVM1 and DummyVM2. StorGr1 should be started before DummyVM1 and DummyVM2 due to order constraints. StorGr1 clone was started on both cluster nodes goat1 and sheep1. DummyVM1 and DummyVM2 were both started on node goat1.
Then we stopped StorGr1 on node goat1. We expected a restart of DummyVM1 and DummyVM2 on the second node sheep1 due to the order constraints. But only DummyVM2 was restarted on the second node sheep1. DummyVM1 was stopped and remained in the stopped state: Clone Set: StorGr1-clone [StorGr1] Started: [ sheep1 ] Stopped: [ StorGr1:1 ] DummyVM1 (ocf::pacemaker:Dummy): Stopped DummyVM2 (ocf::pacemaker:Dummy): Started sheep1 Difference: DummyVM1 has a higher allocation score value for goat1 and DummyVM2 has a higher allocation score value for sheep1. How can we achieve a restart of the primitive resources independently of the allocation score value ? Do we need other or additional constraints ? Best regards, Armin Haussecker Extract from CIB: primitive DummyVM1 ocf:pacemaker:Dummy \ op monitor interval="60s" timeout="60s" \ op start on-fail="restart" interval="0" \ op stop on-fail="ignore" interval="0" \ meta is-managed="true" resource-stickiness="1000" migration-threshold="2" primitive DummyVM2 ocf:pacemaker:Dummy \ op monitor interval="60s" timeout="60s" \ op start on-fail="restart" interval="0" \ op stop on-fail="ignore" interval="0" \ meta is-managed="true" resource-stickiness="1000" migration-threshold="2" primitive StorGr1 ocf:heartbeat:Dummy \ op monitor on-fail="restart" interval="60s" \ op start on-fail="restart" interval="0" \ op stop on-fail="ignore" interval="0" \ meta is-managed="true" resource-stickiness="1000" migration-threshold="2" clone StorGr1-clone StorGr1 \ meta target-role="Started" interleave="true" ordered="true" location score-DummyVM1 DummyVM1 400: goat1 location score-DummyVM2 DummyVM2 400: sheep1 order start-DummyVM1-after-StorGr1-clone inf: StorGr1-clone DummyVM1 order start-DummyVM2-after-StorGr1-clone inf: StorGr1-clone DummyVM2 _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems