Hello,
could someone tell me what is wrong with that fencing configuration:
Jan 13 11:38:48 apache-02 pengine: [13769]: ERROR: clone_unpack: fencing has
too many children. Only the first (apache-01-fencing) will be cloned.
Jan 13 11:38:48 apache-02 pengine: [13769]: info: process_pe_message:
Configuration ERRORs found during PE processing. Please run "crm_verify -L" to
identify issues.
(apache-01) [/var/adm/syslog/2008/01/13] / crm_verify -L -V
crm_verify[5917]: 2008/01/13_11:44:57 ERROR: clone_unpack: fencing has too many
children. Only the first (apache-01-fencing) will be cloned.
crm_verify[5917]: 2008/01/13_11:44:57 WARN: native_assign_node: 2 nodes with
equal score (+INFINITY) for running the listed resources (chose apache-02):
crm_verify[5917]: 2008/01/13_11:44:57 WARN: native_assign_node: 2 nodes with
equal score (+INFINITY) for running the listed resources (chose apache-01):
crm_verify[5917]: 2008/01/13_11:44:57 WARN: native_assign_node: 2 nodes with
equal score (+INFINITY) for running the listed resources (chose apache-01):
Errors found during check: config not valid
Here is my current fencing policy. But everything seems to work. I use the
2.1.3 version:
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair name="stonith-enabled" value="true"
id="stonith-enabled"/>
<nvpair name="stonith-action" value="reboot"
id="stonith-action"/>
</attributes>
</cluster_property_set>
</crm_config>
<resources>
<clone id="fencing">
<instance_attributes id="ia-fencing-01">
<attributes>
<nvpair id="fencing-01"
name="clone_max" value="2"/>
<nvpair id="fencing-02"
name="clone_node_max" value="1"/>
</attributes>
</instance_attributes>
<primitive id="apache-01-fencing" class="stonith"
type="external/ipmi" provider="heartbeat">
<operations>
<op id="apache-01-fencing-monitor"
name="monitor" interval="60s" timeout="20s" prereq="nothing"/>
<op id="apache-01-fencing-start"
name="start" timeout="20s" prereq="nothing"/>
</operations>
<instance_attributes id="ia-apache-01-fencing">
<attributes>
<nvpair
id="apache-01-fencing-hostname" name="hostname" value="apache-01"/>
<nvpair
id="apache-01-fencing-ipaddr" name="ipaddr" value="172.18.0.101"/>
<nvpair
id="apache-01-fencing-userid" name="userid" value="Administrator"/>
<nvpair
id="apache-01-fencing-passwd" name="passwd" value="password"/>
</attributes>
</instance_attributes>
</primitive>
<primitive id="apache-02-fencing" class="stonith"
type="external/ipmi" provider="heartbeat">
<operations>
<op id="apache-02-fencing-monitor"
name="monitor" interval="60s" timeout="20s" prereq="nothing"/>
<op id="apache-02-fencing-start"
name="start" timeout="20s" prereq="nothing"/>
</operations>
<instance_attributes id="ia-apache-02-fencing">
<attributes>
<nvpair
id="apache-02-fencing-hostname" name="hostname" value="apache-02"/>
<nvpair
id="apache-02-fencing-ipaddr" name="ipaddr" value="172.18.0.102"/>
<nvpair
id="apache-02-fencing-userid" name="userid" value="Administrator"/>
<nvpair
id="apache-02-fencing-passwd" name="passwd" value="password"/>
</attributes>
</instance_attributes>
</primitive>
</clone>
Thomas
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems