Establishing a Service Level Agreement SLA =tg= Thomas Grohser SQL Server MVP SQL Server Performance Engineering.

Slides:



Advertisements
Similar presentations
Information Technology Disaster Recovery Awareness Program.
Advertisements

© 2010 IBM Corporation ® Tivoli Storage Productivity Center for Replication Billy Olsen.
The Truth Behind SharePoint Recovery and Availability Meeting Your SLAs Dan Holme (MVP, SharePoint Server) Chief SharePoint Evangelist AvePoint.
SQL Server Disaster Recovery Chris Shaw Sr. SQL Server DBA, Xtivia Inc.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
Building a Business Case for Disaster Recovery Planning - State and Local Government Chris Turnley
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
0 SQL Server AlwaysOn – SharePoint 2013 High Availability and Disaster Recovery Sal Bawany, Solutions Architect
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery.
National Manager Database Services
SharePoint Business Continuity Management with SQL Server AlwaysOn
Exchange 2010 Project Presentation/Discussion August 12, 2015 Project Team: Mark Dougherty – Design John Ditto – Project Manager Joel Eussen – Project.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
IT Business Continuity Briefing March 3,  Incident Overview  Improving the power posture of the Primary Data Center  STAGEnet Redundancy  Telephone.
Business Continuity and Disaster Recovery Chapter 8 Part 2 Pages 914 to 945.
© Novell, Inc. All rights reserved. 1 PlateSpin Protect Virtualize your Disaster Recovery.
DotHill Systems Data Management Services. Page 2 Agenda Why protect your data?  Causes of data loss  Hardware data protection  DMS data protection.
Clustering SQL Server Tom Pullen Senior DBA, RM Education
1 Availability Policy (slides from Clement Chen and Craig Lewis)
Module 9 Planning a Disaster Recovery Solution. Module Overview Planning for Disaster Mitigation Planning Exchange Server Backup Planning Exchange Server.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
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.
Implementing HA/DR based on a SLA =tg= Thomas Grohser, NTT Data SQL Server MVP SQL Server Performance Engineering SQL Saturday #500 Boston, MA March 19.
Implementing HA/DR based on a SLA =tg= Thomas Grohser, NTT Data SQL Server MVP SQL Server Performance Engineering SQL Saturday #484 Chicago, IL March 5.
SQL Server High Availability Introduction to SQL Server high availability solutions.
New Instance… Now What? Presented by: James Donahoe Senior Solutions Engineer – TeleTracking Technologies MCSA: SQL Server 2012.
Dealing with Database Corruption DBA 911. Who am I? 2 David M Maxwell twitter.com/dmmaxwell or twitter.com/upsearchsqltwitter.com/dmmaxwelltwitter.com/upsearchsql.
Microsoft Connect /23/ :39 PM
Database recovery contd…
Planning for Application Recovery
KEEPS – a system for UELMA preservation and security
Business Continuity for Virtual SQL Servers
Providing Application High Availability
Tips for SQL Server Performance and Resiliency
Establishing a Service Level Agreement SLA
Establishing a Service Level Agreement SLA
Establishing a Service Level Agreement SLA
Database Corruption Advanced Recovery Techniques|
Disaster Recovery and SQL for new and non-DBAs
Maximum Availability Architecture Enterprise Technology Centre.
# - it’s not about social media it’s about temporary tables and data
# - it’s not about social media it’s about temporary tables and data
From SLA to HA/DR solution
A Beginners Guide to HADR
Disaster Recovery Services
Tips for SQL Server Performance and Resiliency
Director of Database Administration with Paymetric, Inc. 
Database Corruption Advanced Recovery Techniques
Why most candidates fail the interview in the first five minutes
Service Level Agreement
Backup and Restore your SQL Server Database
Database Corruption Advanced Recovery Techniques
RPO, RTO & SLA: 3 Letter Words for When the SHT hits the FAN
Why most candidates fail the interview in the first minute
Database Corruption Advanced Recovery Techniques
OnBase Training Speaker: Dora Compis Disaster Recovery.
Disaster Recovery is everyone’s job!
Why most candidates fail the interview in the first five minutes
From SLA to HA/DR solution
=tg= Thomas Grohser SQL Saturday Philadelphia 2019 TSQL Functions 42.
Disaster Recovery Done Dirt Cheap Founder Curnutt Data Solutions
Why most Candidates fail the Interview in the first five Minutes
Why most Candidates fail the Interview in the first five Minutes
42 TSQL Functions =tg= Thomas Grohser SQL Saturday
Hybrid Buffer Pool The Good, the Bad and the Ugly
Visual Studio and SQL Server Data Tools
Presentation transcript:

Establishing a Service Level Agreement SLA =tg= Thomas Grohser SQL Server MVP SQL Server Performance Engineering

