Download presentation
Presentation is loading. Please wait.
Published byJewel Morgan Modified over 9 years ago
1
Prem Mehra Program Manager Microsoft Corporation SESSION CODE: DAT401
4
Unplanned Downtime Unplanned Downtime Planned Downtime Planned Downtime
5
Database Mirroring HotStandby WarmStandby App/User Error Recovery Log Shipping Log Shipping With Restore Delay ProductionDatabase Replication Database Scale Out For Queries Failover Cluster
7
#ArchitectureKey Distinguishing Scenario Use & Deployment Characteristics Examples 1Failover Clustering for HA and Database Mirroring for DR A)Single data copy for HA sufficient B)Positive experience with Failover clustering C)Comfortable deploying two different technologies for HA & DR ServiceU and CareGroup 2Synchronous Database Mirroring for HA/DR and Log Shipping for additional DR A)Require deploying fewer (only one) technology for HA & DR B)Avoid costs associated with Failover clustering C)For HA, remote data center execution acceptable bWin 3Geo-Cluster for HA/DR and Log Shipping for additional DR A)Require deploying fewer (only one) technology for HA & DR B)Positive experience with Geo-Clustering QR Limited 4Failover Clustering for HA and SAN- based Replication for DR A)Require deploying single DR technology across multiple DBMSs B)A third party DR technology acceptable Progressive 5Peer-to-Peer Replication for HA and DR (and reporting) A)Require that all data replicas be readable/updateable B)Application architecture permits avoidance / minimization / resolution of update conflicts C)In case of DR, potential data loss is acceptable A Travel Industry Enterprise
8
8
9
9 http://sqlcat.com/whitepapers/archive/2009/08/04/high-availability-and-disaster-recovery-at-serviceu-a-sql-server-2008-technical-case-study.aspx
10
Atlanta Standby Data CenterMemphis Primary Data Center DNS Asynchronous Database Mirroring Windows 2008 SQL 2008 MIRRORMIRROR Preferred PRINCIPALPRINCIPAL DB Connection to Memphis for Regular Test Exercise DNS WEB FARM DNS
12
Atlanta Standby Data CenterMemphis Primary Data Center Asynchronous Database Mirroring DB Connection to Memphis for Regular Test Exercise Installed Temporary Windows 2008 SQL 2008 Cluster Broke Mirroring to Atlanta SQL 2005 Cluster MIRRORMIRROR Established Mirroring MIRRORMIRROR Disabled Log Shipping Temporary SQL 2008 Cluster Setup Log Shipping Preferred DNS WEB FARM DNS PRINCIPALPRINCIPAL Log Shipping
13
Atlanta Standby Data CenterMemphis Primary Data Center Temporary SQL 2008 Cluster SQL 2005 Cluster PRINCIPALPRINCIPAL DB Connection to Memphis for Regular Test Exercise SQL 2005 Cluster MIRRORMIRROR MIRRORMIRROR Preferred DNS WEB FARM DNS
14
Memphis Primary Data Center Temporary SQL 2008 Cluster SQL 2005 Cluster PRINCIPALPRINCIPAL MIRRORMIRROR Switched to a Web Server Delivering Down Time Message Manual Failover & Broke Mirroring Quick Testing with SQL 2008 Switched To Web Farm Connecting to Temporary SQL 2008 Cluster GO / NO GO Preferred DNS WEB FARM
15
Memphis Primary Data Center Temporary Production SQL 2008 Cluster Installed New Windows 2008 SQL 2008 Cluster with Additional Disks Log Shipping MIRRORMIRROR PRINCIPALPRINCIPAL DB Mirroring SQL Server 2005 Cluster Preferred Disabled Log Shipping. Setup Mirroring DNS WEB FARM Setup
16
Memphis Primary Data Center Temporary Production SQL 2008 Cluster MIRRORMIRROR PRINCIPALPRINCIPAL DB Mirroring Switched to a Web Server Delivering Down Time Message Manual Failover Quick Testing SQL 2008 Cluster Production Server GO / NO GO Preferred DNS WEB FARM
17
Atlanta Standby Data CenterMemphis Primary Data Center SQL 2008 Cluster MIRRORMIRROR MIRRORMIRROR Break Mirror Between Production & Temporary 2008 Cluster Disable Log Shipping and Set Up Asynchronous Mirroring DB Connection to Memphis for Regular Test Exercise New Windows 2008 SQL 2008 Cluster with Additional Disks PRINCIPALPRINCIPAL Preferred SQL 2008 Cluster Setup SQL Server 2008 Cluster Setup Log Shipping DNS WEB FARM DNS
18
18
19
19
20
20
21
21 Passive Active Windows Server 2003 R2 EE SP2, 64-Bit SQL Server 2005 EE SP2, 64-Bit EMC
22
22 Passive Active Step #1: Install Prerequisites: 1-.Net Framework 3.5 SP1 2- Windows Installer 4.5 3- Windows QFE (KB937444) 4- SQL2008 Setup Support files REBOOT…. Step #2: Install Prerequisites: 1-.Net Framework 3.5 SP1 2- Windows Installer 4.5 3- Windows QFE (KB937444) 4- SQL2008 Setup Support files REBOOT ….. SQL Instance Manual Failover
23
23 Active Passive Step #4: Upgrade to SQL Server 2008 on Active Node Step #3: Upgrade to SQL Server 2008 on Passive Node Step 5: SQL Instance Automatic Failover No client connection for 1-2 minutes while db is being upgraded to 2008 on the left node SQL 2008 SQL 2008 Active Removed from Cluster Group Possible Owners
24
24 Passive Active Mirrored SQL Step #1: Upgrade to SQL Server 2008 on Mirrored Instance Step#2: Manual Failover to the database mirroring partner for each database Mirroring suspended SQL 2008 SQL Server Cluster Principal SQL Server 2008 Mirroring resumed Step#4: Manual Failover to the database mirroring partner for each database
25
25 Mirror Server SQL Server Cluster Cisco Global Site Selector (GSS ) DNS SQLNetworkNameA\SQL1 Active IP:100.10.56.30 SQLNetworkNameA\SQL1 Active IP:100.10.56.30 Alias Name = Green Active IP : 100.10.56.30 100.85.3.10 Alias Name = Green Active IP : 100.10.56.30 100.85.3.10 Connect to: Green\SQL1 SQLHostNameB\SQL1 Passive IP:100.85.3.10 SQLHostNameB\SQL1 Passive IP:100.85.3.10 DR Site Mirroring Principal Server Applications: 1- SharePoint 2- SSRS 3- BlackBerry 4- Citrix Server 5- VMware VC Applications: 1- SharePoint 2- SSRS 3- BlackBerry 4- Citrix Server 5- VMware VC
26
bwin Corporation
27
bwin Mission & Challenge The Mission: Failure is not an option Budget:UNLIMITED (not kidding) bWin definition: VLDB – A database that is business critical not just it’s size SLA Zero data loss 99.99x% availability @ 24 x 7 Architecture and operations are designed with an assumption of the worst case scenario: “Full datacenter failure with complete data loss within the datacenter”
28
bwin Solution & the Environment The Solution: Standardize everything Work by the book Have some clever guys at hand if the book runs out of pages Environment (includes all) 100+ TB Data 850+ DBs 100+ Instances 450K+ SQL Statements per second http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000001470 http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000001470
29
bwin Infrastructure
32
Enterprise Based in Mayfield Village, Ohio, Progressive Insurance is the fifth largest U.S. auto insurance group, with annual revenues of more than U.S.$14 billion Mission Critical Application Replace a nearly 30-year-old mainframe-based policy management application that is central to its operations Deploying a completely new application using Microsoft® SQL Server® 2005 and.NET framework Benefits Better view into the business, Easier data management, Enterprise-grade reliability, Scalability, Ease of integration, Faster time to market SLA For Disaster Recovery RPO: 1 Hour, RTO: 24 Hours Case Study http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000002133
33
Data Center - Colorado Data Center - Ohio Multiple OC 48 Links
35
ASIA CORE 1 ASIA CORE 2 Data Warehouse ASIA Web America Web ASIA Web Read Only Copy America CORE 1 America CORE 2 P2P Reference P2P Financial Web Publication Asia Core: IBM x3850 2x6 64 GB Asia DW: IBM x3850 2x6 128 GB America Core: HP DL380 G5’s 2x4 64GB Web Servers: IBM x3650 1 x 4 8GB Tran Reference Tran Financial
39
39
40
SQL Server 2008 Failover Clustering http://sqlcat.com/whitepapers/archive/2009/07/08/sql-server-2008-failover-clustering.aspxhttp://sqlcat.com/whitepapers/archive/2009/07/08/sql-server-2008-failover-clustering.aspx Cluster Team Site: http://www.microsoft.com/windowsserver2008/en/us/failover-clustering-multisite.aspxhttp://www.microsoft.com/windowsserver2008/en/us/failover-clustering-multisite.aspx KB Article: Deployment Considerations for Windows Server 2008 failover cluster nodes on different, routed subnetsDeployment Considerations for Windows Server 2008 failover cluster nodes on different, routed subnets Webcast: TechNet Webcast: Geographically Dispersed Failover Clustering in Windows Server 2008 EnterpriseTechNet Webcast: Geographically Dispersed Failover Clustering in Windows Server 2008 Enterprise Webcast: How You Can Achieve Greater Availability with Failover Clustering Across Multiple Sites (Level 300) How You Can Achieve Greater Availability with Failover Clustering Across Multiple Sites (Level 300) Whitepaper: Multi-site ClusteringMulti-site Clustering Webcast: Multi-Site Clustering in Windows Server 2008Multi-Site Clustering in Windows Server 2008 Guide: http://technet.microsoft.com/en-us/library/cc771509.aspxhttp://technet.microsoft.com/en-us/library/cc771509.aspx Multi-Site Cluster http://download.microsoft.com/download/3/b/5/3b51a025-7522-4686-aa16-8ae2e536034d/WS2008%20Multi%20Site%20Clustering.dochttp://download.microsoft.com/download/3/b/5/3b51a025-7522-4686-aa16-8ae2e536034d/WS2008%20Multi%20Site%20Clustering.doc Mirroring a Large Number of Databases in a Single SQL Server Instance http://sqlcat.com/technicalnotes/archive/2010/02/10/mirroring-a-large-number-of-databases-in-a-single-sql-server- instance.aspxhttp://sqlcat.com/technicalnotes/archive/2010/02/10/mirroring-a-large-number-of-databases-in-a-single-sql-server- instance.aspx Database Mirroring and Log Shipping Working Together: http://sqlcat.com/whitepapers/archive/2008/01/21/database-mirroring-and-log-shipping-working-together.aspxhttp://sqlcat.com/whitepapers/archive/2008/01/21/database-mirroring-and-log-shipping-working-together.aspx Asynchronous Database Mirroring with Log Compression in SQL Server 2008 http://sqlcat.com/technicalnotes/archive/2007/12/17/asynchronous-database-mirroring-with-log-compression-in-sql- server-2008.aspxhttp://sqlcat.com/technicalnotes/archive/2007/12/17/asynchronous-database-mirroring-with-log-compression-in-sql- server-2008.aspx Using Replication for High Availability and Disaster Recovery High Availability and Disaster Recovery at ServiceU: A SQL Server 2008 Technical Case Study Database Mirroring Best Practices and Performance Considerations Database Mirroring Log Compression in SQL Server 2008 Improves Throughput Asynchronous Database Mirroring with Log Compression in SQL Server 2008 http://sqlcat.com/technicalnotes/archive/2007/12/17/asynchronous-database-mirroring-with-log-compression-in-sql- server-2008.aspxhttp://sqlcat.com/technicalnotes/archive/2007/12/17/asynchronous-database-mirroring-with-log-compression-in-sql- server-2008.aspx
41
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
42
www.microsoft.com/teched www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn
44
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.