SlideShare a Scribd company logo
High Availability/DR:
TOO MANY CHOICES!!
Mike Walsh
About Mike
• Husband/Dad/Farmer
• SQL Server MVP for 8 years
• Consultant + Founder (Straight Path Solutions)
• 20+ Years working with SQL Server
• Blog at www.straightpathsql.com
• Notes from today’s session is the current blog post.
• E-mail me anytime: mike@straightpathsql.com
What About You?
Our Journey Today: The What
• This is an Overview
• We’ll talk about the various terms (HA/DR/RPO/RTO/SLA)
• We’ll talk about the approaches available for HA/DR
• We’ll talk a bit about the cloud
• We’ll get into the pros and cons of the approaches
• We’ll interact, I hope!
• You’ll leave with a sense of direction
• All Discussion/Interaction/PowerPoint
Our Journey Today: The How/When
• 20-30 Minutes of Slides
• 20-30 Minutes of Q&A – ask me your questions. I’ll answer
questions (hopefully!!) and take notes on the Q&A.
• Leave. Go enjoy the raffles!
• Blog Post: I’ll write up a blog post from the Q&A, include the
slides, and the discussion points so you have a reference.
Three Real Clients
• FCI + AG + Lack of Best Practices = KABOOM! –
on Tax Day!!
• Ransomware… Highly Available Ransomware….
• 1,200 DBs heading to AWS. Only choice is lots of
AGs, right? (no SAN, max DBs in an AG?)
Some Definitions
• Recovery Point Objective (RPO) – To what point can you recover?
• Recovery Time Objective (RTO) – How long will you be down?
• Service Level Agreement (SLA) – What did you promise?
• SQL Server Instance – A single installation of SQL Server – what
you connect to in SSMS. Your jobs, alerts, linked servers, logins,
etc all live at the Instance level.
• SQL Server Database – A single database on that instance.
High Availability <> Disaster Recovery
High Availability
• Oh No!!
• Server dies
• Need to be up really fast
typically.
• Quite often folks want this
automatically.
Disaster Recovery
• Oh $!%!@$ !!!
• Data Center (or SAN or core
network to data center/etc
dies)
• Typically, can have a bit more
time (can still be quite fast) to
come back.
• Can be manual
You Have to Talk… To The Business…
Never let the business decide alone on your HA/DR
solution, but never decide without them.
Some Questions
• How long can we be down for?
• How much data can we lose?
• (Those two questions are a battle of wits, for sure! Well wits and
dollars. Fight it with the dollars angle)
• What happens if we lose the primary data center?
• What about everything else?
• What about planned maintenance and patching? Is there a
window for that?
• Do we care about “C drive” protection?
Technologies Available – The Many
Choices…
• In SQL:
• Failover Cluster Instances
• Availability Groups
• Log Shipping
• (Replication – but….)
• Outside of SQL:
• Fault Tolerant Hardware (but….)
• VMWare/HyperV HA options
• VMWare/HyperV DR options
• Storage Replication
• Tools like Azure Site Recovery
• Platform as a Service Cloud offerings (RDS/Azure SQL/Azure SQL MI)
Some Common Approaches
Method HA DR Passive
Patching/”C-
Drive
Protection?”
Easy Failback L
Log Shipping N Y Sort Of N $$
Always On Y Y Y Y $$$ (can now do
Standard, but let’s
chat caveats)
Failover Cluster
Instances
Y With SIOS
DK/S2D/Storage
Replica it can
Yes Very $$$
VMWare HA Y N (w/ third party
offerings you can)
No It Depends $$$
Third Party Tools
(Zerto/Double
Take/etc)
N Y Sort Of Usually $$-$$$
Backup and
Restore
N Maybe – if your
RTO supports it
No No $
Instance Level Protection vs DB Level
Technologies which protect an entire instance (or server) protect
everything on your instance. Your jobs, logins, all DBs (even new
ones, out of the box), all protected. DB Level protection means you
are only protecting the database(s)
Failover Cluster INSTANCE
• Instance Level Protection
• Automatic Failover (really the only option out of the box)
• Needs to either have shared storage (traditionally this was a hard and
fast requirement) or the appearance of shared storage.
• Typically was always in one data center, HA only, but now can stretch
data centers, be SAN-less, have different IPs and even domainless.
• I’m starting to lean here more these days again
• SQL Server Standard – two node Single instance
• SQL Server Enterprise – multi node – multi instance
• Failover seamless to users
Availability Groups
• With SQL 2016+ now available in Standard (*****)
• Database Level Protection (you are responsible for the logins,
jobs, alerts, linked server, new DBs, etc – DBATools.IO is your
friend here!!!)
• Automatic Failover available for synchronous Ags
• Can do asynchronous to cross data centers
• Can be in different subnets
• Can now stretch domains or even be domainless
• AG Listener and seamless to users failover
• Read Only workload and automatic routing of it
Log Shipping
• Seriously – a tried, trusted, and good DR option
• Database level
• Some manual work (or scriptable yourself lots of help on the web
there for it)
• It’s just log backup, copy, restore with norecovery or standby
• Can sort of kind of maybe read off of the secondary
• Great for migrations as well
Speaking of Licenses
• Disclaimer: I make no warranties in license conversations. The
Microsoft licensing guide is a lot lake the iocane powder scene in
the Princess Bride… Slightly less complicated than the tax code.
• Enterprise vs Standard
• Software Assurance for a “Free failover”
• “Free failover” covers ONE Node.
• If you are reading from it? You are licensing it.
• Enterprise is $$$$
Outside of SQL Server
• HA/DR At the Virtualization Layer
• In the Cloud
• Combing technologies
A Word on Backup and Recovery
• Lots of great sessions here about this topic already.
• The Short Story:
• These technologies do not eliminate your need to backup.
• These technologies do not eliminate your need to test your backups.
• These technologies do not eliminate your need for Backups to be inaccessible
to bad people!
• These technologies do not eliminate your need to do Integrity Checks.
• Backup is still your responsibility.
• A Backup is still useless if you can’t restore it and haven’t tested,
practiced and understood the restore process.
• HA/DR will take a rogue update and make that rogue update highly
available and fault tolerant!
Now. Now You Talk to the Business
• Take the questions and approaches above
• Take the licensing information
• Take your existing infrastructure and capabilities
• Come up with a chart and give them options
• Show them RPO/RTO comparisons
• Show them Pricing comparisons
• Maybe 3 tiers – Gold/Silver/Bronze
• Maybe you have one of each to consolidate towards?
Q&A / Interaction
• I’ll write down notes from our conversation and have a blog post up by end of
Tuesday with updates based on your questions. Straightpathsql.com/blog -
I’ll tweet about it also – @mike_walsh.
• What is on your mind?
• Let’s get into challenges/questions/etc.
Thanks!!!
• mike@StraightPathSQL.com – open door policy.
• Blog post from Q&A – www.StraightPathSQL.com/blog

More Related Content

What's hot

Minimum Viable Architecture - Good Enough is Good Enough
Minimum Viable Architecture - Good Enough is Good EnoughMinimum Viable Architecture - Good Enough is Good Enough
Minimum Viable Architecture - Good Enough is Good Enough
Randy Shoup
 
Don't get blamed for your choices - Techorama 2019
Don't get blamed for your choices - Techorama 2019Don't get blamed for your choices - Techorama 2019
Don't get blamed for your choices - Techorama 2019
Hannes Lowette
 
Rails traps
Rails trapsRails traps
Rails traps
Reuven Lerner
 
50 Shades of Fail KScope16
50 Shades of Fail KScope1650 Shades of Fail KScope16
50 Shades of Fail KScope16
Christian Berg
 
Extending Stash - Jason Hinch
Extending Stash - Jason HinchExtending Stash - Jason Hinch
Extending Stash - Jason Hinch
Atlassian
 
How medium uses Neo4j
How medium uses Neo4jHow medium uses Neo4j
How medium uses Neo4j
Nathaniel Felsen
 
2010 11 pubcon_hendison_wordpress
2010 11 pubcon_hendison_wordpress2010 11 pubcon_hendison_wordpress
2010 11 pubcon_hendison_wordpress
shendison
 
Rapid Evolution of Web Dev? aka Talking About The Web
Rapid Evolution of Web Dev? aka Talking About The WebRapid Evolution of Web Dev? aka Talking About The Web
Rapid Evolution of Web Dev? aka Talking About The Web
PINT Inc
 
