rendered paste bodycat /etc/glusterfs/glusterfs-server.vol
Server: Node2
volume brick
type storage/posix
option directory /home/glustertest
end-volume
volume server
type protocol/server
subvolumes brick
option transport-type tcp/server # For TCP/IP transport
option client-volume-filename /etc/glusterfs/glusterfs-client.vol
option auth.ip.brick.allow *
end-volume
Client: Node1
cat /etc/glusterfs/glusterfs-client.vol
volume brick1
type storage/posix
option directory /home/glustertest
end-volume
volume brick2
type protocol/client
option transport-type tcp/client
option remote-host 10.8.3.216
option remote-subvolume brick
end-volume
volume afr
type cluster/afr
subvolumes brick1 brick2
option replicate *:2
end-volume