Setting up Replication Agent when publish instances share same MongoB
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.