All,
My last email had the wrong set of xml files..I've enclosed the correct ones
here.
-Frank
> -----Original Message-----
> From: [email protected] [mailto:openais-
> [email protected]] On Behalf Of Frank DiMeo
> Sent: Tuesday, November 17, 2009 3:49 PM
> To: Andrew Beekhof
> Cc: [email protected]
> Subject: Re: [Openais] Problem stoping Corosync+Pacemaker
>
> Hi,
>
> I'm running a two node cluster and trying to control process collocation.
> I have two resources defined, and have two different xml files that I use
> to configure the cluster (which are enclosed). The xml files are
> identical except that one specifies that the resources are sequential
> while the other does not. I thought that the resources would always be
> collocated, but that they would either start sequentially or not,
> depending on the assignment of "sequential=" in the resource_set tag.
>
> What actually happens is that the resources collocate if the
> sequential="true", but they do not collocate if sequential="false". I
> thought that "sequential" only affected the startup sequence of the
> resources, but that the resources would always collocate.
>
> Did I misunderstand the documentation?
>
> -Thanks in advance for your comments.
>
> -Frank
>
>
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" dc-uuid="ubuntu_2" admin_epoch="3" epoch="28" num_updates="8">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="option-1" name="symmetric-cluster" value="true"/>
<nvpair id="option-2" name="no-quorum-policy" value="ignore"/>
<nvpair id="option-3" name="stonith-enabled" value="false"/>
<nvpair id="option-4" name="cluster-delay" value="2"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="ubuntu_2" uname="ubuntu_2" type="normal"/>
<node id="ubuntu_1" uname="ubuntu_1" type="normal"/>
</nodes>
<resources>
<primitive id="eyes" class="ocf" type="eyestest" provider="bbnd">
<operations>
<op id="eyescheck" name="monitor" interval="10s" requires="nothing" on-fail="restart"/>
</operations>
</primitive>
<primitive id="clock" class="ocf" type="clocktest" provider="bbnd">
<operations>
<op id="clockcheck" name="monitor" interval="10s" requires="nothing" on-fail="restart"/>
</operations>
</primitive>
</resources>
<constraints>
<rsc_colocation id="coloc-1" score="INFINITY">
<resource_set id="collocated-set-1" sequential="true">
<resource_ref id="eyes"/>
<resource_ref id="clock"/>
</resource_set>
</rsc_colocation>
</constraints>
</configuration>
</cib>
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" dc-uuid="ubuntu_2" admin_epoch="3" epoch="28" num_updates="8">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="option-1" name="symmetric-cluster" value="true"/>
<nvpair id="option-2" name="no-quorum-policy" value="ignore"/>
<nvpair id="option-3" name="stonith-enabled" value="false"/>
<nvpair id="option-4" name="cluster-delay" value="2"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="ubuntu_2" uname="ubuntu_2" type="normal"/>
<node id="ubuntu_1" uname="ubuntu_1" type="normal"/>
</nodes>
<resources>
<primitive id="eyes" class="ocf" type="eyestest" provider="bbnd">
<operations>
<op id="eyescheck" name="monitor" interval="10s" requires="nothing" on-fail="restart"/>
</operations>
</primitive>
<primitive id="clock" class="ocf" type="clocktest" provider="bbnd">
<operations>
<op id="clockcheck" name="monitor" interval="10s" requires="nothing" on-fail="restart"/>
</operations>
</primitive>
</resources>
<constraints>
<rsc_colocation id="coloc-1" score="INFINITY">
<resource_set id="collocated-set-1" sequential="false">
<resource_ref id="eyes"/>
<resource_ref id="clock"/>
</resource_set>
</rsc_colocation>
</constraints>
</configuration>
</cib>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais