Successfully reported this slideshow.

Pass 2013 dantoni azure a gs

1,340 views

Published on

PASS Summit 2013 presentation on Hybrid and Azure Availability Group solutions.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Pass 2013 dantoni azure a gs

  1. 1. Into the Blue AlwaysOn Availability Groups and Windows Azure October 15-18, 2013 Charlotte, NC Joseph D’Antoni, Solutions Architect Anexinet
  2. 2. Please silence cell phones October 15-18, 2013 | Charlotte, NC
  3. 3. Explore Everything PASS Has to Offer Free SQL Server and BI Web Events Regional Event This is Community Business Analytics Training Local User Groups Around the World Session Recordings 3 Free 1-day Training Events PASS Newsletter Free Online Technical Training
  4. 4. Session Evaluations Submit by 5pm Friday Oct. 18 to WIN prizes Your feedback is important and valuable. ways to access Go to passsummit/evals 4 Download the GuideBook App and search: PASS Summit 2013 Follow the QR code link displayed on session signage throughout the conference venue and in the program guide
  5. 5. About Me • • • • 5 Solutions Architect, Anexinet @jdanton jdanton1@yahoo.com Joedantoni.wordpress.com
  6. 6. PRISM 6
  7. 7. Microsoft’s Response Enterprise Email and Document Storage: If we receive a government demand for data held by a business customer, we take steps to redirect the government to the customer directly, and we notify the customer unless we are legally prohibited from doing so. We have never provided any government with customer data from any of our business or government customers for national security purposes. In terms of criminal law enforcement requests, we made clear in our Law Enforcement Requests Report that throughout 2012 we only complied with four requests related to business or government customers. In three instances, we notified the customer of the demand and they asked us to produce the data. http://blogs.technet.com/b/microsoft_on_the_issues/archive/2013/07/16/respon ding-to-government-legal-demands-for-customer-data.aspx 7
  8. 8. Before We Start… 8
  9. 9. Agenda • • • • • 9 Story About the Cloud Defining Disaster Recovery Windows Azure Virtual Machines Why use the Cloud? Cloud DR Scenarios using AlwaysOn
  10. 10. Disaster Recovery 10 10
  11. 11. High Availability != Disaster Recovery Cluster Node 1 Cluster Node 2 SAN 11 11
  12. 12. Defining Disaster Recovery Start With RPO and RTO Backup and Recovery  Backing up your data isn’t enough  Regularly test recovery processes (great use case for Azure)  RPO—How much data can you afford to lose for a given system?  RTO—How long can you system be down without business impact?  Technology Decisions should be driven by these metrics  Write everything down and get executive sign off  Have a solid process—process is far more important than technology • If you don’t test recovery, save the space and don’t back up your databases!  Send backups to multiple locations 12 12
  13. 13. Disaster Recovery--Summary • HA =! DR—Most HA solutions have single points of failure • The Business Needs should define the technology • Have a Disaster Recovery Plan—keep it up to date • Protect your backups by sending them multiple places, and… • TEST YOUR RESTORATION PROCESS REGULARLY 13
  14. 14. Cloud Computing—Brief Review Types of Cloud Computing  Software as a Service (SAAS)— Examples like Gmail, Salesforce.com  Infrastructure as a Service (IAAS)—Windows Azure VMs, Amazon AWS, Rackspace  Platform as a Service (PAAS)— Microsoft Windows Azure SQL Database (WASD), Amazon RDS (Relational Database Service) 14 14
  15. 15. Windows Azure  Since June 2012 (GA as of May 2013), Azure Virtual Machines became available  This is an infrastructure as a service model  VMs are available preconfigured, or users can supply their own images  Can connect to on premises Active Directory and/or DNS via VPN connectivity  As of June 2013—available freely for development use with MSDN subscription 15 15
  16. 16. Windows Azure Principles economics usage based automated elastic Managed Hybrid always up. always on.
  17. 17. So Why Go to the Cloud? • Logistics • Redundancy • Costs • A live full-time DR site is expensive • Site Rent and Maintenance • Idle Hardware • Ops • Many smaller orgs do not have near time DR at all • Not for everyone or every system 17
  18. 18. Cloud Pros/Cons Is this your workload? Or is this your workload? If so, you probably want your own If so, you’re probably a good fit for using dedicated hardware. Azure virtual machines 18
  19. 19. Azure VM Sizes and Costs High Memory Instances COMPUTE VIRTUAL INSTANCE CORES COMPUTE NAME VIRTU RAM INSTANCE AL RAM NAME CORES Extra 768 Shared Small (A0) MB A6 4 Small (A1) A7 Medium (A2) 8 Large (A3) Extra Large (A4) 19 1 2 4 8 28 GB WEB WEB $0.065/hr $1.065/hr (~$48/month) (~$792/mont 1.75 $0.135/hr h) STANDARD STANDARD ENTERPRISE ENTERPRISE $0.57/hr (~$424/month) $2.12/hr (~$1,577/month) $2.19/hr (~$1,629/month) $1.57/hr (~$1,168/month) $3.12/hr (~$2,321/month) GB 56 GB (~$100/month) $0.64/hr (~$476/month) 7 GB $0.405/hr (~$301/month) $0.91/hr (~$677/month) $2.46/hr (~$1,830/month) 14 GB $0.81/hr (~$603/month) $1.82/hr (~$1,354/month ) $4.92/hr (~$3,660/month) $2.13/hr $3.14/hr $6.24/hr (~$1,585/mo 3.5 $0.225/hr (~$2,336/month) $0.73/hr $2.28/hr (~$4,643/month) nth) GB (~$167/month) (~$543/month) (~$1,696/month)
  20. 20. Costs Equation On-premises Azure VM    SQL Server Enterprise License—$27,496 Physical Server--$5000 • • • Four cores 16 GB RAM     $14,629-17,257/yr (Prepaid)    Lease on Second Data Center--$ A LOT *http://www.itbusinessedge.com/cm/community/features/guestopinions/blog/thebusiness-value-of-server-virtualization/?cs=17105 20 20 4 Cores (Large) 7 GB RAM (Large) Bandwidth Outbound: .114/GB  Windows Server License--$1764 Software Assurance--$4389/yr Power and Cooling--$589/yr* Total--$38,707  Total Cost $21,960/yr (Month to Month) Large Memory VMs (56 GB) -- $$
  21. 21. Security in the Cloud • Biggest question I’ve run into with clients is security • Azure Data Centers comply with ISO 27001:2005 • SSAE 16/ISAE 3402 Attestation • HIPPA Business Associate Agreement • VPN connections encrypt data end to end 21
  22. 22. Connecting to Azure Network and Active Directory 22 October 15-18, 2013 | Charlotte, NC
  23. 23. Site to Site VPN Domain Controller SQL Servers VPN Appliance On-premises (Your DC/Colo) Windows Azure Creating Site to Site VPN Connection (MS) Configuring Windows Server 2012 to Use RRAS to Azure
  24. 24. Big News!!! 24
  25. 25. AlwaysOn Availability Groups Quick Review 25 October 15-18, 2013 | Charlotte, NC
  26. 26. Quorum Windows Cluster Q Node 1 Node 2 Node Majority Mode Node and Disk Majority In Node/Disk Majority Mode Cluster sustain node failure
  27. 27. AlwaysOn Availability Groups Instance 1 Instance 2 AG (P) Node A AG (S) Node B Chicago Washington Listener Name (AD VCO) Windows Cluster
  28. 28. AlwaysOn Availability Groups • • • • • • • • • • Requires SQL Server Enterprise Edition Windows Cluster All servers in same Windows Domain Databases Failover as a group No Shared Storage Needed Async and Sync Modes Automatic and Manual Failover Supports up to 4 replica copies Replicas can be read Backups on secondary copies
  29. 29. Benefits of Availability Groups • These apply to both on-premises and hybrid Ags • Read Scaling—Can read secondary copies of data • • Offload Read workload to Azure Connect reporting/BI apps or migrate apps • Offload backups • 29 In the hybrid solution—offload backups to Azure storage to meet offsite backup requirements
  30. 30. Azure SQL Server HA/ DR Options Data Protection in the Cloud 30 October 15-18, 2013 | Charlotte, NC
  31. 31. SQL Server HA/DR Scenarios • • • • Availability of SQL Server in Azure VM Protection from issues impacting SQL Server or VM Using another SQL Server VM in same Azure DC • • • Ensure availability of on-premises SQL Server (physical or virtual) Protection from issues impacting on-premises DC Using a SQL Server VM in Azure • • • Availability of SQL Server in Azure VM Protection from issues impacting the Azure DC Using another SQL Server VM in different Azure DC • •
  32. 32. Hybrid Availability Group Requirements • VPN connection between your data center and Windows Azure • Can be point-to-point or point-to-site • Point-to-point requires hardware VPN • Point-to-site mainly used for early dev/test/demo • Currently only one replica in Azure • Virtual Network Limited to one Azure Data Center • Can have multiple on-premises replicas 32
  33. 33. 10.1.1.0 Subnet Cloud DC 137.135.45.56 Service Input Endpoint 10.0.1.0 Subnet (VPN) SQL in Cloud 10.0.1.0 Subnet (VPN) Azure Gateway 137.135.45.101 10.0.0.0 Subnet Internet On-Premise DC 33 SQL On Premise
  34. 34. Hybrid Availability Group SQL Instance 1 SQL Instance 2 On-premises Windows Server Failover Cluster (Same AD Domain) 34 34
  35. 35. Hybrid Availability Group Demo 35 October 15-18, 2013 | Charlotte, NC
  36. 36. Azure Availability Group SQL Instance 1 SQL Instance 2 SQL Instance 3 Windows Server Failover Cluster (Same AD Domain) 36 36
  37. 37. All Cloud Availability Group Demo 37 October 15-18, 2013 | Charlotte, NC
  38. 38. Resources • Configuring a Point to Site VPN • AlwaysOn Availablity Groups in Hybrid IT • Listener Configuration for AlwaysOn Availability Groups in Windows Azure • High Availability and Disaster Recovery for SQL Server in Windows Azure Virtual Machines
  39. 39. Summary • Microsoft Azure Virtual Machines and Storage offer the same HA and DR options that we have on-site • Point to Site VPN allows for testing from our machines • Provider connect makes the networking easy(er) • Good model for smaller shops that have critical systems 39
  40. 40. About Me • • • • 40 Solutions Architect, Anexinet @jdanton jdanton1@yahoo.com Joedantoni.wordpress.com
  41. 41. Session Evaluations Submit by 5pm Friday Oct. 18 to WIN prizes Your feedback is important and valuable. ways to access Go to passsummit/evals 41 Download the GuideBook App and search: PASS Summit 2013 Follow the QR code link displayed on session signage throughout the conference venue and in the program guide
  42. 42. Thank you for attending this session and the 2013 PASS Summit in Charlotte, NC 42 October 15-18, 2013 | Charlotte, NC

×