rabbitmqctl - RabbitMQ policy synchronising of queues across cluster -
we have setup rabbitmq cluster 3 nodes. if effort have form of load balancing, setup policy sync across 2 of nodes:
rabbitmqctl set_policy ha-2 . '{"ha-mode":"exactly","ha-params":2,"ha-sync-mode":"automatic"}'
this works expected when 3 nodes online.
when shutdown 1 of nodes (to simulate failure) queues mastered on failed node still available (on slave) not synchronized node. if manually re-apply policy, queues synchronize expected.
should expect queues mirrored in scenario 1 node fails policy?
works expected in rabbitmq 3.5.4
Comments
Post a Comment