Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
rabbitmq [2015/12/08 11:48]
steve
rabbitmq [2015/12/08 11:50]
steve [Creating a Cluster]
Line 83: Line 83:
 chmod 0600 /​var/​lib/​rabbitmq/​.erlang.cookie chmod 0600 /​var/​lib/​rabbitmq/​.erlang.cookie
 chown rabbitmq: /​var/​lib/​rabbitmq/​.erlang.cookie chown rabbitmq: /​var/​lib/​rabbitmq/​.erlang.cookie
 +</​code>​
 +
 +At this point, the primary node is up and running, the cookie exists, and it is ready to have a second node joined to it to create a cluster.
 +
 +On the second node, the RabbitMQ service is already running as normal, from when we started it earlier. Now, we need to tell rabbitmq to stop the application -- not the service -- so that we can join it to the primary node.
 +
 +<​code>​
 +rabbitmqctl stop_app
 </​code>​ </​code>​