Hi: I have 2 replicated servers and several Apache servers that mount the same volume. When I mount a Gluster Volumen from one of the Apache servers mount.glusterfs ip-XX-XXX-XXX-XXX.eu-west-1.compute.internal:/dab578f4-06fa-4584-ac1d-c6ef14e6d0cf /mnt/glusterfs how could I obtain high availability if that server die? I could use DNS Round-Robin but this is not high availability. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110519/97ded7be/attachment.html>
>>>>> "Jos?" == Jos? Celano <jcelano at iqingenieros.com> writes:Jos?> When I mount a Gluster Volumen from one of the Apache Jos?> servers Jos?> mount.glusterfs Jos?> ip-XX-XXX-XXX-XXX.eu-west-1.compute.internal:/ Jos?> dab578f4-06fa-4584-ac1d-c6ef14e6d0cf /mnt/glusterfs Jos?> how could I obtain high availability if that server die? You get that automatically. The gluster client will use any available bricks; obviously you need a mirrored setup to make that work. -- All the best, Berend de Boer ------------------------------------------------------ Awesome Drupal hosting: https://www.xplainhosting.com/
On Thu, 19 May 2011 at 12:40am, Jos? Celano wrote> I have 2 replicated servers and several Apache servers that mount the same > volume. > When I mount a Gluster Volumen from one of the Apache servers > > mount.glusterfs > ip-XX-XXX-XXX-XXX.eu-west-1.compute.internal:/dab578f4-06fa-4584-ac1d-c6ef14e6d0cf > /mnt/glusterfs > how could I obtain high availability if that server die?Use ucarp to share a virtual IP address between the Gluster servers, and mount using that IP address. -- Joshua Baker-LePain QB3 Shared Cluster Sysadmin UCSF
I think i read somewhere the server in the mount string is only used to retrieve the cluster config. So as long as that server is up at time of mount, you're fine. If the server goes down after mount, it doesnt matter as the cluster config on the mounting servers knows about all gluster servers. Somebody correct me if i'm wrong. Personally, i copy the cluster config to all my mounting servers and use that file in the mount command instead of a gluster server hostname. -Tony -----Original Message----- From: Joshua Baker-LePain <jlb17 at duke.edu> Sent: May 23, 2011 9:16 AM To: Jos? Celano <jcelano at iqingenieros.com> Cc: gluster-users at gluster.org <gluster-users at gluster.org> Subject: Re: [Gluster-users] Scaling Gluster On Thu, 19 May 2011 at 12:40am, Jos? Celano wrote> I have 2 replicated servers and several Apache servers that mount the same > volume. > When I mount a Gluster Volumen from one of the Apache servers > > mount.glusterfs > ip-XX-XXX-XXX-XXX.eu-west-1.compute.internal:/dab578f4-06fa-4584-ac1d-c6ef14e6d0cf > /mnt/glusterfs > how could I obtain high availability if that server die?Use ucarp to share a virtual IP address between the Gluster servers, and mount using that IP address. -- Joshua Baker-LePain QB3 Shared Cluster Sysadmin UCSF