Mounting localhost vs. remote host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux