Hi All
I have a question concerning SQL Availability group Listener and how the vip name and vip ip works. Let me quickly give you the scenario and see if i understand it correctly
I have 3 sites currently and i want to install 3 sql servers with availability group in case of a disaster there is a vpn tunnel between all sites
site 1 = sql01 - ip 10.0.1.10
site 2 - sql02 - ip 10.0.2.10
site 3 - sql03 - ip 10.0.3.10
So my question is
1) For the listener name i could put AG-Listener.company.com as long as i have an domain controller in all 3 locations the dns should be fine
2) For the IP static what do i need to put? Do i put 3 static ips 10.0.1.11, 10.0.2.11, 10.0.3.11?
3)What happens during a disaster lets say site1 is the primary and site2 and site3 are secondaries. Lets say site1 and site2 is down will the listenser try site1 no response then try site2 no response and then site 3 response and make it the primary SQL Server?
4)What happens if the above answer is site3 becomes the primary and site1 comes back will that change to the primary?
Thanks for your time to answer the questions