Hi
When I'm trying to add constraints on a resource with the hb_gui, by
setting
only ID, Resource, Score and Node, I've got some errors :
ERROR: Expecting an element rule, got nothing
ERROR: Element constraints has extra content: rsc_location
ERROR: Invalid sequence in interleave
ERROR: Element configuration failed to validate content
ERROR: Element cib failed to validate content
Did I miss something somewhere ?
Could someone help me on this , because I'm stalled on this ...
Perhaps it is for same reason that crm_verify returns :
[r...@devha0 scriptsForHA_ST]# crm_verify -L -V
crm_verify[27820]: 2009/07/16_16:31:45 WARN: native_color: Resource res-mv-01
cannot run anywhere
Warnings found during check: config may not be valid
or it returns this because I can't set constraints ...
Thanks
Alain
_By the way my cib.xml is :_
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1"
admin_epoch="0" epoch="107" num_updates="0"
b-last-written="Thu Jul 16 15:54:56 2009"
dc-uuid="dba5c8fb-49f5-4a59-87c6-0efb350db76e">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.0.4-6dede86d6105786af3a5321ccf66b44b69
f0aa"/>
<nvpair id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="Heartbeat"/>
<nvpair id="cib-bootstrap-options-symmetric-cluster"
name="symmetric-cluster" value="false"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="dba5c8fb-49f5-4a59-87c6-0efb350db76e" uname="node0"
type="normal"/>
<node id="0d6e5979-1082-4eb3-93b0-497f9095e98e" uname="node1"
type="normal"/>
</nodes>
<resources>
<primitive class="ocf" id="res-mv-01" provider="pacemaker" type="kvm">
<meta_attributes id="res-mv-01-meta_attributes">
<nvpair id="res-mv-01-meta_attributes-target-role" name="target-role"
value="Started"/>
</meta_attributes>
<operations id="res-mv-01-operations">
<op id="res-mv-01-op-monitor-60-0" interval="60" name="monitor"
start-delay="45" timeout="30"/>
<op id="res-mv-01-op-stop-0" interval="0" name="stop" timeout="60"/>
<op id="res-mv-01-op-start-0" interval="0" name="start" timeout="60"/>
</operations>
<instance_attributes id="res-mv-01-instance_attributes">
<nvpair id="res-mv-01-instance_attributes-ip" name="ip"
value="101.1.2.32"/>
<nvpair id="res-mv-01-instance_attributes-domainname"
name="domainname" value="domaine61"/>
</instance_attributes>
</primitive>
</resources>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems