加入集群报错:
rabbitmqctl join_cluster rabbit@10-10-111-232
Clustering node rabbit@10-10-97-156 with rabbit@10-10-111-232
Error:
{:inconsistent_cluster, 'Node \'rabbit@10-10-111-232\' thinks it\'s clustered with node \'rabbit@10-10-97-156\', but \'rabbit@10-10-97-156\' disagrees'}
解决:
移除的节点停机
rabbitmqctl stop
rabbitmqctl stop_app
master端操作剔除节点
rabbitmqctl -n rabbit@10-10-111-232 forget_cluster_node rabbit@10-10-97-156
Removing node rabbit@10-10-97-156 from the cluster
重新加入集群
rabbitmqctl reset
rabbitmqctl join_cluster rabbit@10-10-111-232