Gluster 3.2.0 and ucarp not working

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

 



On Wed, Jun 08, 2011 at 02:20:55AM -0400, Joshua Baker-LePain wrote:
> On Wed, 8 Jun 2011 at 8:16am, bxmatus at gmail.com wrote
> 
> >When client is connecting to any gluster node it automaticly receive list of
> >all other nodes for that volume.
> 
> Yes, but what if the node it first tries to contact (i.e., the one
> on the fstab line) is down?

Haven't tried this, as we're using NFS mounts here (with ucarp). But what if
instead of using fstab to mount you put something in rc.local that tried
first one IP, then the other? Would something like

/bin/mount -t glusterfs ip1:/share /mount/point || /bin/mount -t glusterfs ip2:/share /mount/point

work? I frankly don't know if "||" will work as "or" there, but there's
certainly a way to do it.

Whit



[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