[Gluster-users] Question re 2-server Mirrored setup

Andy Sy andy.sy at neotitans.com
Sun Jul 26 20:59:42 UTC 2009


In the sample config for a 2-server mirror setup at:

http://gluster.org/docs/index.php/Automatic_File_Replication_(Mirror)_across_Two_Storage_Servers

both volumes are considered remote and use
tcp as transport-type.  If you intend to use
a local volume as one of the 2 servers in a
mirrored setup, is there any advantage in defining
glusterfs.vol as below?

volume remote
   type protocol/client
   option transport-type tcp
   option remote-host w.x.y.z
   option remote-subvolume brick
end-volume

volume posix
   type storage/posix
   option directory /localstoragedir
end-volume

volume local
   type features/posix-locks
   subvolumes posix
end-volume

volume replicate
   type cluster/replicate
   subvolumes local remote
end-volume




========================
http://www.neotitans.com
Web and IT Consulting




More information about the Gluster-users mailing list