seems better than config file. thanks Carl.<br><br><div class="gmail_quote">2012/3/12 Carl H�rberg <span dir="ltr">&lt;<a href="mailto:carl.hoerberg@gmail.com">carl.hoerberg@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
no, you have to manually administer the dns (or automatically through<br>
some heartbeat stuff interacting with your dns provider api.. )<br>
<br>
i don&#39;t know how the client implementations are, but they could try to<br>
connect to the first A record, if that fails try the next one and so<br>
forth.. �(like the way many web browsers does)<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Mar 12, 2012 at 13:28, stone &lt;<a href="mailto:zmstone@gmail.com">zmstone@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;m not sure how DNS server works, is it possible for the DNS server to<br>
&gt; detect the failure of a specific port? i.e. to find out if rabbit is down,<br>
&gt; when the OS is still up and running.<br>
&gt;<br>
&gt;<br>
&gt; 2012/3/12 Carl H�rberg &lt;<a href="mailto:carl.hoerberg@gmail.com">carl.hoerberg@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; what about a multi A DNS record (with low ttl), which you update when<br>
&gt;&gt; a server is down/up?<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Mar 12, 2012 at 11:26, stone &lt;<a href="mailto:zmstone@gmail.com">zmstone@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi there!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is there any good practice regarding how to write self-managed AMQP<br>
&gt;&gt; &gt; client<br>
&gt;&gt; &gt; (Erlang based)<br>
&gt;&gt; &gt; Here is what I need to accomplish:<br>
&gt;&gt; &gt; 1. I don&#39;t what to hard-code hostname/ip address of rabbit-server,<br>
&gt;&gt; &gt; using a configuration file would be a simple solution, but, is there a<br>
&gt;&gt; &gt; better way?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2. Client should be able to get the rabbit server &quot;running cluster&quot;<br>
&gt;&gt; &gt; information.<br>
&gt;&gt; &gt; so if the current connection is broken, it could try another one in the<br>
&gt;&gt; &gt; cluster,<br>
&gt;&gt; &gt; then perhaps update the &quot;running cluster&quot; list from the new node;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Brs<br>
&gt;&gt; &gt; /stone<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; rabbitmq-discuss mailing list<br>
&gt;&gt; &gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&gt; &gt; <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>