Troubleshooting WordPress - Tips & Advice
Troubleshooting WordPress - Tips & AdviceTroubleshooting WordPress - Tips & Advice
Troubleshooting WordPress - Tips & Advice
Joe Manna
 
14 Habits of Great SQL Developers
14 Habits of Great SQL Developers14 Habits of Great SQL Developers
14 Habits of Great SQL Developers
Ike Ellis
 
Performance and scalability with drupal
Performance and scalability with drupalPerformance and scalability with drupal
Performance and scalability with drupal
Ronan Berder
 
11 Goals of High Functioning SQL Developers
11 Goals of High Functioning SQL Developers11 Goals of High Functioning SQL Developers
11 Goals of High Functioning SQL Developers
Ike Ellis
 
Optimera STHLM 2011 - Mikael Berggren, Spotify
Optimera STHLM 2011 - Mikael Berggren, SpotifyOptimera STHLM 2011 - Mikael Berggren, Spotify
Optimera STHLM 2011 - Mikael Berggren, Spotify
.SE (Stiftelsen för Internetinfrastruktur)
 
Server’s variations bsw2015
Server’s variations bsw2015Server’s variations bsw2015
Server’s variations bsw2015
Laurent Cerveau
 
Reactive All the Way Down the Stack
Reactive All the Way Down the StackReactive All the Way Down the Stack
Reactive All the Way Down the Stack
Steve Pember
 
When indexes are not enough
When indexes are not enoughWhen indexes are not enough
When indexes are not enough
Davide Mauri
 
Embracing OSS in the enterprise
Embracing OSS in the enterpriseEmbracing OSS in the enterprise
Embracing OSS in the enterprise
cyberzeddk
 
An Introduction to jOOQ
An Introduction to jOOQAn Introduction to jOOQ
An Introduction to jOOQ
Steve Pember
 

What's hot (18)

Minimum Viable Architecture - Good Enough is Good Enough
Minimum Viable Architecture - Good Enough is Good EnoughMinimum Viable Architecture - Good Enough is Good Enough
Minimum Viable Architecture - Good Enough is Good Enough
 
Don't get blamed for your choices - Techorama 2019
Don't get blamed for your choices - Techorama 2019Don't get blamed for your choices - Techorama 2019
Don't get blamed for your choices - Techorama 2019
 
Rails traps
Rails trapsRails traps
Rails traps
 
50 Shades of Fail KScope16
50 Shades of Fail KScope1650 Shades of Fail KScope16
50 Shades of Fail KScope16
 
Extending Stash - Jason Hinch
Extending Stash - Jason HinchExtending Stash - Jason Hinch
Extending Stash - Jason Hinch
 
How medium uses Neo4j
How medium uses Neo4jHow medium uses Neo4j
How medium uses Neo4j
 
2010 11 pubcon_hendison_wordpress
2010 11 pubcon_hendison_wordpress2010 11 pubcon_hendison_wordpress
2010 11 pubcon_hendison_wordpress
 
Rapid Evolution of Web Dev? aka Talking About The Web
Rapid Evolution of Web Dev? aka Talking About The WebRapid Evolution of Web Dev? aka Talking About The Web
Rapid Evolution of Web Dev? aka Talking About The Web
 
Troubleshooting WordPress - Tips & Advice
Troubleshooting WordPress - Tips & AdviceTroubleshooting WordPress - Tips & Advice
Troubleshooting WordPress - Tips & Advice
 
14 Habits of Great SQL Developers
14 Habits of Great SQL Developers14 Habits of Great SQL Developers
14 Habits of Great SQL Developers
 
Performance and scalability with drupal
Performance and scalability with drupalPerformance and scalability with drupal
Performance and scalability with drupal
 
11 Goals of High Functioning SQL Developers
11 Goals of High Functioning SQL Developers11 Goals of High Functioning SQL Developers
11 Goals of High Functioning SQL Developers
 
Optimera STHLM 2011 - Mikael Berggren, Spotify
Optimera STHLM 2011 - Mikael Berggren, SpotifyOptimera STHLM 2011 - Mikael Berggren, Spotify
Optimera STHLM 2011 - Mikael Berggren, Spotify
 
Server’s variations bsw2015
Server’s variations bsw2015Server’s variations bsw2015
Server’s variations bsw2015
 
Reactive All the Way Down the Stack
Reactive All the Way Down the StackReactive All the Way Down the Stack
Reactive All the Way Down the Stack
 
When indexes are not enough
When indexes are not enoughWhen indexes are not enough
When indexes are not enough
 
Embracing OSS in the enterprise
Embracing OSS in the enterpriseEmbracing OSS in the enterprise
Embracing OSS in the enterprise
 
An Introduction to jOOQ
An Introduction to jOOQAn Introduction to jOOQ
An Introduction to jOOQ
 

Similar to SQL Server High Availability and DR - Too Many Choices!

Scaling a High Traffic Web Application: Our Journey from Java to PHP
Scaling a High Traffic Web Application: Our Journey from Java to PHPScaling a High Traffic Web Application: Our Journey from Java to PHP
Scaling a High Traffic Web Application: Our Journey from Java to PHP
120bi
 
The Economies of Scaling Software
The Economies of Scaling SoftwareThe Economies of Scaling Software
The Economies of Scaling Software
Abdelmonaim Remani
 
The economies of scaling software - Abdel Remani
The economies of scaling software - Abdel RemaniThe economies of scaling software - Abdel Remani
The economies of scaling software - Abdel Remani
jaxconf
 
Mike walsh hadr_toomanychoices_20191107
Mike walsh hadr_toomanychoices_20191107Mike walsh hadr_toomanychoices_20191107
Mike walsh hadr_toomanychoices_20191107
Mike Walsh
 
Let's get along
Let's get alongLet's get along
Jax Devops 2017 Succeeding in the Cloud – the guidebook of Fail
Jax Devops 2017  Succeeding in the Cloud – the guidebook of FailJax Devops 2017  Succeeding in the Cloud – the guidebook of Fail
Jax Devops 2017 Succeeding in the Cloud – the guidebook of Fail
Steve Poole
 
Mapping Life Science Informatics to the Cloud
Mapping Life Science Informatics to the CloudMapping Life Science Informatics to the Cloud
Mapping Life Science Informatics to the Cloud
Chris Dagdigian
 
Big Data! Great! Now What? #SymfonyCon 2014
Big Data! Great! Now What? #SymfonyCon 2014Big Data! Great! Now What? #SymfonyCon 2014
Big Data! Great! Now What? #SymfonyCon 2014
Ricard Clau
 
Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)
Brian Brazil
 
The 5 Minute MySQL DBA
The 5 Minute MySQL DBAThe 5 Minute MySQL DBA
The 5 Minute MySQL DBA
Irawan Soetomo
 
Dev/Test in the Cloud - F
Dev/Test in the Cloud - FDev/Test in the Cloud - F
Dev/Test in the Cloud - F
Chris Riley ☁
 
Real World Performance - OLTP
Real World Performance - OLTPReal World Performance - OLTP
Real World Performance - OLTP
Connor McDonald
 
Software Development Whats & Whys
Software Development Whats & Whys Software Development Whats & Whys
Software Development Whats & Whys
Harun Yardımcı
 
Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)
Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)
Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)
Bob Pusateri
 
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
BIWUG
 
Scaling apps for the big time
Scaling apps for the big timeScaling apps for the big time
Scaling apps for the big time
proitconsult
 
Dapper: the microORM that will change your life
Dapper: the microORM that will change your lifeDapper: the microORM that will change your life
Dapper: the microORM that will change your life
Davide Mauri
 
Putting Kafka Into Overdrive
Putting Kafka Into OverdrivePutting Kafka Into Overdrive
Putting Kafka Into Overdrive
Todd Palino
 
Serverless Toronto helps Startups
Serverless Toronto helps StartupsServerless Toronto helps Startups
Serverless Toronto helps Startups
Daniel Zivkovic
 
What ya gonna do?
What ya gonna do?What ya gonna do?
What ya gonna do?
CQD
 

Similar to SQL Server High Availability and DR - Too Many Choices! (20)

Scaling a High Traffic Web Application: Our Journey from Java to PHP
Scaling a High Traffic Web Application: Our Journey from Java to PHPScaling a High Traffic Web Application: Our Journey from Java to PHP
Scaling a High Traffic Web Application: Our Journey from Java to PHP
 
The Economies of Scaling Software
The Economies of Scaling SoftwareThe Economies of Scaling Software
The Economies of Scaling Software
 
The economies of scaling software - Abdel Remani
The economies of scaling software - Abdel RemaniThe economies of scaling software - Abdel Remani
The economies of scaling software - Abdel Remani
 
Mike walsh hadr_toomanychoices_20191107
Mike walsh hadr_toomanychoices_20191107Mike walsh hadr_toomanychoices_20191107
Mike walsh hadr_toomanychoices_20191107
 
Let's get along
Let's get alongLet's get along
Let's get along
 
Jax Devops 2017 Succeeding in the Cloud – the guidebook of Fail
Jax Devops 2017  Succeeding in the Cloud – the guidebook of FailJax Devops 2017  Succeeding in the Cloud – the guidebook of Fail
Jax Devops 2017 Succeeding in the Cloud – the guidebook of Fail
 
Mapping Life Science Informatics to the Cloud
Mapping Life Science Informatics to the CloudMapping Life Science Informatics to the Cloud
Mapping Life Science Informatics to the Cloud
 
Big Data! Great! Now What? #SymfonyCon 2014
Big Data! Great! Now What? #SymfonyCon 2014Big Data! Great! Now What? #SymfonyCon 2014
Big Data! Great! Now What? #SymfonyCon 2014
 
Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)
 
The 5 Minute MySQL DBA
The 5 Minute MySQL DBAThe 5 Minute MySQL DBA
The 5 Minute MySQL DBA
 
Dev/Test in the Cloud - F
Dev/Test in the Cloud - FDev/Test in the Cloud - F
Dev/Test in the Cloud - F
 
Real World Performance - OLTP
Real World Performance - OLTPReal World Performance - OLTP
Real World Performance - OLTP
 
Software Development Whats & Whys
Software Development Whats & Whys Software Development Whats & Whys
Software Development Whats & Whys
 
Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)
Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)
Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)
 
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
 
Scaling apps for the big time
Scaling apps for the big timeScaling apps for the big time
Scaling apps for the big time
 
Dapper: the microORM that will change your life
Dapper: the microORM that will change your lifeDapper: the microORM that will change your life
Dapper: the microORM that will change your life
 
Putting Kafka Into Overdrive
Putting Kafka Into OverdrivePutting Kafka Into Overdrive
Putting Kafka Into Overdrive
 
Serverless Toronto helps Startups
Serverless Toronto helps StartupsServerless Toronto helps Startups
Serverless Toronto helps Startups
 
What ya gonna do?
What ya gonna do?What ya gonna do?
What ya gonna do?
 

Recently uploaded

Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
Emerging Tech
 
July Patch Tuesday
July Patch TuesdayJuly Patch Tuesday
July Patch Tuesday
Ivanti
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Muhammad Ali
 
Amul milk launches in US: Key details of its new products ...
Amul milk launches in US: Key details of its new products ...Amul milk launches in US: Key details of its new products ...
Amul milk launches in US: Key details of its new products ...
chetankumar9855
 
(CISOPlatform Summit & SACON 2024) Digital Personal Data Protection Act.pdf
(CISOPlatform Summit & SACON 2024) Digital Personal Data Protection Act.pdf(CISOPlatform Summit & SACON 2024) Digital Personal Data Protection Act.pdf
(CISOPlatform Summit & SACON 2024) Digital Personal Data Protection Act.pdf
Priyanka Aash
 
IPLOOK Remote-Sensing Satellite Solution
IPLOOK Remote-Sensing Satellite SolutionIPLOOK Remote-Sensing Satellite Solution
IPLOOK Remote-Sensing Satellite Solution
IPLOOK Networks
 
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSECHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
kumarjarun2010
 
Salesforce AI & Einstein Copilot Workshop
Salesforce AI & Einstein Copilot WorkshopSalesforce AI & Einstein Copilot Workshop
Salesforce AI & Einstein Copilot Workshop
CEPTES Software Inc
 
The Role of Technology in Payroll Statutory Compliance (1).pdf
The Role of Technology in Payroll Statutory Compliance (1).pdfThe Role of Technology in Payroll Statutory Compliance (1).pdf
The Role of Technology in Payroll Statutory Compliance (1).pdf
paysquare consultancy
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
Yevgen Sysoyev
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
maigasapphire
 
Tirana Tech Meetup - Agentic RAG with Milvus, Llama3 and Ollama
Tirana Tech Meetup - Agentic RAG with Milvus, Llama3 and OllamaTirana Tech Meetup - Agentic RAG with Milvus, Llama3 and Ollama
Tirana Tech Meetup - Agentic RAG with Milvus, Llama3 and Ollama
Zilliz
 
Use Cases & Benefits of RPA in Manufacturing in 2024.pptx
Use Cases & Benefits of RPA in Manufacturing in 2024.pptxUse Cases & Benefits of RPA in Manufacturing in 2024.pptx
Use Cases & Benefits of RPA in Manufacturing in 2024.pptx
SynapseIndia
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
KAMAL CHOUDHARY
 
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
Edge AI and Vision Alliance
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
High Profile Girls call Service Pune 000XX00000 Provide Best And Top Girl Ser...
High Profile Girls call Service Pune 000XX00000 Provide Best And Top Girl Ser...High Profile Girls call Service Pune 000XX00000 Provide Best And Top Girl Ser...
High Profile Girls call Service Pune 000XX00000 Provide Best And Top Girl Ser...
bhumivarma35300
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 

Recently uploaded (20)

Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
 
July Patch Tuesday
July Patch TuesdayJuly Patch Tuesday
July Patch Tuesday
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
 
Amul milk launches in US: Key details of its new products ...
Amul milk launches in US: Key details of its new products ...Amul milk launches in US: Key details of its new products ...
Amul milk launches in US: Key details of its new products ...
 
(CISOPlatform Summit & SACON 2024) Digital Personal Data Protection Act.pdf
(CISOPlatform Summit & SACON 2024) Digital Personal Data Protection Act.pdf(CISOPlatform Summit & SACON 2024) Digital Personal Data Protection Act.pdf
(CISOPlatform Summit & SACON 2024) Digital Personal Data Protection Act.pdf
 
IPLOOK Remote-Sensing Satellite Solution
IPLOOK Remote-Sensing Satellite SolutionIPLOOK Remote-Sensing Satellite Solution
IPLOOK Remote-Sensing Satellite Solution
 
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSECHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
 
Salesforce AI & Einstein Copilot Workshop
Salesforce AI & Einstein Copilot WorkshopSalesforce AI & Einstein Copilot Workshop
Salesforce AI & Einstein Copilot Workshop
 
The Role of Technology in Payroll Statutory Compliance (1).pdf
The Role of Technology in Payroll Statutory Compliance (1).pdfThe Role of Technology in Payroll Statutory Compliance (1).pdf
The Role of Technology in Payroll Statutory Compliance (1).pdf
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
 
