Solved

SQL 2014 AG in-place upgrade to SQL 2016

Posted on 2016-10-26
2
87 Views
Last Modified: 2016-11-01
Couple of questions regarding this topic.  Setup that I have is 4 nodes in Hyper-V.  2 same location and the others in different datacenters.  We use the systems databases for all logins.  So will need to migrate them as well.  

1.  When doing an in-place upgrade on an AG what is the rollback?  
2.  When manually failing over after the 3 secondary nodes are upgraded what happens?  
3.  Does it failover instantly or does it take it offline and upgrade?
0
Comment
Question by:justind39
2 Comments
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 41868939
Which of the two availability modes listed below are you using?

<<
Asynchronous-commit mode. This availability mode is a disaster-recovery solution that works well when the availability replicas are distributed over considerable distances.

Synchronous-commit mode. This availability mode emphasizes high availability and data protection over performance, at the cost of increased transaction latency. A given availability group can support up to three synchronous-commit availability replicas, including the current primary replica.
>>


The full upgrade guide is posted here https://msdn.microsoft.com/en-us/library/dn178483.aspx however these are few answers to your questions:


1. When doing an in-place upgrade on an AG what is the rollback?  
You can't really undo an in-place upgrade for single SQL instance alone never mind a full AG with 4 nodes so you would have to un-install everything and then restore your databases from a backup OR...image everything and snapshot storage but you will need to test this rollback scenario in order to rely on it SO...as they say here https://msdn.microsoft.com/en-us/library/dn178483.aspx 
<<◦Protect your data by performing a full database backup on every availability database>>


2. When manually failing over after the 3 secondary nodes are upgraded what happens?  
Not sure what you are talking about here but considering you have 4 nodes and didn't mentioned anything yet about the "last" one please note that in a "Rolling Upgrade" scenario you will "Always upgrade the remote secondary replica instances first, then local secondary replica instances next, and the primary replica instance last."

3. Does it failover instantly or does it take it offline and upgrade? -- it will "upgrade" indeed each SQL database on that instance same as you would do a backup/restore from old version to newer one so please test on largest database to estimate needed "downtime"

More about the topic is described here:
https://www.brentozar.com/archive/2015/02/patching-sql-server-availability-groups/
0
 
LVL 1

Author Closing Comment

by:justind39
ID: 41869020
thank you for the information
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question