Below you can find instructions on how to configure RabbitMQ for CDN Accelerator.
Compute Resources and Control Panel must use the same rabbitmq-server. For instructions on how to install RabbitMQ server, refer to the RabbitMQ Server Installation document.
- Starting from 6.2 Edge 2, Accelerator is renamed into Edge Accelerator.
- If you have the latest OnApp update installed, there is no need to upgrade and reboot compute resources. In this case:
- Configure users for RabbitMQ server (where RabbitMQ server is installed)
- Configure /home/mq/onapp/messaging/credentials.yml file (for Cloudboot compute resources, this file should be configured after every reboot)
- Run the
service onapp-messaging startcommand.
Configuration for Accelerator
Perform the following steps for your Cloudboot compute resources if you plan to deploy Accelerator. These steps are to be performed on each of the compute resources.
Run the following command on the CP server:
For all compute resources:
For certain compute resources only:
To perform the configuration for a number of compute resources, separate their IPs with a space.
The command above should be run after every reboot. However, you can avoid the necessity to run the command repeatedly after every reboot by coping the following information (using your parameters) from /home/mq/onapp/messaging/credentials.yml to the custom config:
To make the configuration for the Accelerator manually, perform the following steps:
vi /home/mq/onapp/messaging/credentials.ymland check the following details:
Run the following:
Note that steps 1-4 of the above instruction should be done after every reboot of CloudBoot compute resource. You can run the following commands (using your parameters) to the custom config instead: