I have though about this, It is the solution scalr offers, but the problem remains the same.<br>What happen if the host which the dns mapped to is down?<br>This solution solves load balancing but no high availability.<br><br>
<div class="gmail_quote">On Mon, May 23, 2011 at 6:29 PM, Anthony J. Biacco <span dir="ltr">&lt;<a href="mailto:abiacco@formatdynamics.com">abiacco@formatdynamics.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Make a DNS round-robin host entry that points to both IP addresses, then use that hostname in the mount command</span></p>
<div class="im"><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">-Tony</span></p><p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">---------------------------</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">Manager, IT Operations</span></p><p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">Format Dynamics, Inc.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">P: <a href="tel:303-228-7327" value="+13032287327" target="_blank">303-228-7327</a></span></p><p class="MsoNormal">
<span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">F: <a href="tel:303-228-7305" value="+13032287305" target="_blank">303-228-7305</a></span></p><p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);"><a href="mailto:abiacco@formatdynamics.com" target="_blank">abiacco@formatdynamics.com</a></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);"><a href="http://www.formatdynamics.com/" target="_blank">http://www.formatdynamics.com</a></span></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p></div><div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0in 0in 0in 4pt;">
<div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;"><p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> José Celano [mailto:<a href="mailto:jcelano@iqingenieros.com" target="_blank">jcelano@iqingenieros.com</a>] <br>
<b>Sent:</b> Monday, May 23, 2011 11:06 AM<br><b>To:</b> Anthony J. Biacco<br><b>Cc:</b> Joshua Baker-LePain; <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><div><div></div><div class="h5">
<br><b>Subject:</b> Re: [Gluster-users] Scaling Gluster</div></div></span></p></div></div><div><div></div><div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom: 12pt;">Hi Tony:</p><div><p class="MsoNormal">
On Mon, May 23, 2011 at 4:55 PM, Anthony J. Biacco &lt;<a href="mailto:abiacco@formatdynamics.com" target="_blank">abiacco@formatdynamics.com</a>&gt; wrote:</p><p class="MsoNormal">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&#39;re fine.</p>
<div><p class="MsoNormal"><br>Yes, It is in the offcial documentation.<br>I am trying to avoid that. My final objetive is high availability.<br> </p></div><blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<p class="MsoNormal">If the server goes down after mount, it doesnt matter as the cluster config on the mounting servers knows about all gluster servers.</p></blockquote><div><p class="MsoNormal"><br>Yes, there is no problem after mounting becasuse I use replication. The problem is in new mountig processes<br>
after the seleted &quot;master gluster server&quot; crashes.<br> </p></div><blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<p class="MsoNormal">Somebody correct me if i&#39;m wrong.<br>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.</p></blockquote><div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><br>Yes. That is ok, but I am finding an automatic way in case I make an auto-scalable Gluster deployment.<br>If something change in Gluster like the number of servers (I could add more servers later) then I would have<br>
to copy  the new volumen info to my Apache Rol Amazon Image, and this can not be done automatically.<br>Other way could be doing a script to load that file from S3 but I would have to copy the new volume info file<br>to S3 every time It changes, and I don´t know how this can be done because I don´t know how monitoring<br>
and catch Gluster volumes changes.</p></div><blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<p class="MsoNormal"><br>-Tony</p><div><div><p class="MsoNormal" style="margin-bottom: 12pt;"><br><br><br><br>-----Original Message-----<br>From: Joshua Baker-LePain &lt;<a href="mailto:jlb17@duke.edu" target="_blank">jlb17@duke.edu</a>&gt;<br>
Sent: May 23, 2011 9:16 AM<br>To: José Celano &lt;<a href="mailto:jcelano@iqingenieros.com" target="_blank">jcelano@iqingenieros.com</a>&gt;<br>Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a> &lt;<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>&gt;<br>
Subject: Re: [Gluster-users] Scaling Gluster<br><br>On Thu, 19 May 2011 at 12:40am, José Celano wrote<br><br>&gt; I have 2 replicated servers and several Apache servers that mount the same<br>&gt; volume.<br>&gt; When I mount a Gluster Volumen from one of the Apache servers<br>
&gt;<br>&gt; mount.glusterfs<br>&gt; ip-XX-XXX-XXX-XXX.eu-west-1.compute.internal:/dab578f4-06fa-4584-ac1d-c6ef14e6d0cf<br>&gt; /mnt/glusterfs<br>&gt; how could I obtain high availability if that server die?<br><br>Use ucarp to share a virtual IP address between the Gluster servers, and<br>
mount using that IP address.<br><br>--<br>Joshua Baker-LePain<br>QB3 Shared Cluster Sysadmin<br>UCSF</p></div></div></blockquote></div><p class="MsoNormal"> </p></div></div></div></div></div></blockquote></div><br>