We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How to use a separate RabbitMQ instance with OnApp?
Environment
OnApp 5.2.x (and later) with vCloud Director integration
Answer
In order to use a separate RabbitMQ server for your OnApp vCloud Director environment, you will need to edit a configuration file within the OnApp software.
1. SSH into your server
ssh root@test-onappvcd
2. Rename the configuration file below
[root@onapp ~]# mv /onapp/interface/config/rabbit_mq/vcloud/credentials.example.yml /onapp/interface/config/rabbit_mq/vcloud/credentials.yml
3. Update the file with the details of your separate RabbitMQ instance and save.
[root@onapp ~]# vi /onapp/interface/config/rabbit_mq/vcloud/credentials.yml
---
:host: 10.0.0.1
:port: 5672
:vhost: "/"
:user: rbtvcd
:password: password
4. Restart the OnApp daemon
[root@onapp ~]# service onapp restart