2013.07.20. 17:32 keltezéssel, Lars Marowsky-Bree írta:
On 2013-07-19T16:49:21, "\"Tomcsányi, Domonkos\"" <tomcsan...@modit.hu> wrote:

Now the behaviour I would like to achieve:
If NODE 1 goes offline its services should get migrated to NODE 2 AND NODE
3's services should get migrated to NODE 4.
If NODE 3 goes offline its services should get migrated to NODE4 AND NODE1's
services should get migrated to NODE 2.
Of course the same should happen vice versa with NODE 2 and NODE 4.
The short answer is "No, that is not possible." Pacemaker doesn't
support that resources running somewhere else should affect the
placement of resources on other nodes, at least not natively.

The slightly longer answer is that you can fake it pretty well, I guess.
By having a resource agent in the dependency tree/group of each that
switches the attribute of the *other* resources/group to move too.


Regards,
     Lars

Hi Lars,

Thank you so much for your answer! What you suggest seems to be exactly the answer for my question, but what resource agent is capable of changing attributes at all? Do I need to create my own or is there one I can already use?

regards,

Domonkos

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

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