[Linux-cluster] GFS2 cluster and fencing

Ian Hayes cthulhucalling at gmail.com
Wed Jun 10 21:21:41 UTC 2009


Have you tried changing clean_start="0" to 1?

On Wed, Jun 10, 2009 at 1:54 PM, Ray Van Dolson <rvandolson at esri.com> wrote:

> I'm setting up a simple 5 node "cluster" basically just for using a
> shared GFS2 filesystem between the nodes.
>
> I'm not really concerned about HA, I just want to be able to have all
> the nodes accessing the same block device (iSCSI)
>
> <?xml version="1.0"?>
> <cluster alias="pds" config_version="6" name="pds">
>  <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
>  <clusternodes>
>    <clusternode name="pds27.esri.com" nodeid="1" votes="1">
>      <fence>
>        <method name="human">
>          <device name="human" nodename="pds27.esri.com"/>
>        </method>
>      </fence>
>    </clusternode>
>    <clusternode name="pds28.esri.com" nodeid="2" votes="1">
>      <fence>
>        <method name="human">
>          <device name="human" nodename="pds28.esri.com"/>
>        </method>
>      </fence>
>    </clusternode>
>    <clusternode name="pds29.esri.com" nodeid="3" votes="1">
>      <fence>
>        <method name="human">
>          <device name="human" nodename="pds29.esri.com"/>
>        </method>
>      </fence>
>    </clusternode>
>    <clusternode name="pds30.esri.com" nodeid="4" votes="1">
>      <fence>
>        <method name="human">
>          <device name="human" nodename="pds30.esri.com"/>
>        </method>
>      </fence>
>    </clusternode>
>    <clusternode name="pds30.esri.com" nodeid="5" votes="1">
>      <fence>
>        <method name="human">
>          <device name="human" nodename="pds30.esri.com"/>
>        </method>
>      </fence>
>    </clusternode>
>  </clusternodes>
>  <cman expected_votes="1"/>
>  <fencedevices>
>    <fencedevice name="human" agent="fence_manual"/>
>  </fencedevices>
> </cluster>
>
> In my thinking this sets up a cluster where only one node need be up to
> have quorum, and manual fencing is done for each node.
>
> However, when I start up the first node in the cluster, the fencing
> daemon hangs complaining about not being able to fence the other nodes.
> I have to run fence_ack_manual -n <nodename> for all the other nodes,
> then things start up fine.
>
> Is there a way to make the node just assume all the other nodes are
> fine and start up?  Am I really running much risk of the GFS2
> filesystem failing out?
>
> Thanks,
> Ray
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20090610/c4894d10/attachment.htm>


More information about the Linux-cluster mailing list