Rolling Upgrades, The Easy Way Argenis Fernandez Senior Database Engineer,

Slides:



Advertisements
Similar presentations
Implementing SQLServer AlwaysON Sarabpreet Singh Anand SQL Server – MVP SQLServerGeeks.com (VP)
Advertisements

SQL Server Disaster Recovery Chris Shaw Sr. SQL Server DBA, Xtivia Inc.
Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
Denny Cherry twitter.com/mrdenny.
BARBARIN DAVID SQL Server Senior Consultant Pragmantic SA SQL Server Denali : New administration features.
Media Partners.
National Manager Database Services
In-Place Upgrade to TFS 2010 on existing hardware Not deploying new hardware Databases too large to move Scaling-out, not up Not deploying new hardware.
Gopal Ashok Program Manager Microsoft Corp Session Code: DAT 312.
SPC111 Bill Baer is a Senior Product Marketing Manager and Microsoft Certified Master for SharePoint in the SharePoint product group in Redmond, Washington;
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
7. Replication & HA Objectives –Understand Replication and HA Contents –Standby server –Failover clustering –Virtual server –Cluster –Replication Practicals.
Alwayson Availability Groups
1 Chapter Overview Using Standby Servers Using Failover Clustering.
SQL Server 2012: AlwaysOn HA and DR Design Patterns, and Lessons Learned from Early Customer Deployments Sanjay Mishra SQLCAT.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Making DBCC CHECKDB Go Faster Argenis Fernandez Senior Database Engineer
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
SQL Server 2014 AlwaysOn Step-by-Step SQL Server 2014 AlwaysOn Step-by-Step A hands on look at implementing AlwaysOn in SQL Server 2014.
What HADR Option(s) Are Right For You?. Where’s The AlwaysOn?
SQL Server High Availability Introduction to SQL Server high availability solutions.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
FUN WITH AVAILABILITY GROUPS Christopher Wolff SQL Server Database Engineer, Xero.
10 Things All BI Administrators Should Know Robert L Davis Database Engineer
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
High Availability & Disaster Recovery with SQL Server AlwaysOn Availability Groups Turgay Sahtiyan Microsoft – Senior SQL Server PFE
ALWAYSON AVAILABILITY GROUPS Replicas, Listeners & Quorums, Oh My! Kevin Howell SQL Saturday #517 Philadelphia, June 2016.
Partial Database Availability
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
Backup A backup of the cluster includes the system state, the node, and the cluster disk.
Greg Seidel Technology Specialist – SQL Server
ALWAYSON AVAILABILITY GROUPS
Navigating the options for Data Redundancy
Microsoft BackOffice Applications
by Microsoft Cluster MVP David Bermingham
Always On Multi-Site Patterns
SQL Server on Linux on All-Flash Arrays
Exploiting SQL Server Security Holes
microsoft dynamics ax training in dubai (msdynamicsaxtraining.com)
Performance Tuning 101: Parallelism
Contained DB? Did it do something wrong?
Always On : Multi-site patterns
SQL Server Security Mistakes Everyone Makes
Code-Less Securing of SQL Server
A Beginners Guide to HADR
Upgrading to SQL Server 2016
How to Lose Your Job in 3 Easy Steps
Re-Indexing - The quest of ultimate automation
Always On : Multi-site patterns
SQL Server Mythconceptions And Mythteries
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
Securing SQL Server Processes with Certificates
SQL Server on Linux: High Availability And Disaster Recovery
New Paradigm for Performance Tuning in SQL Server 2016
SQLCmd Mode The T-SQL Easy Button
Who we are Established in 2016 in North-West, UK
SQL Server Mythconceptions And Mythteries
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
Thank you Sponsors.
Top 5 TIPS TO KEEP Always on AGs humming and users happy
Speaker info Matt Gordon Architect
=tg= Thomas Grohser SQL Saturday Philadelphia 2019 TSQL Functions 42.
42 TSQL Functions =tg= Thomas Grohser SQL Saturday
SQL AlwaysOn Availability Groups
Visual Studio and SQL Server Data Tools
The DBA Quit and now you’re it:
Presentation transcript:

Rolling Upgrades, The Easy Way Argenis Fernandez Senior Database Engineer,

About your Speaker Today… SQL Server MVP Member of the Database Engineering team at SurveyMonkey Formerly: Senior Consultant, Microsoft Consulting Services & Senior DBA at Outerwall and Ultimate Software Microsoft Certified Master: SQL Server 2008, Microsoft Certified Solutions Master: Charter - Data Platform 2014 Friend of Red Gate Software Idera SQL Server ACE DBA/Dev/SysAdmin for 15 years Regular Speaker (PASS Summit, PASS SQLRally, SQLBits XI, TechEd 2013, IT/DevConnections) Founded and lead the Security Virtual Chapter for PASS Twitter enthusiast; infrequent blogger.

What is a Rolling Upgrade? “Upgrade of a software version, performed without a noticeable downtime or other disruption of service”

Scope for Today’s Talk Heavy focus on Database Mirroring (Because it’s actually easy!) Will evaluate Log Shipping as an alternative for rolling upgrades Explore (not in detail) how to handle Availability Groups on SQL Server 2012 and SQL Server 2014 FCI (Clusters) – brief mention We will NOT discuss OS-level upgrades. That’s an ENTIRELY different talk!

Features and Builds Database Mirroring: SQL Server 2005 SP1 and above Failover Cluster Instances: SQL Server 2008 RTM and above Availability Groups: SQL Server 2012 RTM and above

In-Place Upgrades Suck Are Not Great. Too much risk inherent to upgrade process There is no easy way to test an in-place upgrade The last thing you want to know is that the upgrade failed, and you’re left with a useless server. Clean installs on freshly imaged servers are always recommended, if you have the resources

Mirroring for Rolling Upgrades? High Availability! Available in Standard Edition No need for a WSFC (Windows Server Failover Cluster) Duplication of data offers a plausible rollback plan, while still maintaining minimal downtime You do NOT need similar hardware for the mirror

Guidelines

Demo Rolling Upgrade Using Database Mirroring

Log Shipping Is Underrated Included with every Edition of SQL Server Mirroring was once referred to as “Real-time Log Shipping” You can use the GUI to set it up, or roll your own SQL Server jobs can run every 10 seconds, but you can roll your own scripts and copy/restore even more frequently

Demo Rolling Upgrade using Log Shipping

What About Availability Groups? “It’s Complicated!” It might indeed appear complex, but follow best practices and you’re on your way Always upgrade the remote instances first, then the local secondaries, THEN the primary Take cautionary measures to avoid downtime! Best reference I can point to is: us/library/dn aspxhttp://msdn.microsoft.com/en- us/library/dn aspx

Demo Rolling Upgrade using Availability Groups

FCI (Failover Clustered Instances) Upgrade passive node(s), then failover and upgrade the active node The database will be upgraded upon failover, just like in all the previous cases.

Thank You!

Questions?

Contact