Setting up Replication Agent when publish instances share same MongoB | Community
Skip to main content
Level 3
October 16, 2015
Solved

Setting up Replication Agent when publish instances share same MongoB

  • October 16, 2015
  • 11 replies
  • 2445 views

We will be setting up one author and two publishers. One MongoDB for author, One MongoDB for both publisers with a replication set. In other words, Pub1 and Pub2 will be reading from the same DB. This is per recommended deployment from Adobe, and confirmed with Adobe consultant,

Question is around replication agent. We could have configure one agent that updates the publish environment via Pub1. But what if Pub1 is down. The consultant told us that there is a way to configure your replication agent with two URLs. THe first one will be taken, if that one doesn't repond the second one will be used to replicate.

However, I cannot find any details on how to do this. Anyone here done this before? I know I could also use a loadbalancer. But I'd like to hear solutions where you configure failover via the replication agent.

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

When you configure the replication agent, you can add multiple target URLs by adding them into the single "target address" field, separated by comma (","). In case the first target fails, the second (third, fourth, ...) is tried.

Jörg

11 replies

Katrien1Author
Level 3
October 16, 2015

Thanks Sham,

I have still issues with my replication agent, but I managed to replicate to the failover at least once. I think there are some other issues with my setup as well. The timeout feature is indeed the missing piece of information. Thanks for mentioning that.

Cheers, Katrien