b transactions per hour transactions per minute transactions per second rto

26

Upload: dustin-roberts

Post on 20-Jan-2016

233 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: B Transactions per hour Transactions per minute Transactions per second RTO
Page 2: B Transactions per hour Transactions per minute Transactions per second RTO

Microsoft Azure SQL Database Business Continuity and Auditing Deep Dive

Jan EngelsbergEyal Carmel

DBI-B313

Page 3: B Transactions per hour Transactions per minute Transactions per second RTO

Agenda

Business ContinuityAuditing

Page 4: B Transactions per hour Transactions per minute Transactions per second RTO

Business ContinuityScenariosBCDR ModelHigh availability platformDatabase backup based solutionsDatabase replication based solutions

Page 5: B Transactions per hour Transactions per minute Transactions per second RTO

Business Continuity ProblemEnabling the application to continuously operate during unplanned and planned disruptive events

Page 6: B Transactions per hour Transactions per minute Transactions per second RTO

BCDR Tiered Model

B

Transactions per hour

Transactions per minute

Transactions per second

Point In Time Restore (“oops” recovery)

Geo-Restore (restore last daily backup to another region)

RTO<24h*, RPO<24h

RTO<24h*, RPO<24h

RTO<24h*, RPO<24h

Standard geo-replication (offline secondary, fixed DR pairing)

RTO<2h RPO<30m

RTO<2h RPO<30m

Active geo-replication (up to 4 online secondaries, configurable regions)

RTO<1h, RPO<5m

* Target only, actual time depends on the data size and scale of restores

Page 7: B Transactions per hour Transactions per minute Transactions per second RTO

Azure SQL Database

Geo-distributed service Customer metadata protection and recovery Transparent high availability and data protection from local platform failuresAutomatic geo-distributed backups Automatic data synchronization of geo-replicated databases Platform compliance testing and certificationAlerting impacted customers about their servers’ degradation during regional failures

Customer (subscription owner)

Detecting user errors and initiating point in time restorePlanning, database prioritization and region selection for disaster recoveryInitiating geo-restore to the selected regionInitiating failover of the geo-replicated databasesApplication DR drills

Roles and responsibilities

Page 8: B Transactions per hour Transactions per minute Transactions per second RTO

Reads are completed at the primary

Writes are replicated to secondaries

DB

Single LogicalDatabase

P

SS WriteWrite

AckAck

ReadValue WriteAck

P

S

S

S

P

High availability platform

• Critical capabilities:Create new

replicaSynchronize

data Stay consistentDetect failuresFail over99.99%

availability

Page 9: B Transactions per hour Transactions per minute Transactions per second RTO

Point In Time RestoreAutomatic BackupFull backups weekly, diff backup daily, log backups every 5 minDaily and weekly backups automatically uploaded to geo-redundant Azure Storage

Self-service restoreREST API, PowerShell or PortalCreates a new database in the same logical server

Tiered Retention PolicyBasic - 7 daysStandard - 14 daysPremium - 35 days

sabcp01bl21

sabcp02bl21

sabcp03bl21

Restore as a new

database from local backups

LS XYZ

Copy backups to Azure Storage

DB

DB1

RA-GRS

Backups

Backups

Page 10: B Transactions per hour Transactions per minute Transactions per second RTO

US East

US Westsabcp01bl21

sabcp02bl21 sabcp03bl2

1

LS ABC

Restore to any server

when needed

US West

DB

sabcp01bl21

sabcp02bl21 sabcp03bl2

1

LS XYZ

Automatic copies of

daily backups

DB

RA-GRSRA-GRS

Storage geo-replication

• Self-service restore API• Restores last daily backup• No extra cost, no capacity guarantee• RTO>=24h, RPO=24h• Database URL will change after restore

Geo-restore

Page 11: B Transactions per hour Transactions per minute Transactions per second RTO

East US

LS ABC

Failover and activation of secondary

(during incident)

West US

DB

LS XYZ

DB

Geo-replication

• RTO<2h, RPO<30m • REST and PowerShell API to opt-in and failover• Automatic data replication and synchronization• DMV+REST to monitor and guide failover decisions• Single offline secondary with matching performance level in the DR

paired region

North Central US

LS OPQ

DB

Standard geo-replication

Page 12: B Transactions per hour Transactions per minute Transactions per second RTO

Geo-replication

LS ABC

South Central US

West US

Failover and activation of secondary (any time)

East US

Geo-re

plicat

ion

DB1

LS XYZ LS OPQ

• RTO<1h, RPO<5m• REST and PowerShell API to opt-in and

failover• DMV+REST to monitor and guide failover

decisions• Automatic data replication and

synchronization• Up to 4 online secondary databases with

matching performance level in any region

DB1 DB1.old

North Central US

LS DFE

DB1

Geo-replic

ation

Geo-replication

DB1

Active Geo-replication

Page 13: B Transactions per hour Transactions per minute Transactions per second RTO

DEMO

Point in time restore and geo-replication

Page 14: B Transactions per hour Transactions per minute Transactions per second RTO

Auditing

Page 15: B Transactions per hour Transactions per minute Transactions per second RTO

Why Auditing?Regulatory compliance - A massive demand for cloud application to meet regulatory compliance recommended by regulating/auditing authorities (PCI-DSS, SOX,

HIPAA)Security incidents - DBAs and security officers wish to gain insight into discrepancies and anomalies that could indicate business concerns or suspected security violationsOperational Insights - Stakeholders are increasingly focusing on

understanding database activity

Auditing - Overview

Page 16: B Transactions per hour Transactions per minute Transactions per second RTO

Where to start?

Auditing - Overview

Retain Report Insights

Page 17: B Transactions per hour Transactions per minute Transactions per second RTO

New Auditing Feature in Azure SQL DBConfigurable to track & log database

activity

Dashboard views in the portal for at-a-glance insights

Interactive & customizable Power View and Power Pivot reports for deep analysis on Audit log data

Audit logs reside in your Azure Storage account

Available in Basic, Standard, and Premium

SQL Database

Auditing

Auditlog

Application data

Azure Storage

Page 18: B Transactions per hour Transactions per minute Transactions per second RTO

Setting up AuditingServer Default Per DB

Server

DB1

DB2

DB3

Combination of the two…

Azure Table

Default

Policy

*-------

*-------

*-------

*-------

Server

DB1

DB2

DB3

Azure Table

DB Policy

*-------

*-------

DB Policy

*-------

*-------

DB Policy

*-------

*-------

Page 19: B Transactions per hour Transactions per minute Transactions per second RTO

Demo

Azure SQL DB - Auditing

Page 20: B Transactions per hour Transactions per minute Transactions per second RTO

Related content

Find Me Later At. . . Wednesday, October 29 - 8:00 PM-11:00 PM

Country Drinks, Barceloneta Beach

Thursday, October 30 - 6:30 PM-8:00 PM

Ask the Experts, Hall 5

Related Sessions:DBI-B315: Microsoft Azure SQL Database Performance and Scale Out Deep Dive

Page 22: B Transactions per hour Transactions per minute Transactions per second RTO

27 Hands on Labs + 8 Instructor Led Labs in Hall 7

DBI Track resources

Free SQL Server 2014 Technical Overview e-book

microsoft.com/sqlserver and Amazon Kindle StoreFree online training at Microsoft Virtual Academy

microsoftvirtualacademy.com Try new Azure data services previews!Azure Machine Learning, DocumentDB, and Stream Analytics

Page 23: B Transactions per hour Transactions per minute Transactions per second RTO

Resources

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

Developer Network

http://developer.microsoft.com

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Sessions on Demand

http://channel9.msdn.com/Events/TechEd

Page 24: B Transactions per hour Transactions per minute Transactions per second RTO

Please Complete An Evaluation FormYour input is important!TechEd Schedule Builder CommNet station or PC

TechEd Mobile appPhone or Tablet

QR code

Page 25: B Transactions per hour Transactions per minute Transactions per second RTO

Evaluate this session

Page 26: B Transactions per hour Transactions per minute Transactions per second RTO

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.