SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


sql server cluster and ag node


sql server cluster and ag node

Author
Message
tcronin 95651
tcronin 95651
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5764 Visits: 729
Looking at building solution for our 2016 claims dept. Was considering one of two options below (all of this on VMware and sql 2016 enterprise edition)

1. Build active passive cluster and one AG with read only node
2.Build AG with 2 sql instances failover other node as read only

Any opinions
Eirikur Eiriksson
Eirikur Eiriksson
SSC Guru
SSC Guru (161K reputation)SSC Guru (161K reputation)SSC Guru (161K reputation)SSC Guru (161K reputation)SSC Guru (161K reputation)SSC Guru (161K reputation)SSC Guru (161K reputation)SSC Guru (161K reputation)

Group: General Forum Members
Points: 161536 Visits: 23597
tcronin 95651 - Tuesday, May 1, 2018 7:43 AM
Looking at building solution for our 2016 claims dept. Was considering one of two options below (all of this on VMware and sql 2016 enterprise edition)

1. Build active passive cluster and one AG with read only node
2.Build AG with 2 sql instances failover other node as read only

Any opinions

Quick question, why 2016 and not 2017, lots of improvements in the latest version?
Cool

tcronin 95651
tcronin 95651
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5764 Visits: 729
not supported by vendor this is 3rd party app
tcronin 95651
tcronin 95651
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5764 Visits: 729
Quick question may be if I setup AG with 2 servers with one read only intent, and primary fails, can it fail over to Read only intent? If so when primary comes back online can they reverse roles?
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (214K reputation)SSC Guru (214K reputation)SSC Guru (214K reputation)SSC Guru (214K reputation)SSC Guru (214K reputation)SSC Guru (214K reputation)SSC Guru (214K reputation)SSC Guru (214K reputation)

Group: General Forum Members
Points: 214212 Visits: 18590
tcronin 95651 - Tuesday, May 1, 2018 7:43 AM
Looking at building solution for our 2016 claims dept. Was considering one of two options below (all of this on VMware and sql 2016 enterprise edition)

1. Build active passive cluster and one AG with read only node
2.Build AG with 2 sql instances failover other node as read only

Any opinions


Theyre not separate options, theyre the same.
If you build a 2 node cluster you will need 2 sql server instances to support an AG.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
Beatrix Kiddo
Beatrix Kiddo
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

Group: General Forum Members
Points: 28469 Visits: 7529
tcronin 95651 - Tuesday, May 1, 2018 9:12 AM
Quick question may be if I setup AG with 2 servers with one read only intent, and primary fails, can it fail over to Read only intent? If so when primary comes back online can they reverse roles?

The other node will become the primary (R/W) replica.

Check that you are covered for licensing because there can be licensing implications for using both nodes (but not always, so it depends on your company's individual agreement).

tcronin 95651
tcronin 95651
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5764 Visits: 729

all on vmhosts so license not an issue we are set at host levle


Beatrix Kiddo
Beatrix Kiddo
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

Group: General Forum Members
Points: 28469 Visits: 7529
Cool you should be ok then. You''ll need to specifically configure read-only routing, by the way. It's not as simple as just enabling the read-only attribute within the AG. (Sorry if that seems obvious, but a lot of people miss it.)

https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/configure-read-only-routing-for-an-availability-group-sql-server?view=sql-server-2017
tcronin 95651
tcronin 95651
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5764 Visits: 729
if I go with #2 is it possible to have a AG with 2 nodes (one as failover and read only intent). If so if server A fails over can server B become primary and when A comes back it takes over as read only intent?
Beatrix Kiddo
Beatrix Kiddo
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

Group: General Forum Members
Points: 28469 Visits: 7529
Yes. Or you can set it so that whenever either A or B is the primary, the other one is read-only, so they can fail over quite happily with minimal intervention from you. You'll need to use a listener to route the connections to the right place.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search