1、架构图
2、服务器
#nameserver
43.138.113.210 rocketmq-nameserver1
120.46.129.143 rocketmq-nameserver2
#broker
43.138.113.210 rocketmq-master1
43.138.113.210 rocketmg-slave2
120.46.129.143 rocketmq-master2
120.46.129.143 rocketmq-slave1
修改完后重启网络
systemctl restart network
创建存储路径
mkdir /App/rocketmq/rocketmq-master/rocketmq/store
mkdir/App/rocketmq/rocketmq-master/rocketmq/store/commitlog
mkdir /App/rocketmq/rocketmq-master/rocketmq/store/consumequeue
mkdir /App/rocketmq/rocketmq-master/rocketmq/store/index
mkdir?/App/rocketmq/rocketmq-master/rocketmq/store/checkpoint
mkdir?/App/rocketmq/rocketmq-master/rocketmq/store/abort
修改配置文件
启动nameserver
启动broker