One collector, multiple rabbit servers

Asked by visharma

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 http://ceilometer.readthedocs.org/en/latest/configuration.html 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??

Regards,
Vineet

Question information

Language:
English Edit question
Status:
Solved
For:
Ceilometer Edit question
Assignee:
No assignee Edit question
Solved by:
Julien Danjou
Solved:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
visharma (thevineet) said :
#2

Thanks Julien Danjou, that solved my question.