
76
Appendix A. Upgrading RabbitMQ
Server
This appendix describes how to upgrade RabbitMQ Server without upgrading Resource Manager. Follow these pro-
cedures if your Resource Manager deployment relies on custom queues, or if RabbitMQ Server is deployed off-host
(not on a Resource Manager host).
Unless otherwise instructed, perform all steps in this procedure as root, or as a user with superuser privileges.
A.1. Prepare to upgrade
1. Log in to the host to upgrade as root, or as a user with superuser privileges.
2. If you are upgrading a RabbitMQ Server instance on a Resource Manager host, upgrade the Zenoss dependencies
repository.
RHEL/CentOS 5: rpm -Uvh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el5.noarch.rpm
RHEL/CentOS 6: rpm -Uvh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el6.noarch.rpm
If you are upgrading an off-host RabbitMQ Server instance, download the RabbitMQ RPM file.
RHEL/CentOS 5: wget http://deps.zenoss.com/yum/4.2.x/centos/5\
/os/x86_64/rabbitmq-server-2.8.6-1.noarch.rpm
RHEL/CentOS 6: wget http://deps.zenoss.com/yum/4.2.x/centos/6\
/os/x86_64/rabbitmq-server-2.8.6-1.noarch.rpm
A.2. Stop Resource Manager
If your installation does not include remote hub or collector hosts, follow these steps to stop Resource Manager.
1. Log in to the Resource Manager master host as zenoss.
2. Stop all daemons.
zenoss stop
Occasionally, the stop command does not terminate all of the Resource Manager daemons. To check, enter the
following command:
pgrep -fl ${ZENHOME}
If the pgrep command returns a result, kill the processes.
pkill -f ${ZENHOME}
If your installation does include remote remote hub or collector hosts, follow these steps to stop Resource Manager.
1. Log in to the Resource Manager master host as user zenoss, and stop the web server daemon.
zenwebserver stop
2. Log in to each collector host, and stop Resource Manager daemons.
ssh root@remote-collector-host
service zenoss stop
Comentarios a estos manuales