[Linux-HA] Config problem
Dan Track
dan.track at gmail.com
Wed Oct 11 10:09:22 MDT 2006
Hi
I generated the cib.xml file below by running :
python /usr/lib/heartbeat/haresources2cib.py /etc/ha.d/haresources
The problem I'm having is that the second IP isn't coming up i.e
10.11.8.46. Could somebody please help me find out the reason.
cat /var/lib/heartbeat/crm/cib.xml
<?xml version="1.0" ?>
<cib admin_epoch="0" epoch="0" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair
id="cib-bootstrap-options-symmetric_cluster" name="symmetric_cluster"
value="true"/>
<nvpair
id="cib-bootstrap-options-no_quorum_policy" name="no_quorum_policy"
value="stop"/>
<nvpair
id="cib-bootstrap-options-default_resource_stickiness"
name="default_resource_stickiness" value="0"/>
<nvpair
id="cib-bootstrap-options-default_resource_failure_stickiness"
name="default_resource_failure_stickiness" value="0"/>
<nvpair
id="cib-bootstrap-options-stonith_enabled" name="stonith_enabled"
value="false"/>
<nvpair
id="cib-bootstrap-options-stonith_action" name="stonith_action"
value="reboot"/>
<nvpair
id="cib-bootstrap-options-stop_orphan_resources"
name="stop_orphan_resources" value="true"/>
<nvpair
id="cib-bootstrap-options-stop_orphan_actions"
name="stop_orphan_actions" value="true"/>
<nvpair
id="cib-bootstrap-options-remove_after_stop" name="remove_after_stop"
value="false"/>
<nvpair
id="cib-bootstrap-options-short_resource_names"
name="short_resource_names" value="true"/>
<nvpair
id="cib-bootstrap-options-transition_idle_timeout"
name="transition_idle_timeout" value="5min"/>
<nvpair
id="cib-bootstrap-options-default_action_timeout"
name="default_action_timeout" value="5s"/>
<nvpair
id="cib-bootstrap-options-is_managed_default"
name="is_managed_default" value="true"/>
</attributes>
</cluster_property_set>
</crm_config>
<nodes/>
<resources>
<group id="group_1">
<primitive class="ocf"
id="IPaddr_10.11.8.45" provider="heartbeat" type="IPaddr">
<operations>
<op
id="IPaddr_10.11.8.45_mon" interval="5s" name="monitor" timeout="5s"/>
</operations>
<instance_attributes
id="IPaddr_10.11.8.45_inst_attr">
<attributes>
<nvpair
id="IPaddr_10.11.8.45_attr_0" name="ip" value="10.11.8.45"/>
</attributes>
</instance_attributes>
</primitive>
<primitive class="lsb" id="httpd_2"
provider="heartbeat" type="httpd">
<operations>
<op id="httpd_2_mon"
interval="120s" name="monitor" timeout="60s"/>
</operations>
</primitive>
</group>
<group id="group_11">
<primitive class="ocf"
id="IPaddr_10.11.8.46" provider="heartbeat" type="IPaddr">
<operations>
<op
id="IPaddr_10.11.8.46_mon" interval="5s" name="monitor" timeout="5s"/>
</operations>
<instance_attributes
id="IPaddr_10.11.8.46_inst_attr">
<attributes>
<nvpair
id="IPaddr_10.11.8.46_attr_0" name="ip" value="10.11.8.46"/>
</attributes>
</instance_attributes>
</primitive>
<primitive class="lsb" id="httpd_12"
provider="heartbeat" type="httpd">
<operations>
<op id="httpd_12_mon"
interval="120s" name="monitor" timeout="60s"/>
</operations>
</primitive>
</group>
</resources>
<constraints>
<rsc_location id="rsc_location_group_1" rsc="group_1">
<rule id="prefered_location_group_1"
score="100">
<expression attribute="#uname"
id="prefered_location_group_1_expr" operation="eq"
value="zhang.example.com"/>
</rule>
</rsc_location>
<rsc_location id="rsc_location_group_11" rsc="group_11">
<rule id="prefered_location_group_11"
score="100">
<expression attribute="#uname"
id="prefered_location_group_11_expr" operation="eq"
value="zhang.example.com"/>
</rule>
</rsc_location>
</constraints>
</configuration>
<status/>
</cib>
Thanks in advance
Dan
More information about the Linux-HA
mailing list