One collector, multiple rabbit servers

Asked by visharma on 2013-01-24

Hi All,

Is there a possibliity that a ceilometer collector can talk to multiple rabbit servers (not queues but a different host) ??

I read in that
rabbit_hosts [‘$rabbit_host:$rabbit_port’] The list of rabbit hosts to listen to

This makes me think that multiple rabbit server can be configured on a collector. But does the collector communicate to only one of these and use others on failover (HA)? Or it can contact all the servers simultaneously?

If the latter is true then all the rabbit servers must have the same username password as they are mentioned as single values in the conf??

The reason I am asking this is that in our application we have a huge amount of messages on one of the queues and we want to run that queue on a separate server and not disturb the existing set-up. So we need multiple rabbit servers but would that mean having a separate collector for each rabbit server??


Question information

English Edit question
Ceilometer Edit question
No assignee Edit question
Solved by:
Julien Danjou
Last query:
Last reply:
Best Julien Danjou (jdanjou) said : #1

Yes, rabbit_hosts list is used for failover, not for anything else.
You'll have to run multiple collector for your use case, but that shouldn't be hard setting up with 2 different configuration files.

visharma (thevineet) said : #2

Thanks Julien Danjou, that solved my question.