1© Copyright 2012 EMC Corporation. All rights reserved. EMC VNX5700, EMC FAST Cache, SQL Server AlwaysOn Availability Groups Strategic Solutions Engineering (SSE) EMC Solutions Group (ESG) David Ring Michael Morris EMC MULTISITE DISASTER RECOVERY FOR MICROSOFT SQL SERVER 2012
2© Copyright 2012 EMC Corporation. All rights reserved. Agenda EMC Proven Solutions SQL Server 2012 Overview Solution Overview Architecture Design Test Results Summary Q&A
3© Copyright 2012 EMC Corporation. All rights reserved. EMC Proven Solutions Approach Capture and define Test and validate DocumentPublish Singapore Shanghai, China Cork, Ireland Hopkinton, MA Santa Clara, CA Vienna, Austria Requirements …we champion the customers …and test the solutions you would like
4© Copyright 2012 EMC Corporation. All rights reserved.
5 SQL Server 2012 New Feature Overview
6© Copyright 2012 EMC Corporation. All rights reserved. SQL Server AlwaysOn High Availability Disaster Recovery Built on Windows Failover Clustering Shared Storage Non-shared Storage
7© Copyright 2012 EMC Corporation. All rights reserved. SQL Server High Availability Features HA LevelBefore SQL Server 2012SQL Server 2012 Instance SQL Failover Cluster AlwaysOn Failover Cluster Database Backup and Restore Log Shipping Transactional Replication SQL Snapshot SQL Mirroring + AlwaysOn Availability Group
8© Copyright 2012 EMC Corporation. All rights reserved. AlwaysOn Failover Cluster Microsoft SQL Server AlwaysOn Failover Cluster Database Protection Shared storage Passive secondary replicas Protects server, instance, and database Multi-subnet support now available
9© Copyright 2012 EMC Corporation. All rights reserved. SQL Server 2012: Multi-subnet Support Cluster Properties—Dependencies Cluster Setup support— intelligently detects a multi-subnet environment SQL Server Engine support— skips binding to any IP address that is not in an online state
10© Copyright 2012 EMC Corporation. All rights reserved. AlwaysOn Availability Groups Microsoft SQL Server AlwaysOn Availability Group Database Protection Synchronous or Asynchronous Up to four replicas Active secondary replicas Protects database only
11© Copyright 2012 EMC Corporation. All rights reserved.
12© Copyright 2012 EMC Corporation. All rights reserved. Solution Purpose SQL Server 2012 AlwaysOn –Characterize a geographically dispersed SQL Server 2012 environment protected by AlwaysOn technology, and highlight multi-subnet support at both synchronous and asynchronous distances. EMC VNX5700 –Optimize database storage performance with EMC FAST Cache. –Integrate a simple, efficient, and powerful platform for enterprise- class SQL Server 2012 infrastructures. –Validate the ability of the VNX5700 storage array to support SQL Server 2012 instances running OLTP-like workloads that generate over 50,000 IOPS.
13© Copyright 2012 EMC Corporation. All rights reserved. Solution Architecture 2 * SQL Servers 1 * Primary (Production) 1 * Secondary (DR) FAST Cache on production 4 * DB’s: 1.8 TB of data Dataset: 60% hot FAST Cache impact: x4 (TPS/IOPS) latency of <3ms
14© Copyright 2012 EMC Corporation. All rights reserved.
15© Copyright 2012 EMC Corporation. All rights reserved. SQL Server Layout DescriptionDetails / Measurement SQL Server physical server (instances) One production SQL Server instance (primary replica) One read-only secondary SQL Server instance (secondary replica) SQL Server hardware configuration 32 core/256 GB memory (Processor: Intel Xeon X7560) SQL Server user databases 4 x Databases 180,000 users 1.8 TB of data 1 x 50 GB (5,000 users) 1 x 250 GB (25,000 users) 1 x 500 GB (50,000 users) 1 x 1 TB (100,000 users) Read/Write workload OLTP-like workload - 50,000 IOPS Read/Write ratio of approximately 9:1 VNX storage poolsOne primary/secondary replica Backup staging area for availability group seeding2 TB
16© Copyright 2012 EMC Corporation. All rights reserved. Storage Design PurposePool/RAID groupDisk configurationRAID type SQL System databasesRAID group 4 x 3.5” 600 GB 10k SAS RAID 5 SQL TempDBsRAID group 4 x 2.5” 600 GB 15k SAS RAID 1/0 OLTP database logsRAID group 8 x 2.5” 600 GB 10k SAS RAID 1/0 OLTP database data filesStorage Pool 40 x 2.5” 600 GB 10k SAS RAID 5 FAST Cache pool 14 x 3.5” 100 GB Flash drives RAID 1 Production array storage configuration
17© Copyright 2012 EMC Corporation. All rights reserved. Storage Design for SQL Server
18© Copyright 2012 EMC Corporation. All rights reserved.
19© Copyright 2012 EMC Corporation. All rights reserved. Baseline2hr FAST Cache warmupFAST Cache Steady State Transfers/sec (IOPs)...800km…4,000kmDistance...80km Throughput in IOPS (transfers/sec)
20© Copyright 2012 EMC Corporation. All rights reserved. Comparison of Disk Reads/Writes On Primary And Secondary Replicas
21© Copyright 2012 EMC Corporation. All rights reserved. SQL Server CPU Utilization SQL Server CPU impact across synchronization state and distance
22© Copyright 2012 EMC Corporation. All rights reserved. Baseline2hr FAST Cache warmupFAST Cache Steady State...800km...4,000k m Distance...80km Throughput in Transactions/Sec (TPS) Disk transactions per sec (TPS) for both primary and secondary replicas
23© Copyright 2012 EMC Corporation. All rights reserved. Physical Disk Utilization Physical disk utilization for storage pool on production and DR arrays Baseline2hr FAST Cache warmupFAST Cache Steady State
24© Copyright 2012 EMC Corporation. All rights reserved. Storage Processor Utilization SP utilization for SPA and SPB on production and DR storage arrays Baseline2hr FAST Cache warmupFAST Cache Steady State
25© Copyright 2012 EMC Corporation. All rights reserved. Availability Group Creation Process 1 Create Availability Group 2 Add Availability Group Listener 3 Backup Database from Primary Replica 4 Backup Log from Primary Replica 5 Restore Database to Secondary Replica(s) 6 Restore Log to Secondary Replica(s) 7 Join Secondary Replica(s) to Availability Group 8 For Additional Databases Repeat from Step 3
26© Copyright 2012 EMC Corporation. All rights reserved. Shared Storage Requirements For Seeding A shared storage space is required when performing a Full Initial Data Synchronization as part of availability group creation. Users should consider the storage used for these database backups and restorations. The backup process has high bandwidth requirements for storage.
27© Copyright 2012 EMC Corporation. All rights reserved. Availability Group Creation Times Synchronous and asynchronous availability group creation at 80, 800, 4,000 km Availability Group ModeDistanceDuration Max Bandwidth (MB/sec) BackupRestore OLTP_AG1Synchronous80 km4hrs 14m OLTP_AG2Synchronous80 km4hrs 16m OLTP_AG1Asynchronous800 km4hrs 48m OLTP_AG2Asynchronous800 km8hrs 13m OLTP_AG1Asynchronous4000 km5hrs 50m OLTP_AG2Asynchronous4000 km8hrs 26m
28© Copyright 2012 EMC Corporation. All rights reserved.
29© Copyright 2012 EMC Corporation. All rights reserved. Summary AlwaysOn Availability Groups provide protection at database level Synchronous – commit mode Asynchronous – commit mode Power of the EMC VNX to host mission critical SQL Server 2012 environments FAST Cache significantly boost performance Incredibly low SQL Server datafile latency <3 ms FAST Cache increased SQL Server throughput by x4 (TPS/IOPS) while maintaining a very low latency of <3ms
30© Copyright 2012 EMC Corporation. All rights reserved.
31© Copyright 2012 EMC Corporation. All rights reserved.