<div dir="ltr">In your example you have:<div><pre style="white-space:pre-wrap;font-size:13px;background-color:rgb(238,238,238);padding:5px;border:1px solid rgb(221,221,221);color:rgb(51,51,51);font-family:&#39;Courier New&#39;,Courier,monospace;line-height:18px">
[{rabbit,
  [{cluster_nodes, {[&#39;rabbit@rabbit1&#39;, &#39;rabbit@rabbit2&#39;, &#39;rabbit@rabbit3&#39;], disc}}]}].</pre></div><div>What we do is just leave it like that and have a separate part of the automated install which sets /etc/hosts to resolve those names.</div>
<div><br></div><div>ml</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 6:24 AM, Simon MacMullen <span dir="ltr">&lt;<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmm. I&#39;m not sure how well that would work; it&#39;s not something we have tested. I&#39;m not sure whether the hostname of the machine(s) specified here get assumed to be part of the cluster.<br>

<br>
Cheers, Simon<div class="im"><br>
<br>
On 02/09/2013 4:49PM, Joe Higgins wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
So if I were to point it at a load balancer, this would work as the load<br>
balancer should automatically add new nodes as they become available?<br>
<br>
<br>
On 2 September 2013 15:55, Simon MacMullen &lt;<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a><br></div><div><div class="h5">
&lt;mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;&gt; wrote:<br>
<br>
    That list is a list of hosts to contact to find out about the<br>
    cluster. It is not required to contain the details of the entire<br>
    cluster.<br>
<br>
    So I&#39;m not sure how you can automatically generate it. You need to<br>
    tell the new node where to find the cluster...<br>
<br>
    Cheers, Simon<br>
<br>
<br>
    On 02/09/13 13:24, Joe Higgins wrote:<br>
<br>
        So I&#39;m currently working on a project where we build deb<br>
        packages for<br>
        each component for automated deployment. In looking at the docs<br>
        around<br>
        clustering I have 1 main question.<br>
<br>
        In the naming of a node, or more specifically a rabbit broker, what<br>
        wildcard can I use so that the hosts name (which is automatically<br>
        generated when we need more capacity) of the conf file?<br>
<br>
        IE.<br>
<br>
        [{rabbit,<br>
            [{cluster_nodes, {[&#39;rabbit@rabbit1&#39;, &#39;rabbit@rabbit2&#39;,<br>
        &#39;rabbit@rabbit3&#39;], disc}}]}].<br>
<br>
        &quot;@rabbit1&quot; needs to be an automatically generated hostname in<br>
        the config<br>
        file as this is to be an automated process.<br>
<br>
        Any help appreciated.<br>
        --<br>
<br>
        Joe Higgins | junior project manager<br>
        GlobalLogic<br>
        <a href="http://www.globallogic.com" target="_blank">www.globallogic.com</a> &lt;<a href="http://www.globallogic.com" target="_blank">http://www.globallogic.com</a>&gt;<br>
        &lt;<a href="http://www.globallogic.com/" target="_blank">http://www.globallogic.com/</a>&gt;<br>
        &lt;<a href="http://www.globallogic.com/" target="_blank">http://www.globallogic.com/</a>&gt;<br></div></div>
        <a href="http://www.globallogic.com/__email_disclaimer.txt" target="_blank">http://www.globallogic.com/__<u></u>email_disclaimer.txt</a><br>
        &lt;<a href="http://www.globallogic.com/email_disclaimer.txt" target="_blank">http://www.globallogic.com/<u></u>email_disclaimer.txt</a>&gt;<br>
<br>
<br>
        ______________________________<u></u>___________________<br>
        rabbitmq-discuss mailing list<br>
        rabbitmq-discuss@lists.__<a href="http://rabbitmq.com" target="_blank">rabbi<u></u>tmq.com</a><br>
        &lt;mailto:<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@<u></u>lists.rabbitmq.com</a>&gt;<br>
        <a href="https://lists.rabbitmq.com/__cgi-bin/mailman/listinfo/__rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/__<u></u>cgi-bin/mailman/listinfo/__<u></u>rabbitmq-discuss</a><div class="im"><br>
        &lt;<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a>&gt;<br>
<br>
<br>
<br>
    --<br>
    Simon MacMullen<br>
    RabbitMQ, Pivotal<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Name | Title<br>
GlobalLogic<br>
P +x.xxx.xxx.xxxx  M +x.xxx.xxx.xxxx  S skype<br>
</div><div class="im"><a href="http://www.globallogic.com" target="_blank">www.globallogic.com</a> &lt;<a href="http://www.globallogic.com/" target="_blank">http://www.globallogic.com/</a>&gt;<br>
&lt;<a href="http://www.globallogic.com/" target="_blank">http://www.globallogic.com/</a>&gt;<br>
<a href="http://www.globallogic.com/email_disclaimer.txt" target="_blank">http://www.globallogic.com/<u></u>email_disclaimer.txt</a><br>
</div></blockquote>
<br><div class="HOEnZb"><div class="h5">
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>