apmec/doc/source/contributor/tacker_conductor.rst
2018-05-07 13:25:56 +02:00

1.8 KiB

Apmec conductor

Apmec conductor is a component which is used to communicate with other components via message RPC. In the conductor, the RPC server sides can access the apmec base on behalf of them.

To start

Apmec conductor can be started via python console entry script 'apmec-conductor':

apmec-conductor --config-file /etc/apmec/apmec.conf

we can easily start many apmec-conductor instances with different 'host' value in the configuration file:

test@ubuntu64:~/devstack$ grep 'host = secondinstance' /etc/apmec/apmec2.conf
host = secondinstance

and then start the second instance:

apmec-conductor --config-file /etc/apmec/apmec2.conf

Rabbitmq queues

Apmec conductor is listening on three queues:

test@ubuntu64:~/apmec$ sudo rabbitmqctl list_queues | grep CONDUCTOR
APMEC_CONDUCTOR 0
APMEC_CONDUCTOR.ubuntu64    0
APMEC_CONDUCTOR_fanout_0ea005c0b666488485a7b3689eb70168 0

But only APMEC_CONDUCTOR queue without host suffix is used.