-
Book Overview & Buying
-
Table Of Contents
RabbitMQ Cookbook
By :
Often, we need to prepare OS images that will join a RabbitMQ cluster once booted.
We can easily accomplish this task with some scripting, but RabbitMQ provides a simpler and more elegant option already, which we are going to explore with this recipe.
In order to prepare this recipe, you need at least two hosts with RabbitMQ installed and configured as standalone brokers.
The hosts must have the same version of RabbitMQ and Erlang.
In this recipe we start with two RabbitMQ core brokers that is a high-availability pair, which is the minimum condition for the cluster to work and be highly reliable. Then we configure all the other nodes as auto-configuring by writing the configuration to the rabbitmq.config file.
Configure the server hostnames as already shown in the Creating a simple cluster recipe steps 1 to 4.
Let all the servers have the same Erlang cookie.
Start RabbitMQ on node01 and node02 and create a cluster from them, as seen...
Change the font size
Change margin width
Change background colour