RabbitMQ叢集重啟報錯

xianjuke008發表於2020-10-28

加入叢集報錯:

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

相關文章