<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello --<br><br>We've experienced a weird problem 3 times in the last month on different clusters.<br><br>Environment:<br>- Pacemaker 1.0.9.1-1<br>- Corosync 1.2.5-1<br>- RHEL5.4<br>- 2 nodes<br><br>We run a simple configuration with a master/slave resource, appended below.<br><br>Three times we have found different clusters in a state where both instances are slaves and Pacemaker seems perfectly happy with this. Looking at the configuration (cib.xml) reveals that the target-role attribute for the master/slave resource has changed from Master to Started. Changing the value of this attribute back to Master fixes the problem immediately.<br><br>Any ideas what might be causing this? Nobody is doing it manually.<br><br>I'll hold off on logs until asked, this stuff can get voluminous.<br><br><br>Thanks, Rick
Kint<br><br><br><configuration><br> <crm_config><br> <cluster_property_set id="cib-bootstrap-options"><br> <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/><br> <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/><br> <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.9-89bd754939df5150de7cd76835f98fe90851b677"/><br> <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="openais"/><br> <nvpair id="cib-bootstrap-options-expected-quorum-votes" name="expected-quorum-votes" value="2"/><br> <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh"
value="1289857566"/><br> </cluster_property_set><br> </crm_config><br> <nodes><br> <node id="fnord004" type="normal" uname="fnord004"/><br> <node id="fnord005" type="normal" uname="fnord005"/><br> </nodes><br> <resources><br> <master id="Bar"><br> <meta_attributes id="Bar-meta_attributes"><br> <nvpair id="Bar-meta_attributes-clone-max" name="clone-max" value="2"/><br> <nvpair id="Bar-meta_attributes-clone-node-max" name="clone-node-max" value="1"/><br> <nvpair id="Bar-meta_attributes-master-max" name="master-max" value="1"/><br> <nvpair id="Bar-meta_attributes-notify" name="notify"
value="false"/><br> <nvpair id="Bar-meta_attributes-target-role" name="target-role" value="Master"/><br> <nvpair id="Bar-meta_attributes-is-managed" name="is-managed" value="true"/><br> </meta_attributes><br> <primitive class="ocf" id="Foo" provider="fnord" type="foo"><br> <operations><br> <op id="Foo-start-0s" interval="0s" name="start" timeout="300s"/><br> <op id="Foo-monitor-2s" interval="2s" name="monitor" role="Master" timeout="20s"/><br> <op id="Foo-monitor-3s" interval="3s" name="monitor" role="Slave"
timeout="20s"/><br> </operations><br> </primitive><br> </master><br> </resources><br> <constraints/><br> <op_defaults/><br> <rsc_defaults><br> <meta_attributes id="rsc-options"><br> <nvpair id="rsc-options-resource-stickiness" name="resource-stickiness" value="100"/><br> </meta_attributes><br> </rsc_defaults><br></configuration><br><br><br><br></td></tr></table><br>