<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
            <div>Hi,</div><div>I've gone through a bit of testing around using Gluster as a VMWare datastore, here are my findings:</div><div><br></div><div>running VMWare vSphere 6.5 with ESXi nodes</div><div>Gluster running on Supermicro kit, 6 SAS disks with 2 SSD's for caching all carved up using LVM on to of CentOS 7.</div><div><br></div><div>I set up a 4 node cluster, ultimately to scale to 12 should this become usable, initially just using 3 nodes to satisfy quorum requirements without playing too much with default values.</div><div>The idea was to preset via NFS, have a cluster VIP and heartbeat. Obviously NFS is no longer a viable option direct from Gluster so the route I took was down the NFS-Ganesha route. Had no end of troubles using the Ganesha tools with gluster 3.10 so ended up doing the whole thing manually which seems to stand up ok.</div><div>For this I used Gluster, NFS-Ganesha with VFS connections, Pacemaker and Corrosync (still not 100% happy with the config and it needs tweaking but it does what it needs so far).</div><div><br></div><div>Next job was connecting from VMWare, I had to ensure that relevant read/write permissions were set both on the filesystem and in the Ganesha config but connection succeeded. From here was where I'm suffering a few issues.</div><div><br></div><div>If you migrate a VM into the NFS volume and then away again it doesn't clear the parent directory, it removes everything else but that, SSHing onto the ESXi server and manually trying to remove it results in 2 errors:</div><div><br></div><div>rm directory - cannot remove as it is a directory</div><div>rm -rf directory - cannot remove as it isn't a directory</div><div><br></div><div>second issue is to do with failover,&nbsp;</div><div>The VIP fails over extremely fast, but VMWare always loses connection to the volume and a weird oddity of VMware seems to be that it will not remount an NFS volume so stays unavailable.</div><div><br></div><div>I have not got over these hurdles as yet, but will persevere as performance wise and cost wise its brilliant.</div><div><br></div><div>Hope this helps, or if anyone has any clues to the above issues I'd be most grateful.</div><div><br></div><div>Regards</div><div><br></div><div>Jon</div><div><br></div>
            
            <div id="ydp23dbc6a4yahoo_quoted_8366667781" class="ydp23dbc6a4yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Friday, 25 May 2018, 18:33:09 BST,  &lt;joao@7lan.net&gt; wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="ydp23dbc6a4yiv6085847017"><div><div style="font-family:arial, sans-serif;font-size:13px;"> <br>Hi,<br><br>Does anyone have glusterfs as vmware datastore working in production in a real world case? How to serve the glusterfs cluster? As iscsi, NFS?<br><br>Thanks in advance </div></div></div>_______________________________________________<br>Gluster-users mailing list<br><a href="mailto:Gluster-users@gluster.org" rel="nofollow" target="_blank">Gluster-users@gluster.org</a><br><a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="nofollow" target="_blank">http://lists.gluster.org/mailman/listinfo/gluster-users</a></div>
                </div>
            </div></div></body></html>