Ziemowit Pierzycki
2013-Jul-23 17:28 UTC
[Gluster-users] Mounting localhost vs. remote host
Hi, What is better? Is making a client part of the cluster and then making the mount via "localhost": # service glusterd start # gluster peer probe somehost # mount -t glusterfs localhost:/volume /mnt/temp or: # mount -t glusterfs somehost:/volume /mnt/temp I guess with mounting it via somehost, one would have to very picky to choose which host to pick as if it goes down that mount may stop working. Am I correct? So what is better? Thanks, Ziemowit -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130723/c9bc0e87/attachment.html>
Pierre-Francois Laquerre
2013-Jul-23 17:44 UTC
[Gluster-users] Mounting localhost vs. remote host
On 07/23/2013 01:28 PM, Ziemowit Pierzycki wrote:> What is better? Is making a client part of the cluster and then > making the mount via "localhost": > > # service glusterd start > # gluster peer probe somehost > # mount -t glusterfs localhost:/volume /mnt/temp > > or: > > # mount -t glusterfs somehost:/volume /mnt/temp > > I guess with mounting it via somehost, one would have to very picky to > choose which host to pick as if it goes down that mount may stop > working. Am I correct? So what is better?Another option is to use round-robin dns to make a single hostname point to all your gluster servers: http://edwyseguru.wordpress.com/2012/01/09/using-rrdns-to-allow-mount-failover-with-glusterfs/. This gives you a single hostname to mount through, while still working fine when some of your servers are down for maintenance. Pierre -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130723/da01afdf/attachment.html>
On 23 Jul 2013, at 19:28, Ziemowit Pierzycki <ziemowit at pierzycki.com> wrote:> I guess with mounting it via somehost, one would have to very picky to choose which host to pick as if it goes down that mount may stop working. Am I correct? So what is better?I've had real trouble mounting anything from localhost on boot, whereas remote works fine. Search the list archives. Marcus -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130723/bd23e780/attachment.html>