Yeah, that&#39;s probably a decent solution too.<div>Another similar tool is doozer <a href="https://github.com/ha/doozer" target="_blank">https://github.com/ha/doozer</a></div><div>I&#39;ve never used either of them though.</div>
<div><br>
<div>How about a deamon constantly pull the information from<br></div><div>command line &quot;rabbitmqctl status&quot; ?</div><div>I mean comparing to a plugin, will it cause any performance impact to rabbit-server?</div>
<div><br></div><div>Brs</div><div>/stone<br><br><div class="gmail_quote">
2012/3/12 Jerry Kuch <span dir="ltr">&lt;<a href="mailto:jerryk@vmware.com" target="_blank">jerryk@vmware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

This is also a pretty natural thing to do with a system like Zookeeper<br>

from the Hadoop project, although it would require Rabbit to grow something<br>
like a plugin that either had an Erlang Zookeeper client, or used a port<br>
or jinterface to the native C or Java Zookeeper clients, to do the necessary<br>
work...<br>
<br>
Best regards,<br>
Jerry<br>
<div><div><br>
----- Original Message -----<br>
From: &quot;stone&quot; &lt;<a href="mailto:zmstone@gmail.com" target="_blank">zmstone@gmail.com</a>&gt;<br>
To: &quot;Carl H�rberg&quot; &lt;<a href="mailto:carl.hoerberg@gmail.com" target="_blank">carl.hoerberg@gmail.com</a>&gt;<br>
Cc: <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
Sent: Monday, March 12, 2012 5:46:34 AM<br>
Subject: Re: [rabbitmq-discuss] Good practice to work with rabbit cluster?<br>
<br>
<br>
seems better than config file. thanks Carl.<br>
<br>
<br>
2012/3/12 Carl H�rberg &lt; <a href="mailto:carl.hoerberg@gmail.com" target="_blank">carl.hoerberg@gmail.com</a> &gt;<br>
<br>
<br>
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>
<br>
<br>
<br>
On Mon, Mar 12, 2012 at 13:28, stone &lt; <a href="mailto:zmstone@gmail.com" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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>
<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<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>
</div></div></blockquote></div><br></div>
</div>