|
Size: 1385
Comment:
|
← Revision 7 as of 2021-03-26 21:31:54 ⇥
Size: 1325
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| This setup is almost the same as the regular GlusterFS client setup. Except for one difference. The volume file looks different. Complete the normal [[GlusterFS Client|client]] setup, then use the following volume file instead. | This setup is almost the same as the regular GlusterFS client setup. Except for one difference. The volume file looks different. Complete the normal [[GlusterFS Client|client]] setup, then use the following volume file instead. Notice the added option `option arbiter-count 1` in the `volume replicate` section. |
| Line 11: | Line 11: |
| option remote-host gluster05 | option remote-host gluster01 |
| Line 13: | Line 13: |
| option transport.socket.ssl-enabled on | |
| Line 19: | Line 18: |
| option remote-host gluster06 | option remote-host gluster02 |
| Line 21: | Line 20: |
| option transport.socket.ssl-enabled on | |
| Line 27: | Line 25: |
| option remote-host gluster07 | option remote-host gluster03 |
| Line 29: | Line 27: |
| option transport.socket.ssl-enabled on |
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