<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 28, 2016 at 11:08 AM, Kris Laib <span dir="ltr">&lt;<a href="mailto:Kris.Laib@nwea.org" target="_blank">Kris.Laib@nwea.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Soumya,<br>
<br>
CTDB failover works great if the server crashes or the NIC is pulled, but I don&#39;t believe there&#39;s anything in the CTDB setup that would cause it to realize there is a problem if only the glusterfs process responsible for serving NFS is killed but network connectivity with other CTDB nodes remains intact.     If others are able to kill just the PID for the associated &quot;NFS Server on localhost&quot; process and have CTDB issue a failover, I&#39;d be very interested to know how their setup differs from mine.<br>
<br></blockquote><div><br></div><div>I think you can achieve that by CTDB_MANAGES_NFS option. Refer to last four sections on this link  <a href="https://ctdb.samba.org/nfs.html">https://ctdb.samba.org/nfs.html</a> . I have not personally used this option and because this is gluster-NFS and not kernel NFS, you might have to edit the scripts like  /etc/ctdb/events.d/60.nfs.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Thanks for the nfs-ganesha suggestion, I&#39;m not very familiar with that option and don&#39;t have enough time in my timeline to properly test it before moving to production, but I will look into it further for a possible solution down the road or if my deadline gets extended.   The FUSE client may be a good option for us as well, but I can&#39;t seem to get speeds higher than 30 MB/s using the Gluster FUSE client (I posted more details on that earlier today to this group as well, looking for advice there).<br>
<br>
-Kris<br>
<br>
________________________________________<br>
From: Soumya Koduri &lt;<a href="mailto:skoduri@redhat.com">skoduri@redhat.com</a>&gt;<br>
Sent: Wednesday, January 27, 2016 8:15 PM<br>
To: Kris Laib; <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
Subject: Re: [Gluster-users] How to maintain HA using NFS clients if the NFS daemon process gets killed on a gluster node?<br>
<div class=""><div class="h5"><br>
On 01/27/2016 09:39 PM, Kris Laib wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; We&#39;re getting ready to roll out Gluster using standard NFS from the<br>
&gt; clients, and CTDB and RRDNS to help facilitate HA.   I thought we were<br>
&gt; good to know, but recently had an issue where there wasn&#39;t enough memory<br>
&gt; on one of the gluster nodes in a test cluster, and OOM killer took out<br>
&gt; the NFS daemon process.   Since there was still IP traffic between nodes<br>
&gt; and the gluster-based local CTDB mount for the lock file was intact,<br>
&gt; CTDB didn&#39;t kick in an initiate failover, and all clients connected to<br>
<br>
For gluster-NFS, CTDB is typically configured to maintain high<br>
availability and I guess you have done the same. Could you check why<br>
CTDB hasn&#39;t initiated IP failover?<br>
<br>
An alternative solution is to use nfs-ganesha [1][2] to provide NFS<br>
support for gluster volumes and can be configured to maintain HA using<br>
gluster CLI.<br>
<br>
Thanks,<br>
Soumya<br>
<br>
[1]<br>
<a href="http://blog.gluster.org/2015/10/linux-scale-out-nfsv4-using-nfs-ganesha-and-glusterfs-one-step-at-a-time/" rel="noreferrer" target="_blank">http://blog.gluster.org/2015/10/linux-scale-out-nfsv4-using-nfs-ganesha-and-glusterfs-one-step-at-a-time/</a><br>
<br>
[2]<br>
<a href="http://gluster.readthedocs.org/en/latest/Administrator%20Guide/NFS-Ganesha%20GlusterFS%20Intergration/" rel="noreferrer" target="_blank">http://gluster.readthedocs.org/en/latest/Administrator%20Guide/NFS-Ganesha%20GlusterFS%20Intergration/</a><br>
(section# Using Highly Available Active-Active NFS-Ganesha And GlusterFS<br>
cli)<br>
<br>
&gt; the node where NFS was killed lost their connections.   We&#39;ll obviously<br>
&gt; fix the lack of memory, but going forward how can we protect against<br>
&gt; clients getting disconnected if the NFS daemon should be stopped for any<br>
&gt; reason?<br>
&gt;<br>
&gt; Our cluster is 3 nodes, 1 is a silent witness node to help with split<br>
&gt; brain, and the other 2 host the volumes with one brick per node, and 1x2<br>
&gt; replication.<br>
&gt;<br>
&gt; Is there something incorrect about my setup, or is this a known downfall<br>
&gt; to using standard NFS mounts with gluster?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Kris<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br></div></div>