The aim of this guide is to explain how to configure multitenant AMQP for multiple datacenters.
True if multitenant is enabled. By default it is disabled (false)
Logical separation where the configured Abiquo service manages AMQP entities. The default virtual host is '/'
API + RS
Username to connect to broker + virtualHost
API + RS
Password to connect to broker + virtualHost
API + RS
Unique datacenter ID. For a complete description see Abiquo Configuration Properties#datacenter
To configure the API:
Create an Abiquo API user with full access to the configured virtual host
The virtual host to use must be the same one configured and used by the API and the user can also be the same.
Take care to configure the virtual host and user/password in emmett.conf and delorean.conf files in section "amqp.rabbitmq"
As Abiquo 4.2 watchtower uses the properties defined in abiquo.properties file, be sure to configure the properties:
Each datacenter in Abiquo has an unique ID configured in the property "abiquo.datacenter.id" and the value of this property will be used as name of a new virtual host.
Create a new virtual host named as "abiquo.datacenter.id" property value
Add a new user for the new datacenter
Configure access to new virtual host for Abiquo API user
Configure access to new virtual host for datacenter user
Permissions on virtual hosts can be listed (note that only the API user has access to its own API virtual host):
Check that properties on remote services match the configured values:
To configure the monolithic installation:
The rest of data centers (non-monolithic) can be added as described in the previous section