select * from =tg= where topic = =tg= Thomas Grohser Web: Focus on SQL Server Performance Engineering, Infrastructure and Architecture New Book coming in 2012 Close Relationship with SQLCAT (SQL Server Customer Advisory Team) SCAN (SQL Server Customer Advisory Network) TAP (Technology Adoption Program) Product Teams in Redmond Active PASS member and PASS Summit Speaker

Agenda Why & When? What & How? Q&A

Why do we need SLA’s Management and coworkers need to understand and agree to reality Help you to request and argue the resources you need Avoid lawsuits

Rule Number One! SLA first Solution later If you already have a solution don’t agree to a SLA the solution can’t support

What should be in a SLA? Everything –Operational requirements –Maintenance windows –Responsibilities –Dependencies –What happens if the SLA is not met

RPO – Recovery Point Objective In plain English: How much data can we lose? –Samples Your last log backup is from 12 minutes ago12 minutes Your last full backup is from last week1 week You do not have a backupall

RTO – Recovery Time Objective In plain English: How much time after a failure till we have to be available again Samples Your restore takes 6 hours 6+ hours Your last backup does not work you have to go to tape 24+ hours

Availability Time the database is available within a period of time divided by the length of the period of time. Don’t confuse luck with availability! –How fast to you think you can fix data corruption or human error in your database?

Availability 99.0 % 99.7 % 99.9 % % % the famous five nines %

Availability how long can I be offline Availability1 Year DaysHoursMinutesSeconds 1 Month DaysHoursMinutesSeconds 0% % % % % % %

Available Is a database available when –It is online in SSMS? –I can login? –I can select data? –I can update data? –I can insert data? –I can change the schema? –… you get the idea?

When is a database needed? Is the database used on the web 24x7 or just in the office from 9 to 5 or just once a month to process payroll? Do the availability requirements apply all the time or just during the periods its actually used?

Service Windows Specify times when you can service your system The more the better –Every night from 11pm till 5am, all day Saturday and Sunday, except the weekend before the year end results are due. –First Sunday every month from 2am till 4am

Planned versus Unplanned Big debate is planned maintenance part of the yearly downtime or not? Big difference between the two cases Make sure its clearly defined and understood

Monitoring availability % is equivalent to less than 5.2 minutes of outage per year or less than a 0.8 seconds per day This requires you to do an availability check at least every 0.4 seconds otherwise you waste valuable seconds.

Availability Having a certain availability vs. guaranteeing it. Easy to end up with 100% availability Hard to guarantee even 99.7

Differentiate between HA, DR and LR HA … High Availability DR … Disaster recovery LR … Last Resort Have different RPO and RTO values for all three cases. Define worst case scenarios each level has to deal with

HA … High Availability RTO: seconds to minutes RPO: Zero to seconds Automatic failover HA site usually close by (< 50 km) Well tested (maybe with each patch or release)

DR … Disaster recovery RTO: minutes to hours RPO: seconds to minutes (even hours) Manual failover into prepared environment DR site usually several hundred km away Tested from time to time

LR … Last Resort RTO: days to weeks RPO: minutes to hours (even a whole day) Rebuild system from scratch –Hardware has to be ordered –Floor space, connectivity to be rented LR site usually on different continent and jurisdiction Have a rough plan

Define worst case scenario for HA Failure of a single component Failure of two components (which are of a different kind) Failure of server Failure of multiple servers Failure of any two components That means you need everything at least three (3) times (not so easy for disks)

Define worst case scenario for DR Human error Failure of server Failure of multiple servers Partial failure of data center Full failure of data center Failure of multiple data centers

Define worst case scenario for LR Destruction / failure of multiple datacenters Natural disaster Sabotage Political incident (i.e. war, regime change) Destruction of planet earth …

Outside SQL Server Make sure you state that you depend on the underlying infrastructure and failures of that infrastructure don’t count for you! Make sure no processes are interfering –Example: async database mirroring + failover OK for loosing data. Only one person allowed to give the OK. 3 weeks vacation and availability is down to 94.2%

Dependencies Who needs this database/server What does this server need to operate –Power –Cooling –Network –Firewall rules –Domain Controller –Other servers (linked server) –…–…

Responsibilities Who can actually make a decision for a database/server Who owns the data Who needs to be notified if something is wrong

Backup retention and granularity How far must you be able to go back? –Hours, Days, Weeks, Months, Years –And how accurate must the restore be –I need the database restored to November 15, 2008 at 6:27… –How much time do you need for this historic restores –Test them from time to time (you need the resources and time)

Tips for keeping the SLA Make sure your monitoring and alerting works Monitor your Monitoring Test your HA, DR, LR solutions regular and especially after every change to your infrastructure.

DR and LR Instructions Keep printed copies in several places trust me your electronic documentation won’t be there when you are in a DR or LR situation

Summary Remember Rule Number one –SLA first –Solution later –If you already have a solution don’t agree to a SLA the solution can’t support –The laws of physics apply (even to the best DBA :-)

THANK YOU! For attending this session and PASS SQLRally Nordic 2011, Stockholm