failover not working

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

 



Hey All,

I was just wondering if someone could point out my errors? I currently have 3 servers in a cluster server1(dolphins), server2(lions), server3(patriots). server1 and server3 are being mirrored via DRBD. I have set up the cluster so that if server1 fails then server3 will take over. I have configured a vip to go between the 2 servers. I also do a gnbd_import on this vip from server2. The problem is when ever I pull the plug on server1 the vip never moves over to server3. here is a copy of my cluster.conf. Any help is appreciated.


<?xml version="1.0"?>
<cluster config_version="5" name="nas-cluster">
       <fence_daemon post_fail_delay="0" post_join_delay="3"/>
       <clusternodes>
               <clusternode name="dolphins" nodeid="1" votes="1">
                       <fence>
                               <method name="1">
<device name="nas-fencing" nodename="dolphins"/>
                               </method>
                       </fence>
               </clusternode>
               <clusternode name="lions" nodeid="2" votes="1">
                       <fence>
                               <method name="1">
<device name="nas-gnbd-fencing" nodename="lions"/>
                               </method>
                       </fence>
               </clusternode>
               <clusternode name="server3" nodeid="3" votes="1">
                       <fence>
                               <method name="1">
<device name="nas-fencing" nodename="server2"/>
                               </method>
                       </fence>
               </clusternode>
       </clusternodes>
       <cman/>
       <fencedevices>
<fencedevice agent="fence_gnbd" name="nas-gnbd-fencing" servers="dolphins"/>
               <fencedevice agent="fence_manual" name="nas-fencing"/>
       </fencedevices>
       <rm>
               <failoverdomains>
                       <failoverdomain name="dolphins-drbd1" ordered="1">
<failoverdomainnode name="dolphins" priority="1"/> <failoverdomainnode name="patriots" priority="2"/>
                       </failoverdomain>
<failoverdomain name="dolphins-drbd2" ordered="1" restricted="0"> <failoverdomainnode name="dolphins" priority="2"/> <failoverdomainnode name="patriots" priority="1"/>
                       </failoverdomain>
               </failoverdomains>
               <resources>
                       <ip address="192.168.5.4" monitor_link="1"/>
               </resources>
<service autostart="1" domain="dolphins-drbd1" name="dolphins-svc-drbd1" recovery="relocate">
                       <ip ref="192.168.5.4"/>
               </service>
<service autostart="1" domain="dolphins-drbd2" name="dolphins-svc-drbd2" recovery="relocate">
                       <ip ref="192.168.5.4"/>
               </service>
       </rm>
       <fence_xvmd/>
       <fence_xvmd/>
</cluster>






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

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux