gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] replicate data between 2 servers and 1 client


From: Krishna Srinivas
Subject: Re: [Gluster-devel] replicate data between 2 servers and 1 client
Date: Fri, 13 Feb 2009 14:54:25 +0530

On Fri, Feb 13, 2009 at 1:50 PM, Alain Gonzalez <address@hidden> wrote:
> I changed vol files, because I need data replicated on three machine (two
> servers and one client). If I changed data on 1 machine, data must be
> changed on the other two machines...
>
> My actual vol file:
>
> Server1:
>
> volume brick
>  type storage/posix
>  option directory /home/export/
> end-volume
>
>
> ### Add network serving capability to above brick.
> volume server
>  type protocol/server
>  option transport-type tcp
>  subvolumes brick
>  option auth.addr.brick.allow * # Allow access to "brick" volume
> end-volume
>
> Server2
>
> volume brick
>  type storage/posix
>  option directory /home/export/
> end-volume
>
> ### Add network serving capability to above brick.
> volume server
>  type protocol/server
>  option transport-type tcp
>  subvolumes brick
>  option auth.addr.brick.allow * # Allow access to "brick" volume
> end-volume
>
> Client:
>
> ### Add client feature and attach to remote subvolume of server1
> volume brick1
>  type protocol/client
>  option transport-type tcp
>  option remote-host 192.168.240.227      # IP address of the remote brick
>  option remote-subvolume brick           # name of the remote volume
> end-volume
>
> ### Add client feature and attach to remote subvolume of server2
> volume brick2
>  type protocol/client
>  option transport-type tcp
>  option remote-host 192.168.240.228      # IP address of the remote brick
>  option remote-subvolume brick           # name of the remote volume
> end-volume
>
> volume afr
>  type cluster/afr
>  subvolumes brick1 brick2
> end-volume
>
> Raghavendra G said me that in Glusterfs 2.0 requires posix-locks. I proved
> changed "type storage/posix" for "type features/posix-locks" but not working
> correctly.
>


You need to have a separate "features/locks" translator between
"storage/posix" and "protocol/server" volumes.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]