Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The aim of this guide is to explain This section describes how to configureĀ multi-tenant AMQP for multiple datacenters.

...

API configuration

To configure the API for multitenant AMQP.

  1. In the abiquo.properties file, set abiquo.rabbitmq.multitenant to true

  2. 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.

  1. On the Watchtower server, edit the watchtower properties files at these locations

    Code Block
    /etc/abiquo/watchtower/emmett.properties
    /etc/abiquo/watchtower/delorean.properties
  2. 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 = /
  3. Restart the abiquo-emmett and abiquo-delorean services

...