vCloud Director Install and Setup – installing RabbitMQ

This entry is part 4 of 5 in the series vCloud Director Install and Setup Series


This is a continuation of a series of posts on vCloud Director Install and Setup and details the setup of RabbitMQ on Linux CentOS 6.4 (64 bit).

So again, referring to the official docs (, AMQP (Advanced Message Queuing Protocol), is an open standard for message queuing that supports flexible messaging.  vCloud Director can use AMQP Brokers for notifications about events in the cloud. Well that sounds very fancy and as I haven’t used this before lets go ahead and install an AMQP Broker.  As the documentation appears to recommend RabbitMQ for this broker service lets go ahead and download/install it.


We want this RabbitMQ instance to be available to all vCloud Director servers that we are going to create so the logical thing to do here is install it to the NFS server.

RabbitMQ can be downloaded here at

This link then takes you to the main RabbitMQ site where you find loads of different OS versions.  As I’m installing this on the NFS server which is running CentOS 6.4 (64 bit) the following instructions are for that distro.  All the following info was based on this page.

Login to your CentOS server and download the rpm:

Apparently we also need to install Erlang on the server.  With RHEL/Fedore/CentOS systems we have a choice of 3 options.  I am going to use the RHEL 6  (64 bit) Erlang rpm package as found in this link which takes you to the Downloads section of the site.

Once you have the rpm, upload it to your server and install it:

Now Erlang is installed you can install the RabbitMQ rpm:

Now the rpm is installed, lets configure it.  First of ensure RabbitMQ starts at boot time:

Now start the service (this will start RabbitMQ with defaults):

To customise the config of RabbitMQ you need to create a file in /etc/rabbitmq called rabbitmq.config.  Details on all the available configuration options are listed on here.  I changed the default username and password with these settings (just restart the service to apply):

The log files are found by default in /var/log/rabbitmq.  The server log will be /var/log/rabbitmq/[email protected]<name of server>.log.  There is also a /var/log/rabbitmq/startup_log file which when you tail it shows some nifty ascii art 🙂

And that appears to be it until you connect vCloud Director to the AMQP.

Series Navigation<< vCloud Director Install and Setup – installing vShield ManagervCloud Director Install and Setup – installing vCD >>

One Reply to “vCloud Director Install and Setup – installing RabbitMQ”

  1. Hey Danny,

    Just spent an afternoon installing this. Thanks heaps for this guide, it was the most complete i could find.

    Thanks again!

Leave a Reply

Your email address will not be published. Required fields are marked *