I followed the lenny guide very carefully and setup a 2 node cluster
with just ip failover. The only issue I had was installing gawk to get
it to even start the resource. Currently I am unable to get the
failover to work properly if I restart the computer, I am however able
to put nodes in standby and migrate resources which causes the
resource to start on both servers. I have attached my configuration
and would appreciate any help anyone can provide.
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" dc-uuid="netbootc1a" admin_epoch="0" epoch="64" num_updates="0" cib-last-written="Mon Dec 28 01:32:34 2009">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.6-cebe2b6ff49b36b29a3bd7ada1c4701c7470febe"/>
<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-stonith-enabled" name="stonith-enabled" value="false"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="netbootc1b" uname="netbootc1b" type="normal"/>
<node id="netbootc1a" uname="netbootc1a" type="normal">
<instance_attributes id="nodes-netbootc1a">
<nvpair id="nodes-netbootc1a-standby" name="standby" value="off"/>
</instance_attributes>
</node>
</nodes>
<resources>
<primitive class="ocf" id="failover-ip" provider="heartbeat" type="IPaddr">
<instance_attributes id="failover-ip-instance_attributes">
<nvpair id="failover-ip-instance_attributes-ip" name="ip" value="192.168.2.253"/>
</instance_attributes>
<operations>
<op id="failover-ip-monitor-5" interval="5" name="monitor"/>
</operations>
<meta_attributes id="failover-ip-meta_attributes">
<nvpair id="failover-ip-meta_attributes-target-role" name="target-role" value="Started"/>
</meta_attributes>
</primitive>
</resources>
<constraints/>
<rsc_defaults/>
<op_defaults/>
</configuration>
</cib>
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems