Hi Dejan,
you're right ! I made a mistake at reading your previous message !
Unfortunately , I've fixed the error setting the target-role in meta and
other parameters hostname, ipaddr etc. as params but unfortunately,
I've got always the same problem ... and always the same :
debug: external_run_cmd: '/usr/lib64/stonith/plugins/external/ipmi
status' output: ipaddr, userid or password missing; check configuration
when doing "crm resource start restofencenode3 " whereas I set these
parameters correctly in the resource (in cib.xml)
Here in attachment is my new resulting cib.xml, correct this time (I
hope so!) ...
And always the same crm_verify -L -V output :
crm_verify[6458]: 2010/02/23_14:30:34 WARN: native_color: Resource
restofencenode1 cannot run anywhere
crm_verify[6458]: 2010/02/23_14:30:34 WARN: native_color: Resource
restofencenode3 cannot run anywhere
Warnings found during check: config may not be valid
I'm really getting mad :-( ;-) because I did success to make
Pacemaker work a few weeks ago with
same stonith configuration, and I can't make it work anymore ...
PS: I did put the log in attachment in my previous email, not pasting
it, so it is
strange that you ask me not to paste it ...
Many thanks.
Regards
Alain
> 1266916138 2010 Feb 23 10:08:58 node1 daemon debug stonithd [1818]:
debug: external_run_cmd: '/usr/lib64/stonith/plugins/external/ipmi
status' output: ipaddr, userid or password missing; check configuration
Here's your problem.
Thanks,
Dejan
<cib epoch="24" num_updates="0" admin_epoch="0" validate-with="pacemaker-1.0"
crm_feature_set="3.0.1" have-quorum="1" cib-last-written="Tue Feb 23 14:10:09
2010" dc-uuid="node1">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.0.5-ee19d8e83c2a5d45988f1cee36d334a631d84fc7"/>
<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-symmetric-cluster"
name="symmetric-cluster" value="true"/>
<nvpair id="cib-bootstrap-options-no-quorum-policy"
name="no-quorum-policy" value="ignore"/>
<nvpair id="cib-bootstrap-options-stonith-enabled"
name="stonith-enabled" value="true"/>
<nvpair id="cib-bootstrap-options-cluster-delay" name="cluster-delay"
value="60"/>
<nvpair id="cib-bootstrap-options-DC-deadtime" name="DC-deadtime"
value="60"/>
<nvpair id="cib-bootstrap-options-last-lrm-refresh"
name="last-lrm-refresh" value="1266927455"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="node1" uname="node1" type="normal"/>
<node id="node3" uname="node3" type="normal"/>
</nodes>
<resources>
<primitive class="stonith" id="restofencenode1" type="external/ipmi">
<instance_attributes id="restofencenode1-instance_attributes">
<nvpair id="restofencenode1-instance_attributes-hostname"
name="hostname" value="node1"/>
<nvpair id="restofencenode1-instance_attributes-ipaddr" name="ipaddr"
value="12.1.1.121"/>
<nvpair id="restofencenode1-instance_attributes-userid" name="userid"
value="mylogin"/>
<nvpair id="restofencenode1-instance_attributes-password"
name="password" value="mypass"/>
<nvpair id="restofencenode1-instance_attributes-interface"
name="interface" value="lan"/>
</instance_attributes>
<meta_attributes id="restofencenode1-meta_attributes">
<nvpair id="restofencenode1-meta_attributes-target-role"
name="target-role" value="stopped"/>
</meta_attributes>
</primitive>
<primitive class="stonith" id="restofencenode3" type="external/ipmi">
<instance_attributes id="restofencenode3-instance_attributes">
<nvpair id="restofencenode3-instance_attributes-hostname"
name="hostname" value="node3"/>
<nvpair id="restofencenode3-instance_attributes-ipaddr" name="ipaddr"
value="12.1.1.123"/>
<nvpair id="restofencenode3-instance_attributes-userid" name="userid"
value="mylogin"/>
<nvpair id="restofencenode3-instance_attributes-password"
name="password" value="mypass"/>
<nvpair id="restofencenode3-instance_attributes-interface"
name="interface" value="lan"/>
</instance_attributes>
<meta_attributes id="restofencenode3-meta_attributes">
<nvpair id="restofencenode3-meta_attributes-target-role"
name="target-role" value="stopped"/>
</meta_attributes>
</primitive>
</resources>
<constraints>
<rsc_location id="loc1-restofencenode1" node="node3"
rsc="restofencenode1" score="+INFINITY"/>
<rsc_location id="neverloc-restofencenode1" node="node1"
rsc="restofencenode1" score="-INFINITY"/>
<rsc_location id="loc1-restofencenode3" node="node1"
rsc="restofencenode3" score="+INFINITY"/>
<rsc_location id="neverloc-restofencenode3" node="node3"
rsc="restofencenode3" score="-INFINITY"/>
</constraints>
<rsc_defaults/>
<op_defaults/>
</configuration>
</cib>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems