<div dir="ltr">Thanks Niels,<div><br></div><div>That was very informative. I think i should setup the ways Krishnan has suggested.</div><div><br></div><div>Thanks Again,</div><div>Swaroop Kundeti.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 12:25 PM, Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Thu, Jun 26, 2014 at 11:16:56AM +0530, swaroop kumar wrote:<br>
&gt; I just wanted to avoid clients.<br>
&gt;<br>
&gt; I have 3 drupal servers and i would like to have setup without client. Like<br>
&gt; every drupal server will have gluster volume created for static files and<br>
&gt; peers suppose to exchange updates.<br>
<br>
</div>When you read/write contents from the volume, you should do so through<br>
a glusterfs-fuse mountpoint. Not directly on the bricks where none of<br>
the Gluster processes can notice the reads/writes.<br>
<br>
The distribute and/or replicate functionality is handled in the<br>
GlusterFS client code, this mostly is the glusterfs-fuse mountpoint on<br>
the storage servers.<br>
<br>
You do not need to setup a client system to use Gluster, but you need to<br>
use the client software components.<br>
<br>
HTH,<br>
Niels<br>
<div><div class="h5"><br>
&gt;<br>
&gt; Thanks,<br>
&gt; Swaroop.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jun 26, 2014 at 10:45 AM, Atin Mukherjee &lt;<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On 06/26/2014 10:36 AM, swaroop kumar wrote:<br>
&gt; &gt; &gt; Hey Atin,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks for showing interest in my problem :)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I had created the way you mentioned. But peers does not seems to be<br>
&gt; &gt; &gt; replicating. When i create any files/folders on client it gets<br>
&gt; &gt; &gt; replicated on peers, If i create files on one peer, it is not<br>
&gt; &gt; &gt; replicating to other peer.<br>
&gt; &gt; I didn&#39;t understand the reason of creating a file on peer, why would you<br>
&gt; &gt; want to do that?<br>
&gt; &gt;<br>
&gt; &gt; ~Atin<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Command i used : gluster volume create replica 2 transport tcp<br>
&gt; &gt; &gt; gluster1:/mnt/testvol gluster2:/mnt/testvol<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt; Swaroop.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Thu, Jun 26, 2014 at 9:16 AM, Atin Mukherjee &lt;<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a><br>
&gt; &gt; &gt; &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     You should have a replica volume in that case, IIUC, you have<br>
&gt; &gt; created a<br>
&gt; &gt; &gt;     distributed volume only. Look for gluster volume create help to see<br>
&gt; &gt; how<br>
&gt; &gt; &gt;     you can set up a replica cluster.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     ~Atin<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     On 06/25/2014 03:08 PM, swaroop kumar wrote:<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt; Hello All,<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt; I have been exploring glusterfs since a while. I&#39;m planning to have<br>
&gt; &gt; &gt;     &gt; clustered file system for my drupal applications, Had glusterfs<br>
&gt; &gt; &gt;     &gt; configured with 3 nodes and it seems that peer&#39;s are not<br>
&gt; &gt; replicating<br>
&gt; &gt; &gt;     &gt; each other, i wouldn&#39;t be going with client.<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt; Typically my setup will be this way:<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt; 3 Drupal nodes, 3 glusterfs-servers configured on it with drupal<br>
&gt; &gt; &gt;     files.<br>
&gt; &gt; &gt;     &gt; Each node will peer to other nodes. When i configured this i<br>
&gt; &gt; &gt;     created few<br>
&gt; &gt; &gt;     &gt; files on node1 and they are not replicating on peer2. File/folders<br>
&gt; &gt; are<br>
&gt; &gt; &gt;     &gt; replication when i mount the volume on client machine and create<br>
&gt; &gt; them.<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt; Does peer replicate each other? Is there any other way to setup to<br>
&gt; &gt; &gt;     &gt; achieve above configuration?<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt; Thanks,<br>
&gt; &gt; &gt;     &gt; Swaroop.<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;     &gt; _______________________________________________<br>
&gt; &gt; &gt;     &gt; Gluster-users mailing list<br>
&gt; &gt; &gt;     &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>&gt;<br>
&gt; &gt; &gt;     &gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt; &gt;     &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; /Sincerely,<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Swaroop Kundeti.<br>
&gt; &gt; &gt; <a href="tel:%2B91-9866221131" value="+919866221131">+91-9866221131</a>/<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; *Sincerely,--Swaroop Kundeti.<a href="tel:%2B91-9866221131" value="+919866221131">+91-9866221131</a>*<br>
<div class=""><br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
</div>&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div style="text-align:left;font-family:tahoma,sans-serif"><i>Sincerely,<br>--<br>Swaroop Kundeti.<br>+91-9866221131</i><br></div>
</div>