1. 程式人生 > >rabbitmq一機多例項

rabbitmq一機多例項

啟動

RABBITMQ_NODE_PORT=5672 RABBITMQ_NODENAME=rabbit1 rabbitmq-server

RABBITMQ_NODE_PORT=5673 RABBITMQ_NODENAME=rabbit2 rabbitmq-server

停止

rabbitmqctl -n rabbit1  stop

rabbitmqctl -n rabbit2 stop