If you want VMware Cloud 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
- From the top navigation bar, select Administration.
- Under Settings, select Extensibility.
The
AMQP Broker tab opens.
- Click the Edit button of the AMQP Broker section.
- 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.
- Enter the AMQP port.
The default port at which the broker listens to messages is
5672
.
- Enter the exchange.
- Enter the vHost.
The default is
/
.
- Enter the prefix.
- (Optional) To use SSL, turn on the Use SSL toggle and select one of the certificate options.
By default, the VMware Cloud 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 |
SSL Certificate |
Upload the SSL certificate. |
SSL Key Store (JCEKS) |
Upload the SSL keystore and enter the keystore password. |
- Enter a user name and password to connect to the AMQP host.
- Click Save.
- (Optional) To test the settings, click the Test button under the AMQP Broker section and provide the password.
- (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.