[rabbitmq-discuss] RabbitMQ cluster on a single machine, OSX Lion, Homebrew

Chris Johnson wchrisjohnson at gmail.com
Wed Aug 15 05:46:44 BST 2012


I am attempting to set up a simple, two node cluster on my mac using the
instructions within the clustering guide:

http://www.rabbitmq.com/clustering.html#single-machine

See the transcript below.

I've been trying to get this working for many hours, with no luck.

I'd appreciate it if someone could give me some direction.



?  ~  RABBITMQ_NODE_PORT=5672 RABBITMQ_SERVER_START_ARGS="-rabbitmq_mochiweb
listeners [{mgmt,[{port,55672}]}]" RABBITMQ_NODENAME=rabbit rabbitmq-server
-detached
Activating RabbitMQ plugins ...
6 plugins activated:
* amqp_client-2.8.5
* mochiweb-2.3.1-rmq2.8.5-gitd541e9a
* rabbitmq_management-2.8.5
* rabbitmq_management_agent-2.8.5
* rabbitmq_mochiweb-2.8.5
* webmachine-1.9.1-rmq2.8.5-git52e62bc

?  ~  RABBITMQ_NODE_PORT=5673 RABBITMQ_SERVER_START_ARGS="-rabbitmq_mochiweb
listeners [{mgmt,[{port,55673}]}]" RABBITMQ_NODENAME=hare rabbitmq-server
-detached
Activating RabbitMQ plugins ...
6 plugins activated:
* amqp_client-2.8.5
* mochiweb-2.3.1-rmq2.8.5-gitd541e9a
* rabbitmq_management-2.8.5
* rabbitmq_management_agent-2.8.5
* rabbitmq_mochiweb-2.8.5
* webmachine-1.9.1-rmq2.8.5-git52e62bc

?  ~  rabbitmqctl -n hare stop_app
Stopping node hare at Wilson ...
...done.
?  ~  rabbitmqctl -n hare reset
Resetting node hare at Wilson ...
...done.
?  ~  rabbitmqctl -n hare cluster rabbit@`hostname -s`
Clustering node hare at Wilson with [rabbit at Wilson] ...
...done.
?  ~  rabbitmqctl -n hare start_app
Starting node hare at Wilson ...
...done.
?  ~  rabbitmqctl cluster_status
Cluster status of node rabbit at localhost ...
Error: unable to connect to node rabbit at localhost: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit at localhost]

hosts, their running nodes and ports:
- localhost: [{rabbit,49647},{hare,49652},{rabbitmqctl2623,49672}]

current node details:
- node name: rabbitmqctl2623 at Wilson
- home dir: /Users/wchrisjohnson
- cookie hash: AKiRQ5XKMM9jeUV8oc4l6g==

?  ~  rabbitmqctl status
Status of node rabbit at localhost ...
Error: unable to connect to node rabbit at localhost: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit at localhost]

hosts, their running nodes and ports:
- localhost: [{rabbit,49647},{hare,49652},{rabbitmqctl2650,49677}]

current node details:
- node name: rabbitmqctl2650 at Wilson
- home dir: /Users/wchrisjohnson
- cookie hash: AKiRQ5XKMM9jeUV8oc4l6g==





Best Regards,
 
Chris





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120815/48441b49/attachment.htm>


More information about the rabbitmq-discuss mailing list