How do you configure replicated for high availability?

Answered here: Recommendations for failover or high availability setups