Hi,
 
i am using pacemaker on debian in a test environment. pacemaker version is: 1.1.7-1
 
I have a problem unterstanding minus points in a location.
 
I have 3 nodes in my test environment, node1, node2 and node3
I created a ressource, named resBind9, which should be preferred started on node1 and node2, if one of the two nodes fails, bind9 should be start on the third node.
 
The first crm configuration works correctly:
node node1
node node2
node node3
primitive resBind9 lsb:bind9 \
    op monitor interval="5"
clone cloneBind9 resBind9 \
    meta clone-max="2" clone-node-max="1" target-role="Started"
location locBind9 cloneBind9 100: node1
location locBind9_2 cloneBind9 100: node2
property $id="cib-bootstrap-options" \
    dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \
    cluster-infrastructure="openais" \
    expected-quorum-votes="3" \
 
But, why is the following configuration not working? Bind9 never starts on node3!
node node1
node node2
node node3
primitive resBind9 lsb:bind9 \
    op monitor interval="5"
clone cloneBind9 resBind9 \
    meta clone-max="2" clone-node-max="1" target-role="Started"
location locBind9 cloneBind9 -100: mysqlcluster-slave2
property $id="cib-bootstrap-options" \
    dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \
    cluster-infrastructure="openais" \
    expected-quorum-votes="3" \
 
"-100" points means, that bind9 only starts on the location, of another node are down, or is this no correct??
 
Thanks for help!
_______________________________________________
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