Forum Discussion
mlwebster
Cirrus
Aug 10, 2026Finding the Primary Replica of an Availability Group
Hi All,
I've configured VIPs and a WIP for a SQL Always On service and would like to ensure traffic is directed to the current Primary Replica wherever possible.
The configuration is as follows:
- DC1 hosts a SQL server and a corresponding VIP.
- DC2 hosts a SQL server and a corresponding VIP.
- The WIP currently directs traffic to the DC1 VIP using Global Availability, with a fallback to Round Robin if required.
Does anyone know of a way for the F5 infrastructure to identify which SQL Always On replica is currently the Primary Replica and automatically direct clients to the associated VIP across the two data centres?
Any advice or experience with this would be greatly appreciated.
Thanks in advance.
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects