[Gluster-users] Distributed-afr query

Simon Liang simonl at bigair.net.au
Wed Aug 12 14:33:05 UTC 2009


Hello,

I have a 2 client (gc1, gc2) and 2 server (gs1, gs2) cluster setup. Both the servers have 2 x 1TB HDD in them, gs1 and gs2 are replicated.

With my configuration below, if gs2 goes offline... should I still be able to have access to the cluster?

volume client1a
        type protocol/client
        option transport-type tcp/client
        option remote-host gs1
        option remote-port 7001
        option remote-subvolume brick
end-volume

volume client2a
        type protocol/client
        option transport-type tcp/client
        option remote-host gs2
        option remote-port 7001
        option remote-subvolume brick
end-volume

volume client1b
        type protocol/client
        option transport-type tcp/client
        option remote-host gs1
        option remote-port 7002
        option remote-subvolume brick
end-volume

volume client2b
        type protocol/client
        option transport-type tcp/client
        option remote-host gs2
        option remote-port 7002
        option remote-subvolume brick
end-volume

volume afr1
        type cluster/replicate
        subvolumes client1a client2a
end-volume

volume afr2
        type cluster/replicate
        subvolumes client1b client2b
end-volume

volume distribute
        type cluster/distribute
        subvolumes afr1 afr2
end-volume

volume iothreads
        type performance/io-threads
        option thread-count 8
        subvolumes distribute
end-volume

volume readahead
        type performance/read-ahead
        option page-count 8
        subvolumes iothreads
end-volume


More information about the Gluster-users mailing list