R: [Linux-cluster] Cluster Centos - Don't switch resource

mulach mulach at libero.it
Mon Sep 22 15:24:31 UTC 2008


I changed recovery="restart" to  relocate, but don’t work. I understood what
means Try using quorum partition to solve this problem

 

 

  _____  

Da: linux-cluster-bounces at redhat.com
[mailto:linux-cluster-bounces at redhat.com] Per conto di Grisha G.
Inviato: lunedì 22 settembre 2008 11.43
A: linux clustering
Oggetto: Re: [Linux-cluster] Cluster Centos - Don't switch resource

 


Try changing   recovery="restart" to  relocate if that wont work, check if
your fencing works properly
If your node don't get fenced the other node will not take the service from
the failed node.
Try using quorum partition to solve this problem

Grisha

On Mon, Sep 22, 2008 at 10:07 AM, Alex <linux at vfemail.net> wrote:

Take a look here, for a working example. It worked for me:
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Cl
uster_Administration/ap-httpd-service-CA.html

Regards,
Alx


On Monday 22 September 2008 09:56, mulach at libero.it wrote:
> Hi,
>
> in Centos 5.2 i had create a cluster with Conga(two node has been in
vmware
> server). The problem is that when a node fail, don't switch the service.
> Below the cluster.conf
>
> --------------------------------
> <?xml version="1.0"?>
> <cluster alias="SecondCluster" config_version="23" name="SecondCluster">
>  <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
>  <clusternodes>
>   <clusternode name="clu1.localdomain" nodeid="1" votes="1">
>    <fence>
>     <method name="1"/>
>    </fence>
>   </clusternode>
>   <clusternode name="clu2.localdomain" nodeid="2" votes="1">
>    <fence>
>     <method name="1"/>
>    </fence>
>   </clusternode>
>  </clusternodes>
>  <cman expected_votes="1" two_node="1"/>
>  <fencedevices/>
>  <rm>
>   <failoverdomains>
>    <failoverdomain name="fail" ordered="1" restricted="1">
>     <failoverdomainnode name="clu1.localdomain" priority="1"/>
>     <failoverdomainnode name="clu2.localdomain" priority="2"/>
>    </failoverdomain>
>   </failoverdomains>
>   <resources>
>    <ip address="192.168.80.201" monitor_link="1"/>
>    <fs device="/dev/sdb1" force_fsck="0" force_unmount="0" fsid="45662"
> fstype="ext3" mountpoint="/mnt/sdc" name="Share" options=""
> self_fence="0"/> </resources>
>   <service autostart="1" domain="fail" exclusive="1" name="IPS"
> recovery="restart"> <ip ref="192.168.80.201"/>
>    <fs ref="Share"/>
>   </service>
>  </rm>
>  <fence_xvmd/>
> </cluster>
>
> --------------------------------
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster

 

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.7.0/1683 - Release Date: 21/09/2008
10.10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080922/ade7b6f9/attachment.htm>


More information about the Linux-cluster mailing list