Tirana Tech Meetup - Agentic RAG with Milvus, Llama3 and Ollama
Tirana Tech Meetup - Agentic RAG with Milvus, Llama3 and OllamaTirana Tech Meetup - Agentic RAG with Milvus, Llama3 and Ollama
Tirana Tech Meetup - Agentic RAG with Milvus, Llama3 and Ollama
 
Use Cases & Benefits of RPA in Manufacturing in 2024.pptx
Use Cases & Benefits of RPA in Manufacturing in 2024.pptxUse Cases & Benefits of RPA in Manufacturing in 2024.pptx
Use Cases & Benefits of RPA in Manufacturing in 2024.pptx
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
 
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
High Profile Girls call Service Pune 000XX00000 Provide Best And Top Girl Ser...
High Profile Girls call Service Pune 000XX00000 Provide Best And Top Girl Ser...High Profile Girls call Service Pune 000XX00000 Provide Best And Top Girl Ser...
High Profile Girls call Service Pune 000XX00000 Provide Best And Top Girl Ser...
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 

SQL Server High Availability and DR - Too Many Choices!

  • 1. High Availability/DR: TOO MANY CHOICES!! Mike Walsh
  • 2. About Mike • Husband/Dad/Farmer • SQL Server MVP for 8 years • Consultant + Founder (Straight Path Solutions) • 20+ Years working with SQL Server • Blog at www.straightpathsql.com • Notes from today’s session is the current blog post. • E-mail me anytime: mike@straightpathsql.com
  • 4. Our Journey Today: The What • This is an Overview • We’ll talk about the various terms (HA/DR/RPO/RTO/SLA) • We’ll talk about the approaches available for HA/DR • We’ll talk a bit about the cloud • We’ll get into the pros and cons of the approaches • We’ll interact, I hope! • You’ll leave with a sense of direction • All Discussion/Interaction/PowerPoint
  • 5. Our Journey Today: The How/When • 20-30 Minutes of Slides • 20-30 Minutes of Q&A – ask me your questions. I’ll answer questions (hopefully!!) and take notes on the Q&A. • Leave. Go enjoy the raffles! • Blog Post: I’ll write up a blog post from the Q&A, include the slides, and the discussion points so you have a reference.
  • 6. Three Real Clients • FCI + AG + Lack of Best Practices = KABOOM! – on Tax Day!! • Ransomware… Highly Available Ransomware…. • 1,200 DBs heading to AWS. Only choice is lots of AGs, right? (no SAN, max DBs in an AG?)
  • 7. Some Definitions • Recovery Point Objective (RPO) – To what point can you recover? • Recovery Time Objective (RTO) – How long will you be down? • Service Level Agreement (SLA) – What did you promise? • SQL Server Instance – A single installation of SQL Server – what you connect to in SSMS. Your jobs, alerts, linked servers, logins, etc all live at the Instance level. • SQL Server Database – A single database on that instance.
  • 8. High Availability <> Disaster Recovery High Availability • Oh No!! • Server dies • Need to be up really fast typically. • Quite often folks want this automatically. Disaster Recovery • Oh $!%!@$ !!! • Data Center (or SAN or core network to data center/etc dies) • Typically, can have a bit more time (can still be quite fast) to come back. • Can be manual
  • 9. You Have to Talk… To The Business… Never let the business decide alone on your HA/DR solution, but never decide without them.
  • 10. Some Questions • How long can we be down for? • How much data can we lose? • (Those two questions are a battle of wits, for sure! Well wits and dollars. Fight it with the dollars angle) • What happens if we lose the primary data center? • What about everything else? • What about planned maintenance and patching? Is there a window for that? • Do we care about “C drive” protection?
  • 11. Technologies Available – The Many Choices… • In SQL: • Failover Cluster Instances • Availability Groups • Log Shipping • (Replication – but….) • Outside of SQL: • Fault Tolerant Hardware (but….) • VMWare/HyperV HA options • VMWare/HyperV DR options • Storage Replication • Tools like Azure Site Recovery • Platform as a Service Cloud offerings (RDS/Azure SQL/Azure SQL MI)
  • 12. Some Common Approaches Method HA DR Passive Patching/”C- Drive Protection?” Easy Failback L Log Shipping N Y Sort Of N $$ Always On Y Y Y Y $$$ (can now do Standard, but let’s chat caveats) Failover Cluster Instances Y With SIOS DK/S2D/Storage Replica it can Yes Very $$$ VMWare HA Y N (w/ third party offerings you can) No It Depends $$$ Third Party Tools (Zerto/Double Take/etc) N Y Sort Of Usually $$-$$$ Backup and Restore N Maybe – if your RTO supports it No No $
  • 13. Instance Level Protection vs DB Level Technologies which protect an entire instance (or server) protect everything on your instance. Your jobs, logins, all DBs (even new ones, out of the box), all protected. DB Level protection means you are only protecting the database(s)
  • 14. Failover Cluster INSTANCE • Instance Level Protection • Automatic Failover (really the only option out of the box) • Needs to either have shared storage (traditionally this was a hard and fast requirement) or the appearance of shared storage. • Typically was always in one data center, HA only, but now can stretch data centers, be SAN-less, have different IPs and even domainless. • I’m starting to lean here more these days again • SQL Server Standard – two node Single instance • SQL Server Enterprise – multi node – multi instance • Failover seamless to users
  • 15. Availability Groups • With SQL 2016+ now available in Standard (*****) • Database Level Protection (you are responsible for the logins, jobs, alerts, linked server, new DBs, etc – DBATools.IO is your friend here!!!) • Automatic Failover available for synchronous Ags • Can do asynchronous to cross data centers • Can be in different subnets • Can now stretch domains or even be domainless • AG Listener and seamless to users failover • Read Only workload and automatic routing of it
  • 16. Log Shipping • Seriously – a tried, trusted, and good DR option • Database level • Some manual work (or scriptable yourself lots of help on the web there for it) • It’s just log backup, copy, restore with norecovery or standby • Can sort of kind of maybe read off of the secondary • Great for migrations as well
  • 17. Speaking of Licenses • Disclaimer: I make no warranties in license conversations. The Microsoft licensing guide is a lot lake the iocane powder scene in the Princess Bride… Slightly less complicated than the tax code. • Enterprise vs Standard • Software Assurance for a “Free failover” • “Free failover” covers ONE Node. • If you are reading from it? You are licensing it. • Enterprise is $$$$
  • 18. Outside of SQL Server • HA/DR At the Virtualization Layer • In the Cloud • Combing technologies
  • 19. A Word on Backup and Recovery • Lots of great sessions here about this topic already. • The Short Story: • These technologies do not eliminate your need to backup. • These technologies do not eliminate your need to test your backups. • These technologies do not eliminate your need for Backups to be inaccessible to bad people! • These technologies do not eliminate your need to do Integrity Checks. • Backup is still your responsibility. • A Backup is still useless if you can’t restore it and haven’t tested, practiced and understood the restore process. • HA/DR will take a rogue update and make that rogue update highly available and fault tolerant!
  • 20. Now. Now You Talk to the Business • Take the questions and approaches above • Take the licensing information • Take your existing infrastructure and capabilities • Come up with a chart and give them options • Show them RPO/RTO comparisons • Show them Pricing comparisons • Maybe 3 tiers – Gold/Silver/Bronze • Maybe you have one of each to consolidate towards?
  • 21. Q&A / Interaction • I’ll write down notes from our conversation and have a blog post up by end of Tuesday with updates based on your questions. Straightpathsql.com/blog - I’ll tweet about it also – @mike_walsh. • What is on your mind? • Let’s get into challenges/questions/etc.
  • 22. Thanks!!! • mike@StraightPathSQL.com – open door policy. • Blog post from Q&A – www.StraightPathSQL.com/blog