Client

volume client1
  type protocol/client
  option transport-type tcp/client
  option remote-host 127.0.0.1
  option remote-port 6996
  option remote-subvolume brick
end-volume

volume client2
  type protocol/client
  option transport-type tcp/client
  option remote-host 127.0.0.1
  option remote-port 6997
  option remote-subvolume brick
end-volume

volume ns
  type storage/posix
  option directory /home/rhesa/gluster.test/node1-ns
end-volume

volume unify
  type cluster/unify
  subvolumes client1 client2
  option namespace ns
  option scheduler rr
end-volume

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

server(s)

volume posix
  type storage/posix
  option directory /home/rhesa/gluster.test/node1
end-volume

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

volume brick
  type features/posix-locks
  option mandatory on
  subvolumes iothreads
end-volume

volume server
  type protocol/server
  option transport-type tcp/server
  option listen-port 6996
  subvolumes brick
  option auth.ip.brick.allow *
end-volume
server2 uses node2 as storage dir, and port 6997