Business Continuity Solutions for SQL Database* applications on Windows Azure Alexander (Sasha) Nosov Principal Program Manager Microsoft Corporation * Formerly known as SQL Azure DBI334
Platform security Physical securityGeo distribution Compliance
Reads are completed at the primary Writes are replicated to secondaries Each replica is backed up independently DB Single Logical Database Multiple Physical Replicas P S S Write Ack Read Value Write Ack P S S
Primary Manager Node Partition Manager Fabric Data Node 103 P P S S S S Data Node 104 S S S S Data Node 102 P P S S S S Data Node 105 P P S S S S Data Node 101 S S P P P P P P S S S S S S Global Partition Map Node down Which replica lost? Promote to primary Reconfigure S S
No additional administration cost ACID properties are maintained by the system Failovers are fully automated Dynamic routing of connections No additional charges for database redundancy RPO=0, RTO=30sec 99.9% availability SLA
S S P P’ S S
Azure DNS HostnameIP Address Central US Contoso service South Central US App admin End user DBCopy Create backup copy DB_06_11_2012 DB_06_12_2012 DB_06_13_2012 Oops! Recover from backup DB_MAINDB_MAIN_OLD ALTER DATABASE DB_MAIN MODIFY NAME = DB_MAIN_OLD GO WAITFOR DELAY '00:00:30' GO ALTER DATABASE DB_06_01_2012 MODIFY NAME = DB_MAIN GO DB_MAIN Minimal charge is prorated day use Copies entire database You are responsible for retention and cleanup Support database federations is coming soon RTO = time to recognize the error + time to rename the database + rename delays
Leverages import/export service and Azure storage Reduces storage cost but increases backup time More complex backup/restore workflow RTO = time to recognize the error + time to import database + time to rename the database Contoso service South Central US DBCopy DB_06_01_2012 DB_MAIN BP_06_11_2012 BP_06_12_2012 BP_06_13_2012 Export
Azure DNS HostnameIP Address Central US Contoso V1 (primary instance) South Central US App admin End user DBCopy Create backup copy DB_06_11_2012 DB_06_12_2012 DB_06_13_2012 DB_MAIN Contoso V1 (secondary instance) North Central US DB_MAIN BP_06_11_2012 BP_06_12_2012 BP_06_13_2012 Export to blob Export Import from blob Import Activate and verify application DNS update North Central US Copies entire database You are responsible for cleanup Minimal database charge is prorated day use Support for database federations is coming soon RTO = time to import + time to start app + DNS change RPO = export interval
demo Using SQL Database import/export service for disaster recovery of your application
Contoso V1 (primary instance) South Central US DBCopy DB_06_01_2012 DB_05_25_2012 DB_05_18_2012 North Central US BP_06_11_2012 BP_06_12_2012 BP_06_13_2012 Geo-replication BP_06_11_2012 BP_06_12_2012 BP_06_13_2012
Extends replica creation and data synchronization to geo User initiated Automatic data replication and synchronization Optional RPO enforcement Read-only geo-secondary Multiple geo-secondaries User-controlled failover P’ S’ S’ P S S
Roadmap: Point in time recovery
Roadmap: Point in time recovery S S P P’ Exposes internal backups to the user Backups are highly available Restores to new database Any point in time within retention period
mva Microsoft Virtual Academy SQL Server 2012 Eval Copy Get Certified! Hands-On Labs
Breakout Session: AZR203 Business Continuity in the Windows Azure Cloud AZR204 Hybrid Will Rule: Options to Connect, Extend and Integrate Applications in Your Data Center and Windows Azure Find Me Later At SQL Server booth or
Q & A
Connect. Share. Discuss. Learning Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers
Required Slide Complete an evaluation on CommNet and enter to win!
Scan the Tag to evaluate this session now on myTechEd Mobile