[rabbitmq-discuss] Auto-configuration of a cluster

Matthias Radestock matthias at lshift.net
Wed Jan 27 23:15:33 GMT 2010


Filip,

Filip Tepper wrote:
> I have 2 RabbitMQ nodes on separate machines: 
> 
> rabbit at rabbitmq-1a.srv
> rabbit at rabbitmq-1b.srv
> 
> Both with default configs. 
> 
> I've added /etc/rabbitmq/rabbitmq_cluster.config: 
> 
> ["rabbit at brabbitmq-1a.atm", "rabbit at rabbitmq-1b.atm"]. 
> 
> After running rabbitmq-server on rabbitmq-1a.srv I get the following error: 
> 
> node          : rabbit at rabbitmq-1a 

Take a close look at the node names listed above. Your first list has 
.srv suffixes, your second list has .atm suffixes, and the actual node 
name reported by rabbit has no suffix. To get things to work, all three 
need to line up.

Also, the node names in the cluster config should be wrapped in *single* 
quotes, not double quotes.


Regards,

Matthias.




More information about the rabbitmq-discuss mailing list