[Gluster-devel] Re: New wiki page for 2 server afr, client side afr

Brandon Lamb brandonlamb at gmail.com
Fri May 2 06:30:08 UTC 2008


spec files

CLIENT1
volume brick
        type protocol/client
        option transport-type tcp/client # for TCP/IP transport
        option remote-host 208.200.248.16
        option remote-subvolume afr # name of the remote volume
end-volume

CLIENT2
volume brick
        type protocol/client
        option transport-type tcp/client # for TCP/IP transport
        option remote-host 208.200.248.17
        option remote-subvolume afr # name of the remote volume
end-volume

SERVER1
volume brick1
        type storage/posix
        option directory /mnt/raid/gfs
end-volume

volume brick2
        type protocol/client
        option transport-type tcp/client
        option remote-host 192.168.5.17
        option remote-subvolume brick1
end-volume

volume afr
        type cluster/afr
        subvolumes brick1 brick2
end-volume

volume server
        type protocol/server
        option transport-type tcp/server
        subvolumes brick1 afr
        option auth.ip.brick1.allow 192.168.5*,127.0.0.1
        option auth.ip.afr.allow 208.200.248*,127.0.0.1
end-volume

SERVER2
volume brick1
        type storage/posix
        option directory /mnt/raid/gfs
end-volume

volume brick2
        type protocol/client
        option transport-type tcp/client
        option remote-host 192.168.5.16
        option remote-subvolume brick1
end-volume

volume afr
        type cluster/afr
        subvolumes brick2 brick1
end-volume

volume server
        type protocol/server
        option transport-type tcp/server
        subvolumes brick1 afr
        option auth.ip.brick1.allow 192.168.5*,127.0.0.1
        option auth.ip.afr.allow 208.200.248*,127.0.0.1
end-volume





More information about the Gluster-devel mailing list