ML mail
2015-Mar-03 07:43 UTC
[Gluster-users] /etc/hosts entry requires for gluster servers?
Hello, Is it required to have the GlusterFS servers in /etc/hosts for the gluster servers themselves? I read many tutorials where people always add an entry in their /etc/hosts file. I am asking because my issue is that my volumes, or more precisely glusterfsd, are not starting at system boot. The brick log shows that the hostname of the server could not be resolved but I have an entry in my DNS server and my /etc/resolv.conf is configured correctly. I am using Debian Wheezy with GlusterFS 3.5.2. Best regards ML
Claudio Kuenzler
2015-Mar-03 09:33 UTC
[Gluster-users] /etc/hosts entry requires for gluster servers?
Hi ML, Here's what I have noted down in my personal documentation when I installed GlusterFS the first time in 2013 (also on Debian Wheezy with 3.5.2): "All cluster nodes MUST resolve each other through DNS (preferred) or /etc/hosts." An entry in /etc/hosts is probably even more safe because you don't depend on external DNS resolvers. cheers, ck On Tue, Mar 3, 2015 at 8:43 AM, ML mail <mlnospam at yahoo.com> wrote:> Hello, > > Is it required to have the GlusterFS servers in /etc/hosts for the gluster > servers themselves? I read many tutorials where people always add an entry > in their /etc/hosts file. > > I am asking because my issue is that my volumes, or more precisely > glusterfsd, are not starting at system boot. The brick log shows that the > hostname of the server could not be resolved but I have an entry in my DNS > server and my /etc/resolv.conf is configured correctly. > > > I am using Debian Wheezy with GlusterFS 3.5.2. > > Best regards > ML > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150303/f5f75b06/attachment.html>