start cluster with only one node present?

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

 



Hi folks,

i'm testing a two node cluster (on redhat 5.4, hp dl380g3). I'm using
fence_ilo,  have a quorum disk (*cluster.conf) and have an IP resource
and GFS2 mount point.

Every think works well, until I completely disconnect the power from
one node (ex. node1).

Now node2 can't fence node1 (since there is no connection to the fence
ilo device) and I can't start the cluster at all. When I try to reboot
node2 it hangs on Starting fencing...

I guess my question is: Is there a way to start the cluster if only
one node is present?

Thank you for any input.

*cluster.conf
<?xml version="1.0"?>
<cluster alias="hpcluster" config_version="16" name="hpcluster">
       <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
       <clusternodes>
               <clusternode name="node2.domain.com" nodeid="1" votes="1">
                       <fence>
                               <method name="1">
                                       <device name="node2-ilo"/>
                               </method>
                       </fence>
               </clusternode>
               <clusternode name="node1.domain.com" nodeid="2" votes="1">
                       <fence>
                               <method name="1">
                                       <device name="node1-ilo"/>
                               </method>
                       </fence>
               </clusternode>
       </clusternodes>
       <cman expected_votes="3" two_node="0"/>
       <fencedevices>
               <fencedevice agent="fence_ilo" hostname="node1-ilo"
login="admin" name="node1-ilo" passwd="admin"/>
               <fencedevice agent="fence_ilo" hostname="node2-ilo"
login="admin" name="node2-ilo" passwd="admin"/>
       </fencedevices>
       <rm>
               <failoverdomains/>
               <resources>
                       <ip address="10.10.10.15" monitor_link="1"/>
               </resources>
               <service autostart="0" exclusive="0" name="myservice"
recovery="relocate">
                       <ip ref="10.10.10.15"/>
               </service>
       </rm>
       <quorumd device="/dev/emcpowerb1" votes="1" status_file="/tmp/qdisk">
               <heuristic program="ping 10.10.10.1 -c1 -t1" />
       </quorumd>
</cluster>



--
Glisha

--
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