[Gluster-users] Mounting localhost vs. remote host

Pierre-Francois Laquerre pierre.francois at nec-labs.com
Tue Jul 23 17:44:45 UTC 2013


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>


More information about the Gluster-users mailing list