Differences

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

Link to this comparison view

Both sides previous revision Previous revision
rabbitmq [2015/12/08 11:57]
steve [Creating a Cluster]
rabbitmq [2015/12/08 12:11] (current)
steve [Creating a Cluster]
Line 60: Line 60:
  
 A cluster can be created with more than one node. You will first create one instance which will act as the primary node, and then additional ones after that. Any time that a node is added to a running cluster, it will remove all the data currently in the primary node. A cluster can be created with more than one node. You will first create one instance which will act as the primary node, and then additional ones after that. Any time that a node is added to a running cluster, it will remove all the data currently in the primary node.
 +
 +One thing that is interesting and may be different to the user, is that RabbitMQ does not contain the settings for the cluster a config file. The cluster itself keeps track of who the nodes are, so there are no special settings that need to be added in ''/​etc/​rabbitmq/​rabbitmq.config''​.
  
 In this example, there will be two nodes only. A primary node which will start as normal using the default configuration,​ and then a secondary node which will be added to the first, therefore creating a cluster. In this example, there will be two nodes only. A primary node which will start as normal using the default configuration,​ and then a secondary node which will be added to the first, therefore creating a cluster.