Hi,
I did extend the SAPInstance RA for master/slave ability. But it does
not behave as expected. Bevor I oben a bug I would like to know, if that
is bug or feature.
Situation:
Running a two node cluster. A master/slave resource with clone_max = 2,
clone_node_max = 1, master_max = 1, master_node_max = 1.
Startup is working, that means 1 clone is running as a master and the
other clone is running as a slave on the second node. Now I kill the
application processes of the master resource. The RA recognices this and
returns OCF_FAILED_MASTER in the next monitor operation.
My expectation:
1. Promote the existing slave on the second node to the new master.
2. Restart the old master on the first node as a slave.
What happens is:
1. Restart the master as master on the first node.
2. Nothing happens to the still running slave.
Is this the intended behavior ? Are there any attributes to change it
(setting some -INFINITY for fail-counts for only _master_ resources) ?
I could provide a hb_report on this, if needed.
Thanks
Alex
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems