Hi,

On Thu, Feb 05, 2009 at 03:22:57AM +0100, Jordi Guijarro Olivares wrote:
> Hi,
> 
> My environment it's a five Nodes Cluster under SLES 10 SP2 implementing an
> XEN HA solution.  (ISCSI - OCFS2 - HA2 - XEN )
> 
> Problem:
> 
> When I configure order constraints from a xen vm resource to a clone
> resource that implements ocfs2 via heartbeat ocf in user-space ( after mode)
> all these cluster resources are restarted during a standby or activate
> operation in any node without/with xen resources. (Only resources that have
> the order constraint configured are restarted)

Are you saying that an unrelated change restarts resources? I
think that there was an issue which has been fixed in the
meantime. If you have a sles contract, best to open a call.

Thanks,

Dejan


> Clone definition
> #####################################
> 
> <clone id="imagestorecloneset" notify="true" globally_unique="false">
>  <instance_attributes id="haimagestorecloneset">
>   <attributes>
>    <nvpair id="imagestorecloneset1" name="clone_node_max" value="1"/>
>    <nvpair id="imagestorecloneset2" name="target_role" value="started"/>
>   </attributes>
>  </instance_attributes>
>  <primitive id="imagestoreclone" class="ocf" type="Filesystem"
> provider="heartbeat">
>   <operations>
>    <op name="monitor" interval="20s" timeout="60s" prereq="nothing"
> id="imagestoreclone-op-01"/>
>   </operations>
>   <instance_attributes id="imagestoreclone">
>    <attributes>
>     <nvpair id="imagestoreclone1" name="device" value="/dev/sdd1"/>
>     <nvpair id="imagestoreclone2" name="directory" value="/mnt/xenrepo02"/>
>     <nvpair id="imagestoreclone3" name="fstype" value="ocfs2"/>
>    </attributes>
>   </instance_attributes>
>  </primitive>
> </clone>
> 
> 
> 
> VM definition
> #####################################
> 
> <primitive id="maya" class="ocf" type="Xen" provider="heartbeat">
>  <operations>
>   <op name="monitor" interval="10s" timeout="60s" prereq="nothing"
> id="xen-op-01-maya"/>
>  </operations>
>  <instance_attributes id="maya-attr">
>   <attributes>
>    <nvpair id="maya-xen-01" name="xmfile"
> value="/mnt/xenvmconfigs02/maya.cfg"/>
>    <nvpair id="maya-xen-02" name="allow_migrate" value="1"/>
>   </attributes>
>  </instance_attributes>
>   <meta_attributes id="maya-meta-01">
>       <attributes>
>         <nvpair id="maya-meta-attr-01" name="target_role" value="stopped"/>
>       </attributes>
>    </meta_attributes>
> </primitive>
> 
> 
> Order definition
> #####################################
> 
> <constraints>
> <rsc_order id="maya_order_constraints01" from="maya"
> to="imagestorecloneset"/>
> </constraints>
> 
> 
> Thanks in advance,
> 
> JOrdi
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to