Differences between revisions 2 and 3
Revision 2 as of 2017-12-26 01:50:55
Size: 307
Comment:
Revision 3 as of 2017-12-26 01:51:19
Size: 1385
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
volume remote1
        type protocol/client
        option transport-type tcp
        option remote-host gluster05
        option remote-subvolume /srv/home/brick
        option transport.socket.ssl-enabled on
end-volume
 
volume remote2
        type protocol/client
        option transport-type tcp
        option remote-host gluster06
        option remote-subvolume /srv/home/brick
        option transport.socket.ssl-enabled on
end-volume
 
volume remote3
        type protocol/client
        option transport-type tcp
        option remote-host gluster07
        option remote-subvolume /srv/home/brick
        option transport.socket.ssl-enabled on
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

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.

/etc/glusterfs/home.vol

volume remote1
        type protocol/client
        option transport-type tcp
        option remote-host gluster05
        option remote-subvolume /srv/home/brick
        option transport.socket.ssl-enabled on
end-volume
 
volume remote2
        type protocol/client
        option transport-type tcp
        option remote-host gluster06
        option remote-subvolume /srv/home/brick
        option transport.socket.ssl-enabled on
end-volume
 
volume remote3
        type protocol/client
        option transport-type tcp
        option remote-host gluster07
        option remote-subvolume /srv/home/brick
        option transport.socket.ssl-enabled on
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)