RabbitMQ集群I8

2022-05-04 21:59:57 浏览数 (1)

h102上集群状态

代码语言:javascript复制
[root@h102 ~]# rabbitmqctl cluster_status 
Cluster status of node rabbit@h102 ...
[{nodes,[{disc,[rabbit@h101,rabbit@h102]}]},
 {running_nodes,[rabbit@h102]},
 {cluster_name,<<"rabbit@h101.temp">>},
 {partitions,[]}]
[root@h102 ~]# 

启动h101

代码语言:javascript复制
[root@h101 ~]# /etc/init.d/rabbitmq-server start 
Starting rabbitmq-server: SUCCESS
rabbitmq-server.
[root@h101 ~]#

h102上日志

代码语言:javascript复制
=INFO REPORT==== 23-Oct-2015::22:26:04 ===
node rabbit@h101 up

=INFO REPORT==== 23-Oct-2015::22:26:05 ===
rabbit on node rabbit@h101 up

0 人点赞