If you want vCloud Director to send AMQP messages triggered by certain events, you must configure an AMQP broker. You can use the AMQP messages to automate the handling of an underlying user request.

Procedure

  1. From the main menu (Menu), select Administration.
  2. Under Settings, select Extensibility.
    The AMQP Broker tab opens.
  3. Click the Edit button of the AMQP Broker section.
  4. Enter the DNS host name or IP address of the AMQP host.
    The fully qualified domain name of the RabbitMQ server host, for example, amqp.example.com.
  5. Enter the AMQP port.
    The default port at which the broker listens to messages is 5672.
  6. Enter the exchange.
  7. Enter the vHost.
    The default is /.
  8. Enter the prefix.
  9. (Optional) To use SSL, turn on the Use SSL toggle and select one of the certificate options.

    By default, the vCloud Director AMQP service sends unencrypted messages. You can configure the AMQP service to encrypt these messages by using SSL. You can also configure the service to verify the broker certificate by using the default JCEKS trust store of the Java runtime environment on the VMware Cloud Director cell, typically at $VCLOUD_HOME/jre/lib/security/cacerts.

    Option Description
    Accept all certificates The CN record from the certificate owner field must match the AMQP broker host name. To use certificates that do not match the broker host name, turn on the Accept all certificates toggle.
    SSL Certificate Upload the SSL certificate.
    SSL Key Store (JCEKS) Upload the SSL keystore and enter the keystore password.
  10. Enter a user name and password to connect to the AMQP host.
  11. Click Save.
  12. (Optional) To test the settings, click the Test button under the AMQP Broker section and provide the password.
  13. (Optional) To publish audit events to the AMQP broker, click the Edit button under the Non-blocking AMQP Notifications section and turn on the Enable notifications toggle.