Posted: Sun Dec 02, 2018 7:54 am Post subject: Rabbitmq active/passive HA over WAN
Newbie
Joined: 02 Dec 2018 Posts: 1
Hi I'm trying to provide disaster recovery between two data centers for a RabbitMQ. The secondary datacenter is passive until the primary DC goes down.
Federation of queues is inappropriate because it wouldn't move messages until the consumers in the secondary DC go active. That shouldn’t happen unless the primary DC is unavailable at which point those messages are inaccessible. I’ve considered creating an extra queue in the primary DC that would receive a copy of each message and then use Federation or Shovel to copy those messages to the secondary. The issue then becomes removing the duplicate message from the secondary DC when the “original” in the primary DC is processed.
Mirroring the queue to a node in the secondary DC would be work, except that RabbitMQ won’t cluster over a WAN due to latency. Has anyone else faced this scenario?
What's the advice given in Rabbit MQ fora, as opposed to IBM MQ fora?
IBM MQ is a different animal to Rabbit MQ. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
In a DR scenario, messaging infrastructure is usually recovered / restored without any additional message moving or forwarding. Queues are handed over to the applications in a clean and empty state. It is the responsibility of applications to determine when and what messages they need to regenerate. _________________ Glenn
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum