Windows & RabbitMQ:Shovel

RabbitMQ的集群和高可用不适合跨域的情况,如果跨域可以使用ShovelFederation

描述:我们需要配置三台服务器:ServerA, ServerB, ServerC

Step 1:安装RabbitMQ,ServerA, ServerB, ServerC:Windows & RabbitMQ:安装,Step 1, 2, 3, 4, 5

Step 2:修改ServerA, ServerB, ServerC的Host文件,例如ServerA:

ServerB  201.45.1.180
ServerC  202.45.1.115

Step 3:启用Shovel和Shovel Management Plugin,ServerA, ServerB, ServerC:

"C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1\sbin\rabbitmq-plugins.bat" enable rabbitmq_shovel
"C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1\sbin\rabbitmq-plugins.bat" enable rabbitmq_shovel_management

Step 4:配置Shovel

 

posted @ 2016-08-15 14:48  VictorBu  阅读(474)  评论(0编辑  收藏  举报