RabbitMQ multi Instance
1. Verify configuration
config file(s) : /etc/rabbitmq/rabbitmq.config
/etc/rabbitmq/ * 를 /etc/rabbitmq2/ (3) 로 복사
>vi rabbitmq-env.conf
#rabbitmq-env.conf
RABBITMQ_NODE_PORT=5672 (6672, 7672)
RABBITMQ_MNESIA_BASE=/block/dbfiles (/block/dbfiles2, /block/dbfiles3 )
RABBITMQ_LOG_BASE=/block/logs/rabbitmq (/block/logs/rabbitmq2, /block/logs/rabbitmq3)
- block 추가
Mkdir /block/dbfile2 (3)
Mkdir /block/logs/rabbitmq2 (3)