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