How to verify if the broker is out of sync
If AMQP cluster runs on a single node, a restart is enough to bring the cluster in an invalid state, causing various problems. Identifying if the broker is in an invalid state is sometimes tricky.
By following the steps, you can identify an invalid state:
-
Open
https://host:port/rabbitmq/#/ -
Enter credentials (to be found in your deployment configuration)
-
Does the overview page of the AMQP broker management UI indicate an invalid state? All nodes should have a green state!
-
Are all queues synchronized over all nodes?
-
Open
https://host:port/rabbitmq/#/queues -
All nodes should have the blue "+2" and "mirror-queue" icons
-
-
Are the exchanges available over time?
-
If the exchanges are not synchronized over all nodes, they appear and disappear.
-
It is best to filter for "cm" and see if all exchanges stay (2 minutes is enough).
-
This can also be observed if a queue is opened. The bindings to the exchanges will appear and disappear.
-