[Gluster-devel] GlusterFS High Availability setup and DNS round-robin

Anand Avati avati at zresearch.com
Tue Jul 31 21:49:12 UTC 2007


Paul,
 Thanks again for the great article you have put up at

http://www.gluster.org/docs/index.php/GlusterFS_High_Availability_Storage_with_GlusterFS

 Recent commits to GlusterFS have actually some improvements for the setup

1. AFR can work directly over a posix xlator, this can avoid the extra
tcp/ip hop.

2. the protocol/client handles round-robin DNS gracefully. you can have just
one protocol/client section in the client specification which has a hostname
which resolves to 3 differnt server IPs (either via bind configuration, or
multiple /etc/hosts entries for differnt IP and same hostname). When one
server disconnects, glusterfs now automatically tries the second IP from the
dns reply. (loops over to the next IP per reconnection and then does a fresh
DNS lookup after one iteration) - This option can work as an intermediate
solution until the HA xlator comes in.

thanks,
-- 
Anand V. Avati



More information about the Gluster-devel mailing list