Hi all,

thanks to the search capabilities provided by  gossamer-threads I
could find a solution provided by 'andreas at hastexo'. Thanks to him:

http://www.gossamer-threads.com/lists/linuxha/pacemaker/80964?search_string=
crm%20master%20location;#80964

-------------------
location avoid_being_the_master ms_MySQL \
rule $role=Master -1000: #uname eq my_node
location never_be_the_master ms_MySQL \
rule $role=Master -inf: #uname eq my_node
-------------------

Nice evening
Andreas Mock


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Andreas Mock
Gesendet: Donnerstag, 18. April 2013 16:48
An: [email protected]
Betreff: [Linux-HA] crmsh: location preference for ms-resource

Hi all,

can someone tell me how I can configure in crmsh a node preference for a
multistate resource in state promoted, so that the master starts preferably
on a certain node?

Hints very welcome?

(I've to admit that I couldn't get it puzzled out with the crm online help,
I'm too stupid)

Best regards
Andreas Mock


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to