一、Master-Slave部署方式

多个node共享存储目录,最先得到存储目录控制权的node成为master,其他node成为slave

ActiveMQ集群

         Zookeeper选择一个node作为master,其他node作为slave,slave连接master并同步它的存储状态

二、Broker-Cluster部署方式

    1.静态Broker-Cluster部署

    2.动态Broker-Cluster部署

  

  1. 共享文件系统Master-Slave
  2. 共享数据库Master-Slave
  3. Replicated LevelDB Store

三、ActiveMQ JMX 设置 

    在activemq.xml中配置<managementContext createConnector="true" connectorPort="9616"/>

 在bin/activemq中添加ACTIVEMQ_SUNJMX_START="-Djava.rmi.server.hostname=192.168.0.128 -Dcom.sun.management.jmxremote.ssl=false "

  jconsole 或jvisualvm使用远程连接 连接jmx

相关文章:

  • 2021-05-06
  • 2021-07-19
  • 2021-09-20
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-25
相关资源
相似解决方案