vCloud Availability for vCloud Director with OnApp sharing the same RabbitMQ cluster

You will need to configure RabbitMQ to listen on both TCP an SSL ports. This is because vCloud Availability for vCloud Director requires SSL for RabbitMQ but OnAPP does not support it.

In the vCloud Availability for vCloud Director documentation on RabbitMQ Installation and Configuration, it says (snippet) :


Create the file /etc/rabbitmq/rabbitmq.config with the following content.

[
 {ssl, [{versions, ['tlsv1.2', 'tlsv1.1', tlsv1]}]},
 {rabbit, [
 {ssl_listeners, [5671]},

You need to add a TCP listener, so it will look like this:

[
 {ssl, [{versions, ['tlsv1.2', 'tlsv1.1', tlsv1]}]},
 {rabbit, [
 {tcp_listeners, [5672]},
 {ssl_listeners, [5671]},

A restart of RabbitMQ is needed for this to take affect.

Configure vCD extensibility with the RabbitMQ details and specify the TCP port 5672, without SSL.

Use a VCAV Installer version that supports the ‘–amqp-port’ option for the ‘vcav hcs configure’ command. The versions are 1.0.1.1 and above. If in doubt ‘vcav hcs configure -–help’, will show if it is supported.

When you run the ‘vcav hcs configure’ command, add ‘–amqp-port=5671’ to the command. If you have previously run hcs configure, you will need to add ‘–reconfigure’ too.

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s