lgd8069465 commented on issue #3275:
URL: https://github.com/apache/rocketmq/issues/3275#issuecomment-901650180


   > > https://github.com/apache/rocketmq/blob/master/docs/cn/operation.md
   > > 
如上启动命令是在单个NameServer情况下使用的。对于多个NameServer的集群,Broker启动命令中-n后面的地址列表用分号隔开即可,例如 
192.168.1.1:9876;192.161.2:9876。
   > > ```shell
   > > [root@docker ~]# sh /opt/rocketmq-all-4.9.0-bin-release/bin/mqadmin 
clusterList -n 
192.168.2.184:9876;192.168.2.15:9876;192.168.2.217:9876;192.168.2.222:9876
   > > RocketMQLog:WARN No appenders could be found for logger 
(io.netty.util.internal.PlatformDependent0).
   > > RocketMQLog:WARN Please initialize the logger system properly.
   > > #Cluster Name     #Broker Name            #BID  #Addr                  
#Version                #InTPS(LOAD)       #OutTPS(LOAD) #PCWait(ms) #Hour 
#SPACE
   > > DefaultCluster    broker-a                0     192.168.2.184:10911    
V4_9_0                   0.00(0,0ms)         0.00(0,0ms)          0 452594.70 
0.9079
   > > DefaultCluster    broker-a                1     192.168.2.217:10911    
V4_9_0                   0.00(0,0ms)         0.00(0,0ms)          0 452594.70 
0.9595
   > > DefaultCluster    broker-b                0     192.168.2.15:10911     
V4_9_0                   0.00(0,0ms)         0.00(0,0ms)          0 452594.70 
-1.0000
   > > DefaultCluster    broker-b                1     192.168.2.222:10911    
V4_9_0                   0.00(0,0ms)         0.00(0,0ms)          0 452594.70 
0.1785
   > > -bash: 192.168.2.15:9876: command not found
   > > -bash: 192.168.2.217:9876: command not found
   > > -bash: 192.168.2.222:9876: command not found
   > > [root@docker ~]#
   > > ```
   > > 
   > > 
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > command not found ?
   > 
   > admin tools 指定一个nameserver 就可以了,不同nameserver 的元数据是一致的,上面多个nameserver 
拼接常用于producer,nameserver
   
   一个nameserver宕机了是不是代表全完了?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to