This document summarizes a presentation about SQL Server 2012 high availability and disaster recovery options. It discusses key concepts like RTO, RPO and risk management. It then reviews various SQL Server high availability and disaster recovery technologies like log shipping, database mirroring, failover clustering, replication, and AlwaysOn availability groups. It also covers new features in SQL Server 2012 like availability groups and Windows Server 2012 cluster-aware updating. The presentation concludes with a discussion of contacting the presenter for additional resources.
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...SQLExpert.pl
SQL Server 2012 udostępnia zupełnie nowe spojrzenie na zagadnienia związanie z Wysoką dostępnością (High Avability). Najbardziej oczekiwaną nową funkcjonalnością jest AlwaysOn.
W trakcie sesji chcemy pokazać praktyczne zastosowanie AlwaysOn, odpowiadając na pytania:
• Co daje AlwaysOn czego nie było do tej pory
• W jakim stopniu AlwaysOn może zastąpić mirroring oraz logshiping
• Jak zbudować High Avability na potrzeby naszej organizacji
• Jak efektywnie skorzystać z wielu replik danych.
• Czym jest AlwaysOn Failover Cluster
W ramach sesji przedstawiona będzie koncepcja budowy rozwiązania spełniające oczekiwania w zakresie High Avability, dotyczące wydajności jak i bezpieczeństwa naszych danych, a także zgodne z potrzebami Distaster Recovery.
Sql Server High Availability & DR TechnologiesRockSolid SQL
There are many different disaster recovery and high availability options for SQL Server. Making decisions on the most effective DR & HA strategies can be complex, especially when you throw into the mix various SAN and network topologies.
This presentation is focused on the management and operational decisions that are made when planning DR and HA for production SQL Server environments. It is targeted towards Senior DBAs, CIO, IT Manager, database services managers.
Topics include:
Log Shipping
Database Mirroring
Always On High Availability groups
Replication
Clustering
Licensing
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...SQLExpert.pl
SQL Server 2012 udostępnia zupełnie nowe spojrzenie na zagadnienia związanie z Wysoką dostępnością (High Avability). Najbardziej oczekiwaną nową funkcjonalnością jest AlwaysOn.
W trakcie sesji chcemy pokazać praktyczne zastosowanie AlwaysOn, odpowiadając na pytania:
• Co daje AlwaysOn czego nie było do tej pory
• W jakim stopniu AlwaysOn może zastąpić mirroring oraz logshiping
• Jak zbudować High Avability na potrzeby naszej organizacji
• Jak efektywnie skorzystać z wielu replik danych.
• Czym jest AlwaysOn Failover Cluster
W ramach sesji przedstawiona będzie koncepcja budowy rozwiązania spełniające oczekiwania w zakresie High Avability, dotyczące wydajności jak i bezpieczeństwa naszych danych, a także zgodne z potrzebami Distaster Recovery.
Sql Server High Availability & DR TechnologiesRockSolid SQL
There are many different disaster recovery and high availability options for SQL Server. Making decisions on the most effective DR & HA strategies can be complex, especially when you throw into the mix various SAN and network topologies.
This presentation is focused on the management and operational decisions that are made when planning DR and HA for production SQL Server environments. It is targeted towards Senior DBAs, CIO, IT Manager, database services managers.
Topics include:
Log Shipping
Database Mirroring
Always On High Availability groups
Replication
Clustering
Licensing
Hvordan administrerer og bruker du din VDI-løsning best mulig? Hva kan Microsoft tilby av VDI-drift og hvordan benyttes det i praksis? Vi ser på hvordan bl.a. System Center kan benyttes i en VDI-løsning.
Virtualization has been the “big thing” in server consolidation for years, and two of the biggest players are Microsoft and VMware. So how do these solutions stack up for live migration, memory, support, and fault tolerance? Find out this and more when you view C/D/H's Virtualization Smackdown slide deck.
And for more information on this or other virtualization topics, visit our blog at www.cdhtalkstech.com.
A basic overlook for some configurations when running SQL Server, SSRS and SSAS. Some configurations are also when the services are ran on the same stand alone server. There are also basic hardware considerations.
Windows Server 2012 introduceert het gebruik van Storage Pools. Hiermee kunt u zowel USB, externe als interne harde schijven in een Storage Pool plaatsen. Vanuit deze pool kunt u vervolgens zoveel virtuele schijven maken als u nodig heeft. Dit zijn in feite VHD bestanden zoals deze ook al door HyperV gebruikt werden. Server 2012 ondersteunt de RAID versies 0,1 en 5. Wilt u flexibiliteit en file redundancy, zonder een duur SAN aan te hoeven schaffen, dan is deze feature is voor u!
Veritas Dynamic Multi-Pathing for VMware 6Symantec
Symantec’s latest version of Veritas Dynamic Multi-Pathing for VMware helps organizations improve storage input/output (I/O) performance and availability for VMware vSphere. As customers move their business-critical applications to VMware cloud infrastructure, Dynamic Multi-Pathing for VMware addresses the need for increased I/O performance, better visibility and management of the underlying storage, and improved availability of virtual machines and applications in SAN environments. In the event of a path failure, Dynamic Multi-Pathing for VMware automatically routes data to an available path and then restores the failed paths as they become available – providing efficient storage management and availability across disparate storage hardware.
WebSphere Application Server support and monitoring tools presentation by Royal Cyber, tuning methodology, installation, migration, clustering, troubleshooting, deployment, automation scripts and much more.
VMware vCenter Infrastructure Navigator is an application awareness plug-in to vCenter Server, and provides continuous dependency mapping of applications. Infrastructure Navigator offers application context to the virtual infrastructure administrators to monitor and manage the virtual infrastructure inventory objects and actions. Administrators can use Infrastructure Navigator to understand the impact of change on the virtual environment in their application infrastructure. Infrastructure Navigator helps virtual infrastructure administrators perform the following tasks:
Make accurate first-level triage to help either eliminate the problem or associate the problem with the virtual infrastructure when business service users report problems.
Assess change impact. Manage and communicate virtual infrastructure issues for critical applications.
Understand the application and business impact of changes to the virtual infrastructure on applications.
Flexibility In The Remote Branch Office VMware Mini Forum CalgaryJames Charter
VMware Mini Forum Calgary Afternoon Keynote Presentation, February 18, 2010. Overview on how Virtualization Technologies can provide flexibility and additional value in the Remote Office / Branch Office (ROBO). Topics discussed: Centralized vs. Distributed Deployment Models, Backup, Data Replication, Disaster Recovery, vSphere features, Site Recovery Manager, Virtual Desktop, WAN Acceleration.
Securing Your Endpoints Using Novell ZENworks Endpoint Security ManagementNovell
Endpoint security is one of the greatest concerns on the minds of senior management today. Protecting your data and controlling how systems access resources is of the utmost importance. You must take actions to protect your infrastructure while ensuring your employees can continue to perform their jobs effectively and efficiently. Come to this session to learn how you can leverage the power of Novell ZENworks Endpoint Security Management across your enterprise to achieve this delicate balance—so you and the rest of your organization can sleep at night.
Hvordan administrerer og bruker du din VDI-løsning best mulig? Hva kan Microsoft tilby av VDI-drift og hvordan benyttes det i praksis? Vi ser på hvordan bl.a. System Center kan benyttes i en VDI-løsning.
Virtualization has been the “big thing” in server consolidation for years, and two of the biggest players are Microsoft and VMware. So how do these solutions stack up for live migration, memory, support, and fault tolerance? Find out this and more when you view C/D/H's Virtualization Smackdown slide deck.
And for more information on this or other virtualization topics, visit our blog at www.cdhtalkstech.com.
A basic overlook for some configurations when running SQL Server, SSRS and SSAS. Some configurations are also when the services are ran on the same stand alone server. There are also basic hardware considerations.
Windows Server 2012 introduceert het gebruik van Storage Pools. Hiermee kunt u zowel USB, externe als interne harde schijven in een Storage Pool plaatsen. Vanuit deze pool kunt u vervolgens zoveel virtuele schijven maken als u nodig heeft. Dit zijn in feite VHD bestanden zoals deze ook al door HyperV gebruikt werden. Server 2012 ondersteunt de RAID versies 0,1 en 5. Wilt u flexibiliteit en file redundancy, zonder een duur SAN aan te hoeven schaffen, dan is deze feature is voor u!
Veritas Dynamic Multi-Pathing for VMware 6Symantec
Symantec’s latest version of Veritas Dynamic Multi-Pathing for VMware helps organizations improve storage input/output (I/O) performance and availability for VMware vSphere. As customers move their business-critical applications to VMware cloud infrastructure, Dynamic Multi-Pathing for VMware addresses the need for increased I/O performance, better visibility and management of the underlying storage, and improved availability of virtual machines and applications in SAN environments. In the event of a path failure, Dynamic Multi-Pathing for VMware automatically routes data to an available path and then restores the failed paths as they become available – providing efficient storage management and availability across disparate storage hardware.
WebSphere Application Server support and monitoring tools presentation by Royal Cyber, tuning methodology, installation, migration, clustering, troubleshooting, deployment, automation scripts and much more.
VMware vCenter Infrastructure Navigator is an application awareness plug-in to vCenter Server, and provides continuous dependency mapping of applications. Infrastructure Navigator offers application context to the virtual infrastructure administrators to monitor and manage the virtual infrastructure inventory objects and actions. Administrators can use Infrastructure Navigator to understand the impact of change on the virtual environment in their application infrastructure. Infrastructure Navigator helps virtual infrastructure administrators perform the following tasks:
Make accurate first-level triage to help either eliminate the problem or associate the problem with the virtual infrastructure when business service users report problems.
Assess change impact. Manage and communicate virtual infrastructure issues for critical applications.
Understand the application and business impact of changes to the virtual infrastructure on applications.
Flexibility In The Remote Branch Office VMware Mini Forum CalgaryJames Charter
VMware Mini Forum Calgary Afternoon Keynote Presentation, February 18, 2010. Overview on how Virtualization Technologies can provide flexibility and additional value in the Remote Office / Branch Office (ROBO). Topics discussed: Centralized vs. Distributed Deployment Models, Backup, Data Replication, Disaster Recovery, vSphere features, Site Recovery Manager, Virtual Desktop, WAN Acceleration.
Securing Your Endpoints Using Novell ZENworks Endpoint Security ManagementNovell
Endpoint security is one of the greatest concerns on the minds of senior management today. Protecting your data and controlling how systems access resources is of the utmost importance. You must take actions to protect your infrastructure while ensuring your employees can continue to perform their jobs effectively and efficiently. Come to this session to learn how you can leverage the power of Novell ZENworks Endpoint Security Management across your enterprise to achieve this delicate balance—so you and the rest of your organization can sleep at night.
Overview of my VMware vSphere 5.1 with ESXi and vCenter class. Get an overview of the most powerful, enterprise class private cloud platform available.
Covers the problems of achieving scalability in server farm environments and how distributed data grids provide in-memory storage and boost performance. Includes summary of ScaleOut Software product offerings including ScaleOut State Server and Grid Computing Edition.
Replication enhancements in MySQL 5.6, including GTIDs, HA / Self-healing, multi-threaded slaves and more. Slides over design rationale, implementation and how to get started using these new capabilities
Using Distributed In-Memory Computing for Fast Data AnalysisScaleOut Software
This is an overview of how distributed data grids can enable sharing across web servers and virtual cloud environments to enable scalability and high availability. It also covers how distributed data grids are highly useful for running MapReduce analysis across large data sets.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Sql server 2012 ha and dr sql saturday tampa
1. SQL Server 2012
High Availability and
Disaster Recovery
SQL Saturday #192
March 2, 2013
Tampa, FL
Joey D’Antoni
2. @jdanton
Joedantoni.wordpress.com
jdanton1@yahoo.com
About Me
Resources from Today’s Presentation
http://bit.ly/SQLSat_Tampa
3. Disaster Recovery—It’s All About Risk
Management
Understanding High Availability
Today’s
Presentation Ok, I get that, now how do I protect my
databases?
Understanding Availability Groups
5. Recovery Time Objective – How long can your
systems be down before your business is
impacted?
Disaster Recovery Point Objective—How much data can
Recovery your business lose before being impacted?
Terms
These will vary highly by your industry, and
your business model, but they apply to every
application
6. "How fast do you want to go? How much do you
want to spend?“ –attribution unknown
Risk
Management
7. In a nutshell, preparing a DR policy is just like
buying insurance
Based on your firms tolerance for risk, business
model, and geography
Extremely high levels of availability and
Risk protection are available, at a very expensive
Management cost
Very reasonable levels of protection and
availability can be had at a low cost
If you use a cloud provider—you still need to
think about this!
8. AlwaysOn Availability Groups
Database Mirroring
DR Solutions in Log Shipping
SQL Server Multi-site Replication
Multi-site Clustering
Virtualization Multi-site failover
10. High availability is a system design approach
and associated service implementation that
ensures a prearranged level of operational
performance will be met during a contractual
measurement period. --wikipedia
High
• System Design allows for minimal downtime in the event of
Availability hardware and operating system failures
11. SQL Server Failover Cluster Instances
High
VMWare vMotion/Hyper-V Live Migration
Availability in
Both of these technologies have a single point
SQL Server of failure in shared storage
12. Review
AlwaysOn Availability Groups
Database Mirroring
SQL Server HA Failover Cluster Instances
and DR Log Shipping
Options Replication
13. • Transaction Log Backups take place
on primary
• External Process ships logs to
secondary server(s) Secondary
• Data can be read on secondary Server
(except during t-log apply) DB
(S)
Primary
Log Shipping Server
DB
(P) Secondary
Server
Log
DB
Backup
(S)
Optional
14. Pros
• Standard Edition
• Supports Multiple Targets
• Can Read Secondary Copies
Log Shipping
Pros/Cons
Cons
• Dependent on Backup on Primary
• Manual Failover Process
• Reasonably High Complexity
15. • This is a really high level view of
replication
• There are numerous topologies and
options involved in replication
• This is the nuts and bolts of it
Replication
Image Credit—MS Books Online
16. Pros
• Can Replicate to Multiple
Servers
• Replicate subset of data
• Standard Edition
(transactional)
Replication
Pros/Cons Cons
• Manual Failover
• Unknown RPO
• Can be fragile
• Re-sync process can be ugly
• Also requires connection
change for failover
18. Shared Storage (SAN or SMB Share*)
Windows Cluster (Windows Server 2012
Failover Standard Edition)
Cluster
SQL Server Standard Edition (Two Node
Instances Limit)
Requirements
Cluster Network
Quorum Disk
19. Pros
• Connections are transparent
• Failover is automatic
• Allows for whole instance protection
SQL Server • Multiple servers can be involved
Failover
Cluster
Instances Cons
Pros/Cons • Setup is complex
• Hardware can sit idle in some configs
• Single storage doesn’t allow for data
protection*
*More on this later
20. • Database transactions are compressed
and shipped to secondary server (2008+)
• The optional witness server facilitates
automatic failover
• Transfer may be sync or async*
Database Primary Secondary
Server Server
Mirroring Mirror Mirror
DB DB
Witness
Server
*Enterprise Edition Only
21. Pros
• Automatic Failover (w/witness)
• Configuration is fast and easy
• Failover happens quickly
• Corrupted pages get fixed on
secondary
Database
Mirroring
Pros/Cons Cons
• Is per database—multiple DB
failovers need scripting
• Async only available in EE
• Marked as deprecated in SQL
2012
• Secondaries are inaccessible
(except for snapshots)
22. Instance Instance
1 2
AG AG
(P) (S)
AlwaysOn Node A Node B
Availability
Groups
Washington Chicago
Listener Name (AD VCO)
Windows Cluster
23. Requires SQL Server Enterprise Edition
Windows Cluster
All servers in same Windows Domain
Databases Failover as a group
AlwaysOn No Shared Storage Needed
Availability Async and Sync Modes
Groups Automatic and Manual Failover
Supports up to 4 replica copies
Replicas can be read
Backups on secondary copies
24. Pros
• Readable secondaries allow for
load distribution
• No shared storage can reduce
hardware costs
• Multiple databases failing
together is great for complex
AlwaysOn apps
• Connection string handled
Availability gracefully by listener
Groups • Administration all through
SSMS
Cons
Pros/Cons • Config is easy • Large topologies lead to $$$
license costs
• Enterprise Edition only
• New feature, so some growing
pains
• Changes in application code
needed
25. Can cluster using SMB shares—becomes more
viable option with SMB 3.0 in Windows Server
2012
SQL 2012 Failover Process is changed—isAlive and
LooksAlive go away. Replaced with
What’s New sp_server_diagnostics
(Clustering) Multi-subnet clustering is now available—this is
designed for stretch clustering using SAN
replication
26. Availability Groups
SQL Server Mirroring is marked as deprecated
Not sure the long term impact of this for
2012 DR New standard edition and DR
Features
No real changes to replication or log
shipping
28. Great concept—allows for clusters to be
automatically rebooted
Windows
Works perfectly with SQL Server Failover
Server 2012 Cluster Instances
Cluster Aware Doesn’t work with AlwaysOn Availability
Updating Groups, at the moment
32. Understand your business need before
designing a HA and DR strategy
DR is just like buying insurance—you
Summary don’t need it until you do.
Lots of good options for HA and DR in
SQL Server for many price points
Always have a plan!
34. @jdanton – Twitter
jdanton1@yahoo.com – Email
Contact Info Joedantoni.wordpress.com – Blog
Resources from today:
http://bit.ly/SQLSat_Tampa
Editor's Notes
Hello and Welcome to SQL Saturday in Washington (or Chevy Chase). I’m Joey D’Antoni and today we will be talking about High Availabilty and Disaster Recovery in SQL Server—some 2012, some of this will apply to older versions of the software.
A little bit about myself. I’m @jdanton on Twitter---how many of you are on Twitter? It’s a really great resource for the SQL Community—we have a lot of interaction and discussion there, and additionally there is a great hashtag called SQLHelp. Where you can get questions answered by experts. My blog is at joedantoni.wordpress.com—I have posts on a lot of the topics we will talk about today, and have instructions on setting up an AlwaysOn environment there. Lastly you can reach me by email at jdanton1@yahoo.com. I have a blog post with my slides and additional resources from today’s presentation up at this bit.ly URL.Lastly, stop me at anytime if you have questions for me, I’ll do my best to answer, or direct you to an answer.
To start, we’re going to talk a good bit about disaster recovery. How many of you know if your organization has a disaster recovery plan? It should—even if it’s as simple as saying we move back to a paper based system, if our computers break, that’s a plan that can be followed when everyone is freaking out. Or your company may be an e-commerce site that immediately starts losing money the second something goes down. Then you need a different strategy.Next we’re going to talk about high availability—what it means, and several different ways to implement it within your infrastructure. How many of you have worked with clustering? After talking about the high level stuff we need to talk about, we will discuss all of the different options for data protection in SQL Server—we will discuss their pros and cons, costs, and complexity. And don’t worry, I will cover options in both standard and enterprise edition.Lastly, I will detail what you need to know about one of SQL 2012’s cornerstone features—AlwaysOn Availability Groups, and we will do a live demo and build a new AG.
So, when talking about disaster recovery, we have to talk about disasters. This first disaster happened just recently in Springfield, MA. A gas worker was responding to a gas leak, and accidentally damaged a pipe. He followed his procedure though and quickly evacuated all of the buildings in the area. These actions were all according to plan and as result no fatalities happened Unfortunately, a gentleman’s club was destroyed in the process, and the resulting cloud of glitter could be seen for several days. The next picture is hurricane Sandy. Growing up in New Orleans and starting my professional career in North Carolina, I’ve been through a lot of hurricanes and written disaster recovery plans to cover these situations. When I moved to the northeast, I thought it became less of a consideration. However, twice in the last two years, we’ve had major storms hit the eastern seaboard. Some firms had really good DR plans, and continued operating as normal. Others, however had the fuel tanks for their generators in the basement and had to organize bucket brigages to run fuel to the generators.The third picture is one I use in my SAN presentations to describe RAID 0. A car hitting a tree—this is here more to show the human aspect to DR, and to remind ourselves that a very important part of the process is to have human backups, and well written documentation.The last picture is of another classic disaster scenario—a building fire. In this case employees of this firm Inintech, had been stealing money via a computer system, but they weren’t able to track them down, because they didn’t have a DR plan.
So before one gets started on a disaster recovery plan, there are a couple of things you need to know. Depending on the size of you company and the nature of you business this can get pretty complicated. Even in medium size business you will probably want to split systems based on criticality. How do we determine the criticality—RTO and RPO.Recovery time objective is how long your systems can be down, before your company starts losing money. For a customer facing e-commerce site, this is basically instantly. So you are going to want to dedicate a lot of DR resources to that system. However, a back office HR reporting system would take several days to have impact, so maybe that doesn’t get clustering or mirroring.Recovery Point Objective aligns with this pretty closely—it’s how much data you can lose before the business is impacted. Similarly, you wouldn’t want to start losing orders and invoices—so those systems need a high level of protection.In most of my experience doing this work, I’ve grouped systems into tiers—usually 3 or 4, based on application needs. This is a really good first step DR exercise to do, even if you aren’t planning on implementing any ha or dr into your environment. It justs gives you an idea of which systems are most critical to recover.
One more thing about myself, I really like auto racing. Formula 1 specifically—talk about a highly available environment. Anyway, I’ve always seen this quote in terms of racing—How Fast do You Want to Go? How much do you want to spend? The first car here is the Red Bull RB8, it won both the driver’s and constructors championship in Formula 1 this year. It is custom developed for each race, can corner with a force 4x gravity, and the team has a budget of about $400M/yr, just to build two of these cars and race them.The second car, is the Tata. It’s an Indian car that costs less than $5000. It’s top speed is under 70 mph.I use these illustrations to demonstrate something—both of these vehicles can get you from point A to point B. Just in a different fashion. Some businesses will need extremely available systems with multi-site clusters and tertiary systems. While other companies will feel comfortable with shipping their backups offsite.
Just like buying an insurance—a DR plan is really nothing more than an insurance policy. You may never need it, but when you do you will be really thankful.Most of my experience is in the health care industry, and those firms tend to have pretty low tolerance for data loss. Financial services firms also have a low tolerance for data loss and downtime. It tends to cost money in a hurry. Another consideration is the actual location of your business and what sort of natural disasters can impact you. It’s no accident that Google, Facebook and Apple have all built data centres in Western North Carolina, and Oregon. Those places tend to be out of the way of most disasters. I used to think the mid-Atlantic was pretty safe, but….I can guarantee you 5 9s of availability. But it’s going to cost a lot of money—redundant SANs, enterprise SQL Server licenses, secondary data centers—these things all cost money. A lot of money.However, if you don’t work for Goldman Sachs, fear not—there a some decent options even with Standard Edition for data protection. It may not be as automatic, and you may lose a bit of data. But you can still protect yourself. Even if it’s only from hardware failure.Since I’m mentioning the word cloud, everybody drink. Ok. That’s better—seriously though if you are implementing a solution on Amazon or Azure, think about DR. Amazon in Reston has had several outages, and customers who only were running in that data center had outages. The ones who spanned Amazon DCs stayed up.
So what are the DR options within SQL Server? Starting at the top we have AlwaysOn Availability Groups—this is only available in Enterprise Edition of 2012. Database mirroring is a very similar option, and is available in standard edtion (synchrous only). It started in SP1 of SQL Server 2005. Log shipping has been around forever, and is available in all editions, as is replication. Multi-site clustering is not a cheap option—we’ll talk a little bit more about it later, but there is a great deal of expense involved in setting up a multi-site failover cluster.Lastly, both Hyper-V and VMWare offer the ability to migrate a guest operating system from one location to another. These tend to be also pretty expensive, and they aren’t really in the hands of the DBA, so we won’t talk to much more about them here.
A little bit about high availability—these are two main things I think of High Availability solutions—hardware failure, in this case complete meltdown of a server, or operating system failures. IE the blue screen of death. Or some combination of the two. I’ve had memory fail and lead to blue screens of death—fortunately it was in a cluster, so my downtime was minimal.
This is how Wikipedia defines High Availability. In my mind high availability is generally local and doesn’t necessarily provide DR. One of my favorite horror stories from an old job relates to this a bit. We had pretty highly available systems—clusters, VMWare clusters, that were all running on a single storage array. I was on call, and got paged on a database being down. I logged into the server and only saw the c: drive—it was SAN attached. I called my boss, and ask if she knew what was going on? She said, oh sorry, I was going to call—HP came into decommission a SAN and they took the wrong one. So about a week later we finally got everything back. Total mess.Even with HA—there tends to be a single point of failure at this storage layer. It’s pretty common in most cluster solutions, which is why they provide HA and not DR. Don’t confuse the two!
So what are the major HA technologies in SQL? The most common on is Failover Cluster Instances. One nice thing to know about Failover Clusters is that traditionally they have been dependent on the Enterprise version of Windows. Starting with 2012, standard edition has failover clustering built in. Also starting with SQL 2012, SMB file shares are supported as cluster disk, so you might not even need a SAN.The other options I have listed here are VMWare vMotion and Hyper-V live migration. Both of these solutions are completely transparent to SQL Server (you don’t have to do anything), but neither offer protection against any OS failures. But they work really well for hardware failures.Like I mentioned in the previous slide, both of these options do have a single point of failure with storage.
Just to summarize our Native Options that we are going to explore in detail here.