[Gluster-users] Broken AFR - DU / DF - part 2
Stas Oskin
stas.oskin at gmail.com
Thu Apr 2 10:54:54 UTC 2009
Oops, I posted the wrong config for server :).
Here it is:
volume home1
type storage/posix # POSIX FS translator
option directory /media/storage # Export this directory
end-volume
volume posix-locks-home1
type features/posix-locks
option mandatory-locks on
subvolumes home1
end-volume
### Add network serving capability to above home.
volume server
type protocol/server
option transport-type tcp
subvolumes posix-locks-home1
option auth.addr.posix-locks-home1.allow * # Allow access to "home1" volume
end-volume
2009/4/2 Steve <steeeeeveee at gmx.net>
>
> -------- Original-Nachricht --------
> > Datum: Thu, 2 Apr 2009 13:36:09 +0300
> > Von: Stas Oskin <stas.oskin at gmail.com>
> > An: Steve <steeeeeveee at gmx.net>
> > CC: gluster-users at gluster.org
> > Betreff: Re: [Gluster-users] Broken AFR - DU / DF - part 2
>
> > Nope, only on client - client-sided AFR.
> >
> > The servers are not aware one of each other.
> >
> > Regards.
> >
> > 2009/4/2 Steve <steeeeeveee at gmx.net>
> >
> > >
> > > -------- Original-Nachricht --------
> > > > Datum: Thu, 2 Apr 2009 13:11:20 +0300
> > > > Von: Stas Oskin <stas.oskin at gmail.com>
> > > > An: Steve <steeeeeveee at gmx.net>
> > > > CC: gluster-users at gluster.org
> > > > Betreff: Re: [Gluster-users] Broken AFR - DU / DF - part 2
> > >
> > > > GlusterFS 2 rc7
> > > >
> > > > Server vol:
> > > > ## Reference volume "home1" from remote server
> > > > volume home1
> > > > type protocol/client
> > > > option transport-type tcp/client
> > > > option remote-host 192.168.253.41 # IP address of remote host
> > > > option remote-subvolume posix-locks-home1 # use home1 on remote
> > host
> > > > option transport-timeout 10 # value in seconds; it should
> > be
> > > > set
> > > > relatively low
> > > > end-volume
> > > >
> > > > ## Reference volume "home2" from remote server
> > > > volume home2
> > > > type protocol/client
> > > > option transport-type tcp/client
> > > > option remote-host 192.168.253.42 # IP address of remote host
> > > > option remote-subvolume posix-locks-home1 # use home1 on remote
> > host
> > > > option transport-timeout 10 # value in seconds; it should
> > be
> > > > set
> > > > relatively low
> > > > end-volume
> > > >
> > > > volume home
> > > > type cluster/afr
> > > > option metadata-self-heal on
> > > > subvolumes home1 home2
> > > > end-volume
> > > >
> But this volume here uses AFR in the server vol file. For me this looks
> like server side AFR.
>
>
>
> > > > Client vol:
> > > > ## Reference volume "home1" from remote server
> > > > volume home1
> > > > type protocol/client
> > > > option transport-type tcp/client
> > > > option remote-host 192.168.253.42 # IP address of remote host
> > > > option remote-subvolume posix-locks-home1 # use home1 on remote
> > host
> > > > option transport-timeout 10 # value in seconds; it should
> > be
> > > > set
> > > > relatively low
> > > > end-volume
> > > >
> > > > ## Reference volume "home2" from remote server
> > > > volume home2
> > > > type protocol/client
> > > > option transport-type tcp/client
> > > > option remote-host 192.168.253.41 # IP address of remote host
> > > > option remote-subvolume posix-locks-home1 # use home1 on remote
> > host
> > > > option transport-timeout 10 # value in seconds; it should
> > be
> > > > set
> > > > relatively low
> > > > end-volume
> > > >
> > > > volume home
> > > > type cluster/afr
> > > > option metadata-self-heal on
> > > > option favorite-child home1
> > > > subvolumes home1 home2
> > > > end-volume
> > > >
> > > > volume writebehind
> > > > type performance/write-behind
> > > > option aggregate-size 128KB
> > > > option window-size 1MB
> > > > subvolumes home
> > > > end-volume
> > > >
> > > > volume cache
> > > > type performance/io-cache
> > > > option cache-size 512MB
> > > > subvolumes writebehind
> > > > end-volume
> > > >
> > > If I see that right, then you are using AFR on the server and on the
> > > client. Right?
> > > --
> > > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate +
> > > Telefonanschluss für nur 17,95 Euro/mtl.!*
> > > http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
> > >
> > > _______________________________________________
> > > Gluster-users mailing list
> > > Gluster-users at gluster.org
> > > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
> > >
>
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
> http://www.gmx.net/de/go/multimessenger01
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090402/af7f21c8/attachment.html>
More information about the Gluster-users
mailing list