<html>
<head>
</head>
<body style="margin-top: 4px; font-variant: normal; margin-bottom: 1px; font-weight: normal; font-family: Lucida Grande; margin-right: 4px; font-style: normal; line-height: normal; font-size: 12pt; margin-left: 4px">
<p style="margin-bottom: 0; margin-top: 0">
<font face="Lucida Grande" size="3">Joe - </font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Lucida Grande" size="3">First, if you're not using it, the CRM shell is -way- easier to do your configuration with. </font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Lucida Grande" size="3">Second, I don't know if 100 is a high enough score to get them to colocate. You might need to set them to infinity. Or, I think you can add them to a group to get them to do the same thing.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Lucida Grande" size="3">-K </font><br><br><br>---<BR>Karl Katzke<BR>Systems Analyst II<BR>TAMU - DRGS<BR><BR><BR><BR><BR><br><br>>>> Joe Armstrong <jarmstrong@postpath.com> 5/13/2009 6:02 PM >>><br>Hi,<br><br>I have a really simple config - 1 IP and an httpd but I can't get them both online on the same node.<br>I have had the httpd try to start on the node without the IP, I've had the IP get configured correctly but no hint of httpd & I've had the IP get moved away from a node while httpd was starting up so I had httpd on one node online and its IP online on the other! Each restart of heartbeat seems to give a different result. It seems like the order & co-location constraints are being ignored or something.<br><br>I am new to pacemaker so please forgive what must be an obvious error in my config.<br><br>Thanks for any help.<br><br>Joe<br><br>Installed Versions:<br><br>/RPMs/heartbeat-2.99.2-8.1.x86_64.rpm /RPMs/openais-0.80.5-13.1.x86_64.rpm<br>/RPMs/heartbeat-common-2.99.2-8.1.x86_64.rpm /RPMs/pacemaker-1.0.3-2.2.x86_64.rpm<br>/RPMs/heartbeat-resources-2.99.2-8.1.x86_64.rpm /RPMs/pacemaker-mgmt-1.99.1-2.1.x86_64.rpm<br>/RPMs/libheartbeat2-2.99.2-8.1.x86_64.rpm /RPMs/pacemaker-mgmt-client-1.99.1-2.1.x86_64.rpm<br>/RPMs/libopenais2-0.80.5-13.1.x86_64.rpm /RPMs/python-lxml-1.3.4-1.el5.rf.x86_64.rpm<br>/RPMs/libpacemaker3-1.0.3-2.2.x86_64.rpm<br><br>Config file:<br><br><cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" admin_epoch="0" epoch="42" num_updates="8" cib-last-written="Wed May 13 15:53:18 2009" dc-uuid="ff29bf8a-9ab6-423f-8002-b74a03b1f1d2"><br> <configuration><br> <crm_config><br> <cluster_property_set id="cib-bootstrap-options"><br> <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.3-b133b3f19797c00f9189f4b66b513963f9d25db9"/><br> </cluster_property_set><br> </crm_config><br> <nodes><br> <node id="ff29bf8a-9ab6-423f-8002-b74a03b1f1d2" uname="vm2.jarmsdt.postpath.com" type="normal"/><br> <node id="f2dd7f3e-026c-4ba8-8694-786360cfd602" uname="vm1.jarmsdt.postpath.com" type="normal"/><br> </nodes><br> <resources><br> <primitive id="http-1" class="lsb" type="httpd"><br> </primitive><br> <primitive id="http-ip-1" class="ocf" provider="heartbeat" type="IPaddr"><br> <instance_attributes id="ip-459558"><br> <nvpair id="nv013" name="ip" value="10.200.76.188"/><br> <nvpair id="nv014" name="device" value="auto"/><br> <nvpair id="nv015" name="netmask" value="255.255.255.0"/><br> <nvpair id="nv016" name="broadcast" value="10.200.76.255"/><br> </instance_attributes><br> </primitive><br> </resources><br> <constraints><br> <rsc_order first="http-ip-1" first-action="promote" id="http-order" score="INFINITY" then="http-1" then-action="start"/><br> <rsc_colocation id="http-colo" rsc="http-1" score="100" with-rsc="http-ip-1"/><br> </constraints><br> <rsc_defaults/><br> <op_defaults/><br> </configuration><br></cib><br><br>_______________________________________________<br>Pacemaker mailing list<br>Pacemaker@oss.clusterlabs.org<br><a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</p>
</body>
</html>