1. 程式人生 > >openstack rabbitmq cluster

openstack rabbitmq cluster

rabbitmq

rabbitmqctl cluster_status

11.2 Run the followingcommands on each node except the first one:

rabbitmqctl stop_app

rabbitmqctl join_cluster [email protected]

rabbitmqctl start_app

11.3 first node exec:

rabbitmqctl set_policy ha-all ‘^(?!amq\.).*‘ ‘{"ha-mode":"all"}‘

rabbitmqctl set_policy ha-all "^ha\." ‘{"ha-mode":"all"}‘

rabbitmqctl add_user openstack 7e65c7962ca2256b73ee RABBIT_PASS

rabbitmqctl set_permissionsopenstack ".*" ".*" ".*"


本文出自 “讓我men共同成長” 博客,請務必保留此出處http://wujingfeng.blog.51cto.com/5725921/1964348

openstack rabbitmq cluster