title: how to auto config load-balancing in rabbit mq
body: <p>i have been following the steps from <a href="http://www.rabbitmq.com/clustering.html" rel="nofollow">http://www.rabbitmq.com/clustering.html</a> but i keep getting  </p>
  
  <p>Error: unable to connect to node rabbit@devimgng6: nodedown
  diagnostics:
  - nodes and their ports on devimgng6: [{rabbitmqctl6692,54998}]
  - current node: rabbitmqctl6692@devimgng6
  - current node home dir: /var/lib/rabbitmq
  - current node cookie hash: sZNFGhyjURtfF+vOwxl9NA==</p>
  
  <p>my rabbitmq.config is:</p>
  
  <pre><code> [
        {rabbit, [
            {cluster_nodes, {['rabbit@devimgng6', 'rabbit@devimgng6'], disc}}
        ]}
    ].
  </code></pre>
  
  <p>and i checked that in the .erlang.cookie i hava the same string/
  what am i doing wrong? maybe someone can refer me to a different tutorial?</p>
  
  <p>EDIT:</p>
  
  <p>i fixed my config file to:</p>
  
  <pre><code>[
        {rabbit, [
            {cluster_nodes, {['rabbit@devimgng6', 'rabbit@devimgng1'], disc}}
        ]}
    ]. 
  </code></pre>
  
  <p>i'm using 2 host named: devimgng6 and devimgng1. i stoped each host using rabbitmqctl stop_app/reset/stop as the tutorial says, added the config file under /etc/rabbitmq and started the rabbitmq-server
  i'm still getting the same error as before. ideas?</p>
  
  <p>thanks</p>