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: Andreas Mock [mailto:andreas.m...@web.de] Gesendet: Donnerstag, 18. April 2013 17:01 An: 'The Pacemaker cluster resource manager' Betreff: [Pacemaker] 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 _______________________________________________ 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 _______________________________________________ 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