[Linux-HA] Constraints when a resource (group) goes down?

Hildebrand, Nils, 232 Nils.Hildebrand at bamf.bund.de
Thu Nov 2 09:05:45 MST 2006


Hi,

I have set up a simple two-node-cluster. For a proof of concept I just use
dummy resources for the beginning (see attached cib-file).

Following dependencies should be met ALL TIMES:

- Group "Redaktion" should be first,
- Group "Master" should be next,
- Group "Slave" should be last,
- Group "Master" and "Slave" are never active on the same node.

With the attached cib this works pretty well (on failover/failback
situations).

Next Test:
When all (or certain) master resources fail the expected behaviour would
have been that the slave-group gets stopped, master restarts, slave starts.

I simulate the failure of resources by deleting the resource-files located
at
  /var/run/heartbeat/rsctmp

But now the following happens:
Whenever a resource from RG "Master" goes down, it gets restarted - even if
ALL resources of the same resource group are down.

To me this seems to be a bug, since the constraint "Slave after Master" is
not being met.

Is there any way around this problem?


Kind regards, Nils

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib.xml
Type: application/octet-stream
Size: 6469 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20061102/75bee539/cib-0001.obj


More information about the Linux-HA mailing list