You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "zhurunhua (via GitHub)" <gi...@apache.org> on 2023/03/22 07:42:39 UTC

[GitHub] [rocketmq] zhurunhua opened a new issue, #6435: the broker cannot starup when deploying master-slave automatic failover mode cluster with embedding the controller in the nameserver

zhurunhua opened a new issue, #6435:
URL: https://github.com/apache/rocketmq/issues/6435

   ### Discussed in https://github.com/apache/rocketmq/discussions/6433
   
   <div type='discussions-op-text'>
   
   <sup>Originally posted by **zhurunhua** March 22, 2023</sup>
   broker启动日志如下:
   ![](https://p.ipic.vip/05sce1.png)
   
   master都能正常启动成功,但是slave会闪退</div>


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] zhurunhua commented on issue #6435: the broker cannot starup when deploying master-slave automatic failover mode cluster with embedding the controller in the nameserver

Posted by "zhurunhua (via GitHub)" <gi...@apache.org>.
zhurunhua commented on issue #6435:
URL: https://github.com/apache/rocketmq/issues/6435#issuecomment-1479050002

   nameserver config:
   
   ```
   # nameserver
   listenPort = 19876
   rocketmqHome = /neworiental/rocketmq-5.1.0/rocketmq-nameserver
   useEpollNativeSelector = true
   orderMessageEnable = true
   serverPooledByteBufAllocatorEnable = true
   kvConfigPath = /neworiental/rocketmq-5.1.0/rocketmq-nameserver/store/namesrv/kvConfig.json
   configStorePath = /neworiental/rocketmq-5.1.0/rocketmq-nameserver/conf/nameserver.conf
   
   # controller
   enableControllerInNamesrv = true
   controllerDLegerGroup = littleCat-Controller
   controllerDLegerPeers = n0-172.24.30.192:19878;n1-172.24.30.193:19878;n2-172.24.30.194:19878
   controllerDLegerSelfId = n0
   controllerStorePath = /neworiental/rocketmq-5.1.0/rocketmq-controller/store
   enableElectUncleanMaster = false
   ```


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] zhurunhua commented on issue #6435: the broker cannot starup when deploying master-slave automatic failover mode cluster with embedding the controller in the nameserver

Posted by "zhurunhua (via GitHub)" <gi...@apache.org>.
zhurunhua commented on issue #6435:
URL: https://github.com/apache/rocketmq/issues/6435#issuecomment-1479052833

   broker config of slave:
   ```
   brokerClusterName = littleCat
   brokerName = broker-a
   brokerId = 1
   listenPort = 13210
   namesrvAddr=172.24.30.192:19876;172.24.30.193:19876;172.24.30.194:19876
   # controller
   enableControllerMode = true
   controllerAddr = 172.24.30.192:19878;172.24.30.193:19878;172.24.30.194:19878
   deleteWhen = 04
   fileReservedTime = 48
   brokerRole = SLAVE
   flushDiskType = ASYNC_FLUSH
   autoCreateTopicEnable = false
   autoCreateSubscriptionGroup = false
   maxTransferBytesOnMessageInDisk = 65536
   rocketmqHome=/neworiental/rocketmq-5.1.0/broker-a-s1
   storePathConsumerQueue=/neworiental/rocketmq-5.1.0/broker-a-s1/store/consumequeue
   brokerIP2=172.24.30.193
   brokerIP1=172.24.30.193
   aclEnable=false
   storePathRootDir=/neworiental/rocketmq-5.1.0/broker-a-s1/store
   storePathCommitLog=/neworiental/rocketmq-5.1.0/broker-a-s1/store/commitlog
   # 3600*24*30
   timerMaxDelaySec=2592000
   traceTopicEnable=true
   timerPrecisionMs=1000
   timerEnableDisruptor=true
   ```


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] zhurunhua closed issue #6435: the broker cannot startup when deploying master-slave automatic failover mode cluster with embedding the controller in the nameserver

Posted by "zhurunhua (via GitHub)" <gi...@apache.org>.
zhurunhua closed issue #6435: the broker cannot startup when deploying master-slave automatic failover mode cluster with embedding the controller in the nameserver
URL: https://github.com/apache/rocketmq/issues/6435


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] zhurunhua commented on issue #6435: the broker cannot starup when deploying master-slave automatic failover mode cluster with embedding the controller in the nameserver

Posted by "zhurunhua (via GitHub)" <gi...@apache.org>.
zhurunhua commented on issue #6435:
URL: https://github.com/apache/rocketmq/issues/6435#issuecomment-1479051923

   broker config of master:
   ```
   brokerClusterName = littleCat
   brokerName = broker-a
   brokerId = 0
   listenPort=13210
   namesrvAddr=172.24.30.192:19876;172.24.30.193:19876;172.24.30.194:19876
   # controller
   enableControllerMode = true
   controllerAddr = 172.24.30.192:19878;172.24.30.193:19878;172.24.30.194:19878
   deleteWhen = 04
   fileReservedTime = 48
   brokerRole = ASYNC_MASTER
   flushDiskType = ASYNC_FLUSH
   useEpollNativeSelector=true
   autoCreateTopicEnable=false
   autoCreateSubscriptionGroup=false
   rocketmqHome=/neworiental/rocketmq-5.1.0/broker-a
   storePathConsumerQueue=/neworiental/rocketmq-5.1.0/broker-a/store/consumequeue
   brokerIP2=172.24.30.192
   brokerIP1=172.24.30.192
   aclEnable=false
   storePathRootDir=/neworiental/rocketmq-5.1.0/broker-a/store
   storePathCommitLog=/neworiental/rocketmq-5.1.0/broker-a/store/commitlog
   # 3600*24*30
   timerMaxDelaySec=2592000
   traceTopicEnable=true
   timerPrecisionMs=1000
   timerEnableDisruptor=true
   ```


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] mxsm commented on issue #6435: the broker cannot startup when deploying master-slave automatic failover mode cluster with embedding the controller in the nameserver

Posted by "mxsm (via GitHub)" <gi...@apache.org>.
mxsm commented on issue #6435:
URL: https://github.com/apache/rocketmq/issues/6435#issuecomment-1479133335

   @zhurunhua  Whether the deployed package is 5.1.0 from the official website or based on the develop branch


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] zhurunhua commented on issue #6435: the broker cannot startup when deploying master-slave automatic failover mode cluster with embedding the controller in the nameserver

Posted by "zhurunhua (via GitHub)" <gi...@apache.org>.
zhurunhua commented on issue #6435:
URL: https://github.com/apache/rocketmq/issues/6435#issuecomment-1479196999

   thanks for your answer, It's my mistake, the port is too close when I deployed two broker in same vm


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org