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 ".*" ".*" ".*"
时间: 2024-11-06 03:28:25