To set up a resilient RabbitMQ cluster with high availability, you must set up at least three nodes. If any one of the nodes become unavailable, one of the remaining nodes can be reached and no data is lost.
What you should know
- Nodes can be physical or virtual machines. All machines in the RabbitMQ cluster must be reachable. It is recommended that all machines in the RabbitMQ cluster be on the same domain and on the same local area network (LAN).
- If all servers of the cluster go down, the RSA Surveillance plugin can only reconnect when all servers of the cluster come back online.
- Use the RSA Surveillance plugin installer to install RabbitMQ on each machine where you need to create a node.
Select one node to be the master node.
The master node is used to create and name the RabbitMQ cluster. It has no advantage over the other nodes.
- Create a RabbitMQ master cluster.
- Add nodes to the master node's cluster.
- Enable queue mirroring on each node so they become highly available.
- Add the RabbitMQ servers on the Properties page of the plugin in Config Tool.