[Pacemaker] Pacemaker configuration with different dependencies
Andreas Mock
andreas.mock at web.de
Tue Apr 16 12:50:19 UTC 2013
Hi Ivor,
I don't know whether I understand you completely right:
If you want independence of resources don't put them into a group.
Look at
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Pacemaker_Explain
ed/ch10.html
A group is made to tie together several resources without
declaring all necessary colocations and orderings to get
a desired behaviour.
Otherwise. Name your resources ans how they should be spread across
your cluster. (Show the technical dependency)
Best regards
Andreas
Von: Ivor Prebeg [mailto:ivor.prebeg at gmail.com]
Gesendet: Dienstag, 16. April 2013 13:53
An: pacemaker at oss.clusterlabs.org
Betreff: [Pacemaker] Pacemaker configuration with different dependencies
Hi guys,
I need some help with pacemaker configuration, it is all new to me and can't
find solution...
I have two-node HA environment with services that I want to be partially
independent, in pacemaker/heartbeat configuration.
There is active/active sip service with two floating IPs, it should all just
migrate floating ip when one sip dies.
There is also two active/active master/slave services with java container
and rdbms with replication between them, should also fallback when one dies.
What I can't figure out how to configure those two to be independent (put
on-fail directive on group). What I want is to, e.g., in case my sip service
fails, java container stays active on that node, but floating ip to be moved
to other node.
Another thing is, in case one of rdbms fails, I want to put whole service
group on that node to standby, but leave sip service intact.
Whole node should go to standby (all services down) only when L3_ping to
gateway dies.
All suggestions and configuration examples are welcome.
Thanks in advance.
Ivor Prebeg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130416/5ee936b4/attachment.htm>
More information about the Pacemaker
mailing list