Cluster gets stopped

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi

I am using a two node cluster to achieve high availability.

I am basically testing a scenario where in if i shutdown my node (node-1) then the other node (node-2) should start functioning like node-1. Currently what i am observing is that the entire cluster gets into "Stopped" state.

Here is my cluster.conf file

************************
<?xml version="1.0"?>
<cluster config_version="4" name="****">
        <clusternodes>
                <clusternode name="node-103" nodeid="1">
                        <fence>
                                <method name="Method01">
                                        <device name="node-103"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="node-105" nodeid="2">
                        <fence>
                                <method name="Method02">
                                        <device name="node-105"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices>
<fencedevice agent="fence_ipmilan" auth="password" ipaddr="x.x.x.x" lanplus="on" login="admin" name="node-103" passwd="*****" privlvl="ADMINISTRATOR"/> <fencedevice agent="fence_ipmilan" auth="password" ipaddr="x.x.x.x" lanplus="on" login="admin" name="node-105" passwd="******" privlvl="ADMINISTRATOR"/>
        </fencedevices>
        <fence_daemon post_join_delay="120"/>
        <rm>
                <resources>
<netfs export="/test" force_unmount="1" fstype="nfs" host="x.x.x.x" mountpoint="/test/test/test" name="test123"/>
                        <ip address="x.x.x.x" sleeptime="5"/>
<script file="/opt/infra/appliance-mgr/bin/am_svcs.sh" name="am_svcs"/>
                </resources>
                <failoverdomains>
<failoverdomain name="Failover01" nofailback="1" ordered="1"> <failoverdomainnode name="node-103" priority="1"/> <failoverdomainnode name="node-105" priority="2"/>
                        </failoverdomain>
                </failoverdomains>
<service domain="Failover01" name="Service01" recovery="relocate">
                        <ip ref="x.x.x.x"/>
                        <netfs ref="test123"/>
                        <script ref="am_svcs"/>
                </service>
        </rm>
</cluster>
****************************************

Thanks
Jatin
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux