Hi All,
In a simple two node cluster, I load the enclosed xml file. I expect that this is the simplest syntax to specify two resources, eyes and clock, where "eyes" and "clock" run on the same node. Actual behavior is that "eyes" and "clock" run on opposite nodes. Is my xml file wrong? Also, shouldn't the "sequence=true" in the collocation tag control the startup sequence of "eyes" and "clock"? Thanks in advance, -Frank
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="0" admin_epoch="1" epoch="8" num_updates="1" cib-last-written="Fri Nov 20 07:46:43 2009" dc-uuid="ubuntu_2"> <configuration> <crm_config> <cluster_property_set id="cib-bootstrap-options"> <nvpair id="option-1" name="symmetric-cluster" value="true"/> <nvpair id="option-2" name="no-quorum-policy" value="ignore"/> <nvpair id="option-3" name="stonith-enabled" value="false"/> <nvpair id="option-4" name="cluster-delay" value="5s"/> <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="openais"/> <nvpair id="cib-bootstrap-options-expected-quorum-votes" name="expected-quorum-votes" value="2"/> <nvpair id="cib-bootstrap-options-dc-deadtime" name="dc-deadtime" value="10s"/> <nvpair id="cib-bootstrap-options-election-timeout" name="election-timeout" value="10s"/> </cluster_property_set> </crm_config> <nodes> <node id="ubuntu_2" uname="ubuntu_2" type="normal"/> <node id="ubuntu_1" uname="ubuntu_1" type="normal"/> </nodes> <resources> <primitive id="eyes" class="ocf" type="eyestest" provider="bbnd"> <operations> <op id="eyescheck" name="monitor" interval="10s" requires="nothing" on-fail="restart"/> </operations> </primitive> <primitive id="clock" class="ocf" type="clocktest" provider="bbnd"> <operations> <op id="clockcheck" name="monitor" interval="10s" requires="nothing" on-fail="restart"/> </operations> </primitive> </resources> <constraints> <rsc_colocation id="coloc-1"> <resource_set id="coloc-1-set-1" sequential="true"> <resource_ref id="eyes"/> <resource_ref id="clock"/> </resource_set> </rsc_colocation> </constraints> </configuration> </cib>
_______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker