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

Sebastien LELIEVRE slelievre at tbs-internet.com
Wed Aug 1 08:00:54 UTC 2007

Anand Avati a écrit :

> 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). 

So something like :

   volume santa
     type protocol/client
     option transport-type tcp/client
     option remote-host servers.mygluster.lan
     option remote-subvolume mailspool

Where servers.mygluster.lan resolves either,,
and (in this example)

> 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.


More information about the Gluster-devel mailing list