How to configure distribution database to maintain replication in an Always On Availability solution

I have a two node SQL Server Always On Availability Group.  We have snapshot and transactional replication happening.  Whenever we failover, manually or automatically, to the secondary, replication has to be rebuilt.  Is there a known configuration necessary for the distribution database I should be using?
Who is Participating?
Vitor MontalvãoMSSQL Senior EngineerCommented:
It's very possible and there's an MSDN article that shows how to configure it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.