<font size=2 face="sans-serif">Dear All,</font>
<br>
<br><font size=2 face="sans-serif">Can we create Active Active NFS using
CTDB, if yes please help with configuration steps.</font>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
Chandrahasa S<br>
</font>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Michael DePaulo &lt;mikedep333@gmail.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Peter Auyeung &lt;pauyeung@shopzilla.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">gluster-users &lt;gluster-users@gluster.org&gt;,
Chandrahasa S &lt;chandrahasa.s@tcs.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">08/31/2014 09:47 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [Gluster-users]
Gluster for Vmware</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Hi Peter,</font>
<p><font size=3>On Aug 26, 2014 2:18 AM, &quot;Peter Auyeung&quot; &lt;</font><a href=mailto:pauyeung@shopzilla.com><font size=3 color=blue><u>pauyeung@shopzilla.com</u></font></a><font size=3>&gt;
wrote:<br>
&gt;<br>
&gt; You can use ctdb for nfs failover<br>
&gt;<br>
&gt; But I do want to know if we can use native glusterfs client for vmware<br>
&gt;<br>
&gt; Peter</font>
<p><font size=3>I did done research and it looks like the native GlusterFS
client is not available for ESXi. The primary reason is probably that FUSE
is not available for ESXi.</font>
<p><font size=3>If you do not need all the features of vSphere, you might
try VMware Workstation running in server mode on top of Linux. I'm sure
that will work with GlusterFS.</font><font size=3 color=blue><u><br>
</u></font><a href="http://blogs.vmware.com/workstation/2012/02/vmware-workstation-8-as-an-alternative-to-vmware-server.html"><font size=3 color=blue><u>http://blogs.vmware.com/workstation/2012/02/vmware-workstation-8-as-an-alternative-to-vmware-server.html</u></font></a>
<p><font size=3>-Mike</font>
<p><font size=3>&gt; On Aug 25, 2014, at 9:28 PM, &quot;Chandrahasa S&quot;
&lt;</font><a href=mailto:chandrahasa.s@tcs.com><font size=3 color=blue><u>chandrahasa.s@tcs.com</u></font></a><font size=3>&gt;
wrote:<br>
&gt;<br>
&gt;&gt; I am thinking to User Gluster Volume for creation of Data store
in Vmware. <br>
&gt;&gt;<br>
&gt;&gt; I can use NFS but I wont get &nbsp;HA and Load balancing like
glusterfs. <br>
&gt;&gt;<br>
&gt;&gt; Chandra <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; From: &nbsp; &nbsp; &nbsp; &nbsp;&quot;John G. Heim&quot; &lt;</font><a href=mailto:jheim@math.wisc.edu><font size=3 color=blue><u>jheim@math.wisc.edu</u></font></a><font size=3>&gt;
<br>
&gt;&gt; To: &nbsp; &nbsp; &nbsp; &nbsp;Chandrahasa S &lt;</font><a href=mailto:chandrahasa.s@tcs.com><font size=3 color=blue><u>chandrahasa.s@tcs.com</u></font></a><font size=3>&gt;,
</font><a href="mailto:gluster-users@gluster.org"><font size=3 color=blue><u>gluster-users@gluster.org</u></font></a><font size=3>
<br>
&gt;&gt; Date: &nbsp; &nbsp; &nbsp; &nbsp;08/25/2014 06:49 PM <br>
&gt;&gt; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: [Gluster-users] Gluster
for Vmware <br>
&gt;&gt; ________________________________<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Do you mean you want to mount a gluster volume on a virtual machine?
You can do that the same way you'd do it on a real machine. &nbsp;You can
probably even create a brick on a virtual machine but I don't see much
point in that. <br>
&gt;&gt;<br>
&gt;&gt; But we regularly mount our gluster volume on virtual machines.
&nbsp;We use debian so it's as simple as this:<br>
&gt;&gt;<br>
&gt;&gt; 1. service glusterfs-server start<br>
&gt;&gt; 2. mount -t glusterfs localhost:/volumename /mountpoint<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 08/25/2014 12:06 AM, Chandrahasa S wrote: <br>
&gt;&gt; Dear All, <br>
&gt;&gt;<br>
&gt;&gt; Is there any way to use Glusterfs volume for Vmware environment.
<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Chandra. <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; From: &nbsp; &nbsp; &nbsp; &nbsp;Ben Turner &lt;</font><a href=mailto:bturner@redhat.com><font size=3 color=blue><u>bturner@redhat.com</u></font></a><font size=3>&gt;
<br>
&gt;&gt; To: &nbsp; &nbsp; &nbsp; &nbsp;Juan José Pavlik Salles &lt;</font><a href=mailto:jjpavlik@gmail.com><font size=3 color=blue><u>jjpavlik@gmail.com</u></font></a><font size=3>&gt;
<br>
&gt;&gt; Cc: &nbsp; &nbsp; &nbsp; &nbsp;</font><a href="mailto:gluster-users@gluster.org"><font size=3 color=blue><u>gluster-users@gluster.org</u></font></a><font size=3>
<br>
&gt;&gt; Date: &nbsp; &nbsp; &nbsp; &nbsp;08/22/2014 08:57 PM <br>
&gt;&gt; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: [Gluster-users] Gluster
3.5.2 gluster, how does cache work? <br>
&gt;&gt; Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</font><a href="mailto:gluster-users-bounces@gluster.org"><font size=3 color=blue><u>gluster-users-bounces@gluster.org</u></font></a><font size=3>
<br>
&gt;&gt; ________________________________<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ----- Original Message -----<br>
&gt;&gt; &gt; From: &quot;Juan José Pavlik Salles&quot; &lt;</font><a href=mailto:jjpavlik@gmail.com><font size=3 color=blue><u>jjpavlik@gmail.com</u></font></a><font size=3>&gt;<br>
&gt;&gt; &gt; To: </font><a href="mailto:gluster-users@gluster.org"><font size=3 color=blue><u>gluster-users@gluster.org</u></font></a><font size=3><br>
&gt;&gt; &gt; Sent: Thursday, August 21, 2014 4:07:28 PM<br>
&gt;&gt; &gt; Subject: [Gluster-users] Gluster 3.5.2 gluster, how does
cache work?<br>
&gt;&gt; &gt; <br>
&gt;&gt; &gt; Hi guys, I've been reading a bit about caching in gluster
volumes, but I<br>
&gt;&gt; &gt; still don't get a few things. I set up a gluster replica
2 volume like this:<br>
&gt;&gt; &gt; <br>
&gt;&gt; &gt; [root@gluster-test-1 ~]# gluster vol info vol_rep<br>
&gt;&gt; &gt; Volume Name: vol_rep<br>
&gt;&gt; &gt; Type: Replicate<br>
&gt;&gt; &gt; Volume ID: b77db06d-2686-46c7-951f-e43bde21d8ec<br>
&gt;&gt; &gt; Status: Started<br>
&gt;&gt; &gt; Number of Bricks: 1 x 2 = 2<br>
&gt;&gt; &gt; Transport-type: tcp<br>
&gt;&gt; &gt; Bricks:<br>
&gt;&gt; &gt; Brick1: gluster-test-1:/ladrillos/l1/l<br>
&gt;&gt; &gt; Brick2: gluster-test-2:/ladrillos/l1/l<br>
&gt;&gt; &gt; Options Reconfigured:<br>
&gt;&gt; &gt; performance.cache-min-file-size: 90MB<br>
&gt;&gt; &gt; performance.cache-max-file-size: 256MB<br>
&gt;&gt; &gt; performance.cache-refresh-timeout: 60<br>
&gt;&gt; &gt; performance.cache-size: 256MB<br>
&gt;&gt; &gt; [root@gluster-test-1 ~]#<br>
&gt;&gt; &gt; <br>
&gt;&gt; &gt; Then I mounted the volume with gluster client on another
machine. I created<br>
&gt;&gt; &gt; an 80Mbytes file called 80, and here you have the reading
test:<br>
&gt;&gt; &gt; <br>
&gt;&gt; &gt; [root@gluster-client-1 gluster_vol]# dd if=/mnt/gluster_vol/80
of=/dev/null<br>
&gt;&gt; &gt; bs=1M<br>
&gt;&gt; &gt; 80+0 records in<br>
&gt;&gt; &gt; 80+0 records out<br>
&gt;&gt; &gt; 83886080 bytes (84 MB) copied, 1,34145 s, 62,5 MB/s<br>
&gt;&gt; &gt; [root@gluster-client-1 gluster_vol]# dd if=/mnt/gluster_vol/80
of=/dev/null<br>
&gt;&gt; &gt; bs=1M<br>
&gt;&gt; &gt; 80+0 records in<br>
&gt;&gt; &gt; 80+0 records out<br>
&gt;&gt; &gt; 83886080 bytes (84 MB) copied, 0,0246918 s, 3,4 GB/s<br>
&gt;&gt; &gt; [root@gluster-client-1 gluster_vol]# dd if=/mnt/gluster_vol/80
of=/dev/null<br>
&gt;&gt; &gt; bs=1M<br>
&gt;&gt; &gt; 80+0 records in<br>
&gt;&gt; &gt; 80+0 records out<br>
&gt;&gt; &gt; 83886080 bytes (84 MB) copied, 0,0195678 s, 4,3 GB/s<br>
&gt;&gt; &gt; [root@gluster-client-1 gluster_vol]#<br>
&gt;&gt;<br>
&gt;&gt; You are seeing the effect of client side kernel caching. &nbsp;If
you want to see the actual throughput for reads run:<br>
&gt;&gt;<br>
&gt;&gt; sync; echo 3 &gt; /proc/sys/vm/drop_caches; dd blah<br>
&gt;&gt;<br>
&gt;&gt; Kernel caching happens on both the client and server side, when
I want to see uncached performance I drop caches on both clients and servers:<br>
&gt;&gt;<br>
&gt;&gt; run_drop_cache()<br>
&gt;&gt; {<br>
&gt;&gt; &nbsp; for host in $MASTERNODE $NODE $CLIENT<br>
&gt;&gt; &nbsp; do<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; ssh -i /root/.ssh/my_id root@${host} echo
&quot;Dropping cache on $host&quot;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; ssh -i /root/.ssh/my_id root@${host} sync<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; ssh -i /root/.ssh/my_id root@${host} &quot;echo
3 &gt; /proc/sys/vm/drop_caches&quot;<br>
&gt;&gt; &nbsp; done<br>
&gt;&gt; }<br>
&gt;&gt;<br>
&gt;&gt; HTH!<br>
&gt;&gt;<br>
&gt;&gt; -b<br>
&gt;&gt;<br>
&gt;&gt; &gt; Cache is working flawlessly, (even though that 80 Mbytes
is smaller than the<br>
&gt;&gt; &gt; min-file-size value, but I don't care about it right now)
what I don't get<br>
&gt;&gt; &gt; is where cache is being stored. Is it stored on the client
side or on the<br>
&gt;&gt; &gt; server side? According to documentation, the io-cache translator
could be<br>
&gt;&gt; &gt; loaded on both sides (client and server), how can I know
where it is being<br>
&gt;&gt; &gt; loeaded? It looks like as it was being stored locally because
of the speed,<br>
&gt;&gt; &gt; but I'd like to be sure.<br>
&gt;&gt; &gt; <br>
&gt;&gt; &gt; Thanks!<br>
&gt;&gt; &gt; <br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Pavlik Salles Juan José<br>
&gt;&gt; &gt; Blog - </font><a href=http://viviendolared.blogspot.com/><font size=3 color=blue><u>http://viviendolared.blogspot.com</u></font></a><font size=3><br>
&gt;&gt; &gt; <br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Gluster-users mailing list<br>
&gt;&gt; &gt; </font><a href="mailto:Gluster-users@gluster.org"><font size=3 color=blue><u>Gluster-users@gluster.org</u></font></a><font size=3><br>
&gt;&gt; &gt; </font><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"><font size=3 color=blue><u>http://supercolony.gluster.org/mailman/listinfo/gluster-users</u></font></a><font size=3><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-users mailing list<br>
&gt;&gt; </font><a href="mailto:Gluster-users@gluster.org"><font size=3 color=blue><u>Gluster-users@gluster.org</u></font></a><font size=3><br>
&gt;&gt; </font><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"><font size=3 color=blue><u>http://supercolony.gluster.org/mailman/listinfo/gluster-users</u></font></a><font size=3><br>
&gt;&gt;<br>
&gt;&gt; =====-----=====-----=====<br>
&gt;&gt; Notice: The information contained in this e-mail<br>
&gt;&gt; message and/or attachments to it may contain <br>
&gt;&gt; confidential or privileged information. If you are <br>
&gt;&gt; not the intended recipient, any dissemination, use, <br>
&gt;&gt; review, distribution, printing or copying of the <br>
&gt;&gt; information contained in this e-mail message <br>
&gt;&gt; and/or attachments to it are strictly prohibited. If <br>
&gt;&gt; you have received this communication in error, <br>
&gt;&gt; please notify us by reply e-mail or telephone and <br>
&gt;&gt; immediately and permanently delete the message <br>
&gt;&gt; and any attachments. Thank you<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-users mailing list<br>
&gt;&gt; </font><a href="mailto:Gluster-users@gluster.org"><font size=3 color=blue><u>Gluster-users@gluster.org</u></font></a><font size=3><br>
&gt;&gt; </font><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"><font size=3 color=blue><u>http://supercolony.gluster.org/mailman/listinfo/gluster-users</u></font></a><font size=3>
<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-users mailing list<br>
&gt;&gt; </font><a href="mailto:Gluster-users@gluster.org"><font size=3 color=blue><u>Gluster-users@gluster.org</u></font></a><font size=3><br>
&gt;&gt; </font><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"><font size=3 color=blue><u>http://supercolony.gluster.org/mailman/listinfo/gluster-users</u></font></a><font size=3><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; </font><a href="mailto:Gluster-users@gluster.org"><font size=3 color=blue><u>Gluster-users@gluster.org</u></font></a><font size=3><br>
&gt; </font><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"><font size=3 color=blue><u>http://supercolony.gluster.org/mailman/listinfo/gluster-users</u></font></a>
<p>