RabbitMQ Server Installation
To install RabbitMQ Server standalone (separately from Control Panel box) with the installer:
Install OnApp's YUM repository:
# rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo.noarch.rpm
Install the
onapp-rabbitmq
package:# yum -y install onapp-rabbitmq
Run the installer:
# /onapp/onapp-rabbitmq/onapp-rabbitmq.sh
The following example will install RabbitMQ Server and configure manager and onapp
accounts with random password generated and ready to use by vCloud:
# /onapp/onapp-rabbitmq/onapp-rabbitmq.sh
The ready to use credentials.yml could be used to configure OnApp's Control Panel and vCloud access.
# cat /onapp/onapp-rabbitmq/credentials.yml --- port: 5672 user: 'onapp' password: 'PASSWORD' vhost: '/' host: '127.0.0.1'
Just run the CP's installer with the following options (RBT_HOST - remote RabbitMQ Server standalone IP address):
# /onapp/onapp-cp-install/onapp-cp-install.sh --rbthost=RBT_HOST --vcdlogin=onapp --vcdpasswd='PASSWORD'
or copy /onapp/onapp-rabbitmq/credentials.yml
from the RabbitMQ Server standalone box, into Control Panel /onapp/configuration/rabbit_mq/vcloud/credentials.yml.
As soon as the Control Panel installer completes, add ‘onapp’ system user’s RSA public key to authorize root user login on remote RabbitMQ Server via ssh:
# ssh-copy-id -i /home/onapp/.ssh/id_rsa root@RBT_HOST
The RabbitMQ manager's account credentials are available at the.rabbitmq.mgr
file:
# cat /onapp/onapp-rabbitmq/.rabbitmq.mgr rbtmgr MANAGER_PASSWORD
Also you can monitor RabbitMQ server using a command-line tool for it.