This section describes how to configureĀ multi-tenant AMQP for multiple datacenters.
...
API configuration
To configure the API for multitenant AMQP.
In the
abiquo.properties
file, setabiquo.rabbitmq.multitenant
totrue
Create a virtual host for the API. The default virtual host is
/
and you can use this if you do not have a monolithic environment. (See the separate section below for monolithic configuration)
...
Code Block |
---|
rabbitmqctl add_user admin admin rabbitmqctl set_permissions -p / admin ".*" ".*" ".*" |
...
Watchtower configuration
The Watchtower server must use the same virtual host as the API, and it can also use the same user.
On the Watchtower server, edit the watchtower properties files at these locations
Code Block /etc/abiquo/watchtower/emmett.properties /etc/abiquo/watchtower/delorean.properties
In each file, configure the following properties. If you do not have a separate datanode, enter the IP address of the API server. For a datanode services cluster, enter the three IP addresses, separated by commas.
Code Block abiquo.rabbitmq.username = {$RABBITMQ_USER} abiquo.rabbitmq.password = {$RABBITMQ_PASSWORD} abiquo.rabbitmq.addresses = {$DATANODE$SERVICES_IP_ADDRESS}:5672 abiquo.rabbitmq.virtualHost = /
Restart the
abiquo-emmett
andabiquo-delorean
services
...