加入集群的节点可以任意关停、下线或宕机
Nodes that have been joined to a cluster can be stopped at any time. It is also ok for them to crash. In both cases the rest of the cluster continues operating unaffected, and the nodes automatically “catch up” with the other cluster nodes when they start up again.
[root@h101 ~]# rabbitmqctl stop
Stopping and halting node rabbit@h101 ...
[root@h101 ~]#
h101上日志
=INFO REPORT==== 23-Oct-2015::22:19:33 ===
Stopping RabbitMQ
=INFO REPORT==== 23-Oct-2015::22:19:33 ===
stopped TCP Listener on [::]:5672
=INFO REPORT==== 23-Oct-2015::22:19:33 ===
Stopped RabbitMQ application
=INFO REPORT==== 23-Oct-2015::22:19:33 ===
Halting Erlang VM
h102上日志
=INFO REPORT==== 23-Oct-2015::22:19:33 ===
rabbit on node rabbit@h101 down
=INFO REPORT==== 23-Oct-2015::22:19:33 ===
Keep rabbit@h101 listeners: the node is already back
=INFO REPORT==== 23-Oct-2015::22:19:34 ===
node rabbit@h101 down: connection_closed
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。