[rabbitmq-discuss] getting list of nodes in a cluster

Matthias Radestock matthias at lshift.net
Fri Aug 28 10:14:12 BST 2009


Benoit,

Benoit Chesneau wrote:
> Do you mean erlang:nodes() ?

Yes. It returns all the connected erlang nodes. In a RabbitMQ cluster
that will be the list of all cluster nodes (unless you have additional,
non-rabbit nodes).

> I don't see how it could help here. I want to fetch the list of
> launched erlang node to find one available and open a connection to
> it. To make some kind of fail-over and eventually load balancing.

Ah, so you want to find out this information in some *client* code? Then
no, there is no way to do that.


Matthias.




More information about the rabbitmq-discuss mailing list