[rabbitmq-discuss] Identify master node

Emile Joubert emile at rabbitmq.com
Tue Jul 16 12:26:28 BST 2013


Hi,

On 15/07/13 22:19, Girish Gangadharan wrote:

> Can somebody please explain to me how does one go about identifying the
> slave vs master nodes in a cluster? The idea is to bring one down and
> see how the clients handle them, especially the Consumer Cancellation
> notifications (for testing high availability setup). Also, is that a
> valid way to test HA? Or the fact that these nodes sit behind a
> load-balancer make it an unnecessary, redundant test?

There is no unique master node in a cluster, since the concept of master
is defined per HA queue. You can determine the master node for each
queue with "rabbitmqctl list_queues pid"

Stopping the master node of a queue sounds like a valid test regardless
of load-balancer.


-Emile






More information about the rabbitmq-discuss mailing list