[Gluster-users] Glustrefs Peer Replication.
Niels de Vos
ndevos at redhat.com
Thu Jun 26 06:55:51 UTC 2014
On Thu, Jun 26, 2014 at 11:16:56AM +0530, swaroop kumar wrote:
> I just wanted to avoid clients.
>
> I have 3 drupal servers and i would like to have setup without client. Like
> every drupal server will have gluster volume created for static files and
> peers suppose to exchange updates.
When you read/write contents from the volume, you should do so through
a glusterfs-fuse mountpoint. Not directly on the bricks where none of
the Gluster processes can notice the reads/writes.
The distribute and/or replicate functionality is handled in the
GlusterFS client code, this mostly is the glusterfs-fuse mountpoint on
the storage servers.
You do not need to setup a client system to use Gluster, but you need to
use the client software components.
HTH,
Niels
>
> Thanks,
> Swaroop.
>
>
>
>
>
> On Thu, Jun 26, 2014 at 10:45 AM, Atin Mukherjee <amukherj at redhat.com>
> wrote:
>
> >
> >
> > On 06/26/2014 10:36 AM, swaroop kumar wrote:
> > > Hey Atin,
> > >
> > > Thanks for showing interest in my problem :)
> > >
> > > I had created the way you mentioned. But peers does not seems to be
> > > replicating. When i create any files/folders on client it gets
> > > replicated on peers, If i create files on one peer, it is not
> > > replicating to other peer.
> > I didn't understand the reason of creating a file on peer, why would you
> > want to do that?
> >
> > ~Atin
> > >
> > > Command i used : gluster volume create replica 2 transport tcp
> > > gluster1:/mnt/testvol gluster2:/mnt/testvol
> > >
> > > Thanks,
> > > Swaroop.
> > >
> > >
> > > On Thu, Jun 26, 2014 at 9:16 AM, Atin Mukherjee <amukherj at redhat.com
> > > <mailto:amukherj at redhat.com>> wrote:
> > >
> > > You should have a replica volume in that case, IIUC, you have
> > created a
> > > distributed volume only. Look for gluster volume create help to see
> > how
> > > you can set up a replica cluster.
> > >
> > > ~Atin
> > >
> > > On 06/25/2014 03:08 PM, swaroop kumar wrote:
> > > >
> > > > Hello All,
> > > >
> > > > I have been exploring glusterfs since a while. I'm planning to have
> > > > clustered file system for my drupal applications, Had glusterfs
> > > > configured with 3 nodes and it seems that peer's are not
> > replicating
> > > > each other, i wouldn't be going with client.
> > > >
> > > > Typically my setup will be this way:
> > > >
> > > > 3 Drupal nodes, 3 glusterfs-servers configured on it with drupal
> > > files.
> > > > Each node will peer to other nodes. When i configured this i
> > > created few
> > > > files on node1 and they are not replicating on peer2. File/folders
> > are
> > > > replication when i mount the volume on client machine and create
> > them.
> > > >
> > > > Does peer replicate each other? Is there any other way to setup to
> > > > achieve above configuration?
> > > >
> > > >
> > > > Thanks,
> > > > Swaroop.
> > > >
> > > >
> > > > _______________________________________________
> > > > Gluster-users mailing list
> > > > Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
> > > > http://supercolony.gluster.org/mailman/listinfo/gluster-users
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > /Sincerely,
> > > --
> > > Swaroop Kundeti.
> > > +91-9866221131/
> >
>
>
>
> --
>
>
>
> *Sincerely,--Swaroop Kundeti.+91-9866221131*
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list