I tried to set auth.allow using hostnames (not IPs) of clients such as gluster volume set VOLUME auth.allow hostname1,hostname2,hostname3 But the clients could not mount the volume If I use IPs, it defintely works. But for my clients use DHCP, so I don't think using IPs is a good idea for they could be changed but hostnames of them wouldn't. Any comments? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131204/a29c1eb8/attachment.html>
Sharuzzaman Ahmat Raslan
2013-Dec-04 03:52 UTC
[Gluster-users] How to set auth.allow using hostname?
How is your DNS setting? Could your client resolve the hostname? On Wed, Dec 4, 2013 at 11:49 AM, Mingfan Lu <mingfan.lu at gmail.com> wrote:> I tried to set auth.allow using hostnames (not IPs) of clients > such as > gluster volume set VOLUME auth.allow hostname1,hostname2,hostname3 > > But the clients could not mount the volume > If I use IPs, it defintely works. > But for my clients use DHCP, so I don't think using IPs is a good idea for > they could be changed but hostnames of them wouldn't. > > Any comments? > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users >-- Sharuzzaman Ahmat Raslan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131204/3bb3c0ed/attachment.html>