GlusterFS Client with Arbiter

This setup is almost the same as the regular GlusterFS client setup. Except for one difference. The volume file looks different. Complete the normal client setup, then use the following volume file instead. Notice the added option option arbiter-count 1 in the volume replicate section.

/etc/glusterfs/home.vol

volume remote1
        type protocol/client
        option transport-type tcp
        option remote-host gluster01
        option remote-subvolume /srv/home/brick
end-volume
 
volume remote2
        type protocol/client
        option transport-type tcp
        option remote-host gluster02
        option remote-subvolume /srv/home/brick
end-volume
 
volume remote3
        type protocol/client
        option transport-type tcp
        option remote-host gluster03
        option remote-subvolume /srv/home/brick
end-volume

volume replicate
        type cluster/replicate
        option arbiter-count 1
        subvolumes remote1 remote2 remote3
end-volume
 
volume writebehind
        type performance/write-behind
        option window-size 1MB
        subvolumes replicate
end-volume
 
volume cache
  type performance/io-cache
  option cache-size 64MB
  subvolumes writebehind
end-volume

None: GlusterFS Client with Arbiter (last edited 2021-03-26 21:31:54 by Kristian Kallenberg)