SQL Server Disaster Recovery Chris Shaw Sr. SQL Server DBA, Xtivia Inc.

Slides:



Advertisements
Similar presentations
SharePoint 2013 & SQL Server 2012 Availability Groups The Rough Guide.
Advertisements

Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
SharePoint 2013 & SQL Server 2012 A talk about what SQL Server version you want to use from a SharePoint 2013 perspective.
VERITAS Confidential Disaster Recovery – Beyond Backup Jason Phippen – Director Product and Solutions Marketing, EMEA.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
1 Disk Based Disaster Recovery & Data Replication Solutions Gavin Cole Storage Consultant SEE.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
Reliability Week 11 - Lecture 2. What do we mean by reliability? Correctness – system/application does what it has to do correctly. Availability – Be.
Keith Burns Microsoft UK Mission Critical Database.
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
National Manager Database Services
SharePoint Business Continuity Management with SQL Server AlwaysOn
About Veeam (rhymes with Team) 8.4M virtual machines worldwide ensured by Veeam availability solutions 1,750 Veeam employees Veeam customers in 200.
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.
High-Availability Methods Lesson 25. Skills Matrix.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Business Continuity and Disaster Recovery Chapter 8 Part 2 Pages 914 to 945.
It is one of the techniques to create a stand by server. Introduced in SQL 2000,enhanced in It is a High Availability as well as Disaster recovery.
DotHill Systems Data Management Services. Page 2 Agenda Why protect your data?  Causes of data loss  Hardware data protection  DMS data protection.
DATABASE MIRRORING  Mirroring is mainly implemented for increasing the database availability.  Is configured on a Database level.  Mainly involves two.
©2006 Merge eMed. All Rights Reserved. Energize Your Workflow 2006 User Group Meeting May 7-9, 2006 Disaster Recovery Michael Leonard.
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
Overview of high availability in Microsoft SQL Server Szymon Wójcik.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
Matt Hollingsworth Principal Program Manager Microsoft Corporation DAT303.
High Availability in DB2 Nishant Sinha
Alwayson Availability Groups
TRUE CANADIAN CLOUD Cloud Experts since The ORION Nebula Ecosystem.
Virtual Machine Movement and Hyper-V Replica
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.
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
What HADR Option(s) Are Right For You?. Where’s The AlwaysOn?
Establishing a Service Level Agreement SLA =tg= Thomas Grohser SQL Server MVP SQL Server Performance Engineering.
SQL Server High Availability Introduction to SQL Server high availability solutions.
Windows Server Failover Clustering (WSFC) with SQL Server.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
Are You High? Can You Recover? Robert Douglas SQL Saturday #468, Sydney 27 th February 2016.
SQL 2012 – Always On Deep Dive Bob Duffy Database Architect Prodata SQL Centre of Excellence 11 th April 2013.
High Availability & Disaster Recovery with SQL Server AlwaysOn Availability Groups Turgay Sahtiyan Microsoft – Senior SQL Server PFE
USEIMPROVEEVANGELIZE Solutions for High Availability and Disaster Recovery with MySQL ● Detlef Ulherr ● Sun Microsystems.
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
Business Continuity for Virtual SQL Servers
Tips for SQL Server Performance and Resiliency
ALWAYSON AVAILABILITY GROUPS
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
AlwaysOn Mirroring, Clustering
Establishing a Service Level Agreement SLA
Database Corruption Advanced Recovery Techniques|
Disaster Recovery and SQL for new and non-DBAs
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Contained DB? Did it do something wrong?
Introduction of Week 6 Assignment Discussion
A Beginners Guide to HADR
SQL Server High Availability Amit Vaid.
Tips for SQL Server Performance and Resiliency
Tips for SQL Server Performance and Resiliency
Business Requirements
Disaster Recovery Where to Begin
AlwaysOn Availability Groups
Business Requirements
Disaster Recovery is everyone’s job!
High Availability/Disaster Recovery Solution
Distributed Availability Groups
Hyper-V backup -Free Edition
Designing Database Solutions for SQL Server
Presentation transcript:

SQL Server Disaster Recovery Chris Shaw Sr. SQL Server DBA, Xtivia Inc.

Christopher Shaw  Microsoft SQL Server MVP     SQL PASS Regional Mentor  Contributing Author for 3 SQL Server Books (working on 4 th )  A full time VDBA 2

3 Success Requires Planning  Start planning now.  Document your plan, and update regularly.  Create hard copies and soft copies of your plan, keep a copy of your plan with your backups.  Predetermine layers of recovery. Tip – Have increased understanding of your business and goals as a whole and not just the task goal. Maximize resource usage.

4 Define “Disaster” Tip – Your company servers don’t know the difference between a fire, a flood or a bad disk drive. A crash is a just a crash. Down is simply down. Anything impacting the availability of your data.  Human Error  Storage Failure  Power Failure  Memory Failure  Natural disasters  The cable guy down the street

5 Define “Disaster” Tip – Your company servers don’t know the difference between a fire, a flood or a bad disk drive. A crash is a just a crash.  Your company is much more likely to experience a hardware issue than a natural disaster.  76% of effected businesses have not been impacted by a natural disaster.  Most common cause of system failures is HARDWARE.  Annual disk replacements have been documented as high as 13%.  Inside attacks and user error account for the majority of business downtime.  70% of all successful attacks on networks were carried out by employees and insiders.  Disaster “downtime” can co$t your company  Companies lose an average of $84,000 for each hour of downtime.

Do you remember this? 6

7 The Two Design Questions  Define the Goal – What is:  RTO – Recovery Time Objective. The Amount of acceptable downtime  RPO – Recovery Point Objective. The Amount of maximum data loss. Tip –This is planning for worst case scenario. No one wants to say they can be down for extended periods of time, or lose any data. Yet over aggressive goals can increase the cost of your solution.

8 The Keys to Success  Identify the Resources  Define the Budget  Evaluate costs of downtime to cost of high availability. What is it worth?  Compliance Requirements (HIPA, SOX, SSAE 16 etc.) Tip –This is planning for worst case scenario. No one wants to say they can be down for extended periods of time, or lose any data. Yet over aggressive goals can increase the cost of your solution.

Outage Types

Possible Site Outages Technology Options  Transaction Log Shipping  Mirror  AlwaysOn Potential Examples: Natural disaster, Fire, Flood, Global emergency, Power Outages. Effect all levels

Possible Hardware Outages Technology Options  Redundant Hardware  RAID  Windows Clustering  Transaction Log Shipping  Geo – Cluster  Mirror  AlwaysOn Potential Examples: Storage issue, bad drive, memory crash, power supply

Possible Database Outages Technology Options  Backup / Restore  Transaction Log Backups  Database Snapshots  Snapshot Replication  Snapshots  Transaction Log Shipping  Geo – Cluster  Mirror  AlwaysOn Potential Examples: Human error, bug, bad release

13 $ Automated failover Fail back Latency Secondary Readable Multiple Secondary Outside objects Potential Data Loss Failover Time Cost Transaction Log Shipping Database Backup s True Require Configuration Based on Backups Slow Inexpensive False Based on Backups Yes, with restrictions Tip – Great inexpensive way to have a DR copy and a reporting server. However requires a lot of added configuration, and failback requires reconfiguration.

Transactional Replication $ Automated failover Fail back Latency Secondary Readable Multiple Secondary Outside objects Potential Data Loss Failover Time Cost True Require Configuration Based on Configuration Slow Inexpensive False Based on Agents Yes Database Copy Distributor

Clusters Two or more servers that act as one $ Automated failover Fail back Latency Secondary Readable Multiple Secondary Outside objects Potential Data Loss Failover Time Cost False Move with database Small Fast ( 5 seconds +) Expensive True None No Tip – Does a great job of protecting you from hardware issues. However if the storage fails your database will go down.

Mirroring Similar to Replication $ Automated failover Fail back Latency Secondary Readable Multiple Secondary Outside objects Potential Data Loss Failover Time Cost False Requires Manual Configuration Small Fast (Dependent on connection) Varies on Configuration True Varies on Configuration No Database Witness Tip – Great option for companies that don’t run standard edition.

AlwaysOn Availability Groups $ Automated failover Fail back Latency Secondary Readable Multiple Secondary Outside objects Potential Data Loss Failover Time Cost True Partial Small Fast (Dependent on connection) Most Expensive Varies on Configuration True Varies on Configuration Yes Database Tip – Ideal for companies that want to make use of all the resources they have however the cost is larger than other solutions

DR Options Matrix 1 - Objects required outside of database need to be preconfigured 2 - Consider the failover to be one way. To go back to original hardware reconfig and failover required 3 - Not 100% some items may need to be pre-configured 4 – Common misconception 5 – Feature is going to be removed from SQL Server in future editions to be replaced by AlwaysOn

 There is no single cookie cutter solution that will fit every companies needs.  Technology changes, offering new solutions with each release.  Businesses grow, and requirements change.  Building without testing and updating is similar to not doing anything at all.  The shorter the latency the greater likelihood to propagate corruption. Increased latency increases data loss potential Past Experience

20 Contact XTIVIA Today Phone: Website:

Thank You for Your Time… Questions?