<div dir="ltr">Thank you for the reply.<div><br></div><div>It is a bit concerning that you mention Gluster 3.8 and 3.9 set up of NFS-Ganesha is not stable.</div><div><br></div><div>Regarding SMB, I am using SMB with CTDB and it works great. However, I would also like the ability to export NFS mounts as well. I have read about using CTDB for HA NFS. Is that a viable/better solution?</div><div><br></div><div>Thanks,</div><div><br></div><div>HB</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 7, 2018 at 12:51 AM, David Spisla <span dir="ltr"><<a href="mailto:spisla80@gmail.com" target="_blank">spisla80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello Herbs,</div><div>this setup is not as easy as it sounds. Here you can find additional setup instructions (look for the chapter of NFS-Ganesha HA):</div><div><a href="https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.2/pdf/administration_guide/Red_Hat_Gluster_Storage-3.2-Administration_Guide-en-US.pdf" target="_blank">https://access.redhat.com/<wbr>documentation/en-us/red_hat_<wbr>gluster_storage/3.2/pdf/<wbr>administration_guide/Red_Hat_<wbr>Gluster_Storage-3.2-<wbr>Administration_Guide-en-US.pdf</a></div><div><br></div><div>Maybe you should use Gluster3.10 because the setup for 3.9 and 3.8 is not stable. With Gluster 3.10 I had a stable HA-Cluster.<br></div><div>Also you should be aware of the fact, that since Gluster 3.11 this setup may not work because the Developers switching to storhaug:</div><div><a href="https://github.com/linux-ha-storage/storhaug/blob/master/README.md" target="_blank">https://github.com/linux-ha-<wbr>storage/storhaug/blob/master/<wbr>README.md</a></div><div><br></div><div>At the moment there is confusing in the coummunity about that issue. Storhaug is not complete and still under development.</div><div>I don't know if my informations are up-to-date. Because of that fact I was switching to Samba (SMB). You can also have a HA Cluster with Samba/CTDB.</div><div><br></div><div>Regards</div><div>David Spisla<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2018-08-07 4:40 GMT+02:00 Herb Burnswell <span dir="ltr"><<a href="mailto:herbert.burnswell@gmail.com" target="_blank">herbert.burnswell@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>All,</div><div><br></div><div>I would like to set up HA NFS (Active/Active) on our 2 node gluster environment using NFS-Ganesha.</div><div><br></div><div>Specs:</div><div><br></div><div>- RHEL 7</div><div>- glusterfs 3.8.15 built on Aug 16 2017 14:48:01</div><div><br></div><div>I am following this process in this documentation, however it is confusing to me:</div><div><br></div><div><a href="https://docs.gluster.org/en/v3/Administrator%20Guide/NFS-Ganesha%20GlusterFS%20Integration/" target="_blank">https://docs.gluster.org/en/v3<wbr>/Administrator%20Guide/NFS-Gan<wbr>esha%20GlusterFS%20Integration<wbr>/</a></div><div><br></div><div>I already had Pacemaker/Corosync up and running on the our 2 node gluster environment with fence resources on each.</div><div><br></div><div>After the package installs and confirming "Pre-requisites to run NFS-Ganesha", here is what I've done:</div><div><br></div><div>1. # gluster volume set all cluster.enable-shared-storage enable</div><div><br></div><div>2. Create /etc/ganesha/ganesha-ha.conf file (scrubbed. I'm also assuming that HA_NAME should be equal to the already created pacemaker cluster name):</div><div><br></div><div>#</div><div># HA File</div><div><br></div><div>HA_NAME="clustername"</div><div>HA_CLUSTER_NODES="server1,serv<wbr>er2"</div><div><br></div><div>VIP_server1="10.19.3.66"</div><div>VIP_server2="10.19.3.67"</div><div><br></div><div>3. # gluster nfs-ganesha enable</div><div>Enabling NFS-Ganesha requires Gluster-NFS to be disabled across the trusted pool. Do you still want to continue?</div><div> (y/n) y</div><div>This will take a few minutes to complete. Please wait ..</div><div>nfs-ganesha : success </div><div><br></div><div><br></div><div>4. # gluster volume set vol1 ganesha.enable on</div><div>volume set: success</div><div><br></div><div>At this point I can see the export available:</div><div><br></div><div># showmount -e</div><div>Export list for server1:</div><div>/vol1 (everyone)</div><div><br></div><div>And I can successfully mount the export from another server.</div><div><br></div><div>However, nothing appears to be done regarding HA. nfs-ganesha is not started on server2 and no additional resources are created in pacemaker.</div><div><br></div><div>Can anyone provide guidance as to what I may be doing incorrectly?</div><div><br></div><div>Thanks,</div><div><br></div><div>HB</div></div>
<br></div></div>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mail<wbr>man/listinfo/gluster-users</a><br></blockquote></div><br></div>
</blockquote></div><br></div>