-
Book Overview & Buying
-
Table Of Contents
RabbitMQ Cookbook
A localhost cluster is a RabbitMQ cluster where two or more instances of RabbitMQ are configured as a single cluster on the same host.
Actually, this is not very useful in production since it does not offer any scalability or reliability improvement. On the other hand, it is very useful to create a localhost cluster to test configurations on, for example, a development PC.
In order to put this recipe in action we just need RabbitMQ installed and running.
Even if it is not strictly required, we have installed the management plugin as shown in Chapter 3, Managing RabbitMQ. In this way, we need to specify a different web console TCP port for every broker.
In order to create a localhost cluster, we can perform the following steps:
From a root shell (Linux), start a second RabbitMQ instance with the following command:
env RABBITMQ_NODENAME=node01 RABBITMQ_NODE_PORT=5673 RABBITMQ_SERVER_START_ARGS="-rabbitmq_management listener [{port,15673}]"...
Change the font size
Change margin width
Change background colour