LATEST VERSION: 1.9.4 - CHANGELOG
RabbitMQ for PCF v1.9.4

Managing the RabbitMQ® Service

RabbitMQ Management Dashboard

Admin User

To gain access to the management dashboard as the admin user, visit http://pivotal-rabbitmq.<cf sys domain>, where can be found at “Pivotal Elastic Runtime” configuration on “Domains” section: “System Domain” field.

The username and password is the username and password you provided in the RabbitMQ configuration in Ops Manager, which is also shown in the Credentials tab.

Dashboard

Application Developer

Users of Cloud Foundry who create instances via the Apps Manager or the cf CLI also get access to the Management UI. This is done using credentials that provide access only to their particular vhost.

The appropriate URL is accessible via the Manage button within the Apps Manager.

Console manage

Or it is also injected into the VCAP_SERVICES environment variable provided to apps running on Cloud Foundry. This can also be found via the CLI using cf env <your app name>.

Cli manage

Logging

A TCP Syslog endpoint can be configured in Ops Manager. Logs are currently only forwarded for the RabbitMQ cluster.

RabbitMQ CLI

If you wish to run commands such as rabbitmqctl then you have two options:

SSH into one of the machines running the rabbitmq-server. IPs can be found from the Status tab and access credentials from the Credentials tab within the RabbitMQ component of the installer. From there you need to bring RabbitMQ and Erlang into your environment and from there you can use rabbitmqctl:


bash-4.1# export PATH=$PATH:/var/vcap/packages/rabbitmq-server/bin
bash-4.1# export PATH=$PATH:/var/vcap/packages/erlang/bin
bash-4.1# rabbitmqctl cluster_status
Cluster status of node rabbit@node0 ...
[{nodes,[{disc,[rabbit@node0,rabbit@node1,rabbit@node2,rabbit@node3]}]},
 {running_nodes,[rabbit@node3,rabbit@node2,rabbit@node1,rabbit@node0]},
 {partitions,[]}]
...done.

Alternatively, install RabbitMQ and Erlang on a machine of your choice. Be sure to match versions of both to the cluster: the Management UI shows both the version of RabbitMQ and Erlang.

Then set your ~/.erlang.cookie to match the cookie used in the cluster (you may have supplied this as part of the installation; see above).

You’ll need to set up your /etc/hosts file to match the RabbitMQ nodes.

HAProxy Statistics Dashboard

Each HAProxy node has a statistics dashboard that you can view from within your PCF network, at the IP address for the HAProxy node. You can only access the dashboard from an internal IP address. If you have multiple HAProxy nodes, each has its own dashboard. To access the HAProxy statistics dashboard:

  1. Open the RabbitMQ for PCF tile in Ops Manager and select the Status tab. Opsman status

  2. Record the IP address listed for HAProxy for RabbitMQ, 10.0.0.55 in the image above.

  3. Select the Credentials tab and record the username and password for HAProxy for RabbitMQ job > Stats Dashboard, admin and 8b4... in the image below. Opsman credentials

  4. Browse to the HAProxy IP address and enter the username and password.

Create a pull request or raise an issue on the source for this page in GitHub