RabbitMQ installation delay switch

 

RabbitMQ installation delay switch

Switch plug mounted on three delay node

1. Go to RabbitMQ plugins directory

cd /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.12/plugins

2. Download the plug-in installation package delay

wget https://dl.bintray.com/rabbitmq/community-plugins/3.6.x/rabbitmq_delayed_message_exchange/rabbitmq_delayed_message_exchange-20171215-3.6.x.zip

3. Extract delay plug-in installation package

unzip rabbitmq_delayed_message_exchange-20171215-3.6.x.zip

The RAM node is modified to node DISK

On the RAM node, the node is modified to a disk node

rabbitmqctl stop_app

rabbitmqctl change_cluster_node_type disk

rabbitmqctl start_app

Plug-start delay switch

Start delay switch plug on three nodes

rabbitmq-plugins enable rabbitmq_delayed_message_exchange

 

Published 454 original articles · won praise 261 · views 760 000 +

Guess you like

Origin blog.csdn.net/wangming520liwei/article/details/104743467