SlideShare a Scribd company logo
1 of 31
SQL 2012 ALWAYSON AVAILABILITY
GROUPS FOR SHAREPOINT 2013
ByVlad Catrinescu
Thanks to our sponsors!
Vlad Catrinescu
Founder at www. SharePoint-Community.Net
SharePoint Consultant – Victrix, Montreal
Started working with SharePoint since 2009
MCITP: SharePoint 2010
MCSA : Windows Server 2012
Main Focus
• SharePoint Server
• PowerShell
• Disaster Recovery/High Availability
Contact
@vladcatrinescu
vladcatrinescu@hotmail.com
www.absolute-sharepoint.com
www.sharepoint-community.net
AGENDA
Some SQL History
High Availability
VS
Disaster Recovery
Availability Groups in
Details
SQL Server Availability
Groups
Prerequisites
Sample Topologies
DEMO
HIGH AVAILABILITY
VS
DISASTER RECOVERY
Anything and everything!
- Hardware: CPU, cards, memory, disk
-Software: OS, Services, Drivers, Updates
WHAT CAN FAIL?
HIGH AVAILABILITY
Software and
Hardware Failures
Very Local
Small outage
period.
DISASTER RECOVERY
 Natural or Human-induced Disaster
 Some Outage Acceptable to get
back running
 Needs an offsite Data Center
SOME SQL HISTORY
SQL Server
2000
• Log Shipping
• Failover Clustering
SQL Server
2005
• Database Mirroring
SQL Server
2008
• Improved DB Mirroring
SQL Server
2008 R2
• Improved DB Mirroring
SQL Server
2012
• Always On Availability Groups
SQL Server
2014
• ImprovedAlways On AG
DATABASE MIRRORING
Pros
• Database Stored on two different servers
• SharePoint 2010/2013 supports HA with
Mirroring
Cons
• Got to Backup/Restore
Databases Manually.
• Got to enter the server as
“Failover Database Server”
for every Database
• Database can only be stored
on two servers.
http://technet.microsoft.com/en-us/library/dd207314(v=office.14).aspx
http://blogs.technet.com/b/praveenh/archive/2010/12/29/sharepoint-2010-is-now-mirroring-
aware.aspx
FAILOVER CLUSTERING
PROS
• Connect to Cluster trough
Alias = Easy!
• Easy to setup Automatic
Failover
http://elementalsql.blogspot.ca/2010/02/creating-sql-server-2008-cluster-in.html
CONS
• Data Stored on only 1
Storage
• Disaster Recovery will only
depend on BackUps
• Required SAN Storage
SQL SERVER 2012 ALWAYS ON
AVAILABILITY GROUPS
• Database Stored on 2+ different servers
• Connect to Cluster trough Listener = Easy!
• No need for SAN storage (Not like SQL Cluster)
• Automatic failover
• More cool features we will see later!
Windows
Server
Failover
Cluster
Availability Group Listener
SQL-SP
Primary
Replica
Secondary
Replica
Secondary
Replica
SQL SERVER AVAILABILITY GROUPS
PREREQUISITES
LICENSING
Every Node needs to have aWindows Server Enterprise License
Supported in SQL Enterprise Edition
Only
You may not need to pay for ALL
your SQL Servers.
Talk to your Microsoft Sales Rep!
SOFTWARE
REQUIREMENTS
All nodes must be in the same AD domain.
All servers should be in a single windows cluster.
Install individual SQL servers on each machines, not cluster aware.
HARDWARE
REQUIREMENTS
Minimum Hardware Requirements for SQL Server 2012
Matching Hardware between nodes NOT Required
Same Drive Letters on all Nodes otherwise you will have errors!
DATABASE
REQUIREMENTS
Database needs to be in FULL Recovery Mode
Database needs to have at least ONE Full Backup
You need at least one DB that meets those requirements to create your
Availability Group (Can be a dummy DB)
AVAILABILITY GROUPS IN
DETAILS
COOL NEW FEATURES
Read only secondary replicas.
Backups can occur on the replica databases.
Automatic Failover and ZERO Data Loss.
Synchronous AND Asynchronous mode in the same AG
Not Limited to only 2 nodes
AVAILABILITY MODES
Synchronous-commit
 Under synchronous-commit mode,
before committing transactions, a
synchronous-commit primary replica
waits for a synchronous-commit
secondary replica to acknowledge
that it has finished hardening the log.
 Zero Potential Data Loss
 Supports ALL SharePoint Databases
 Requires Conectivity of 1Gb or greater
& latency no more than 10ms
 Useful for High Availability
Asynchronous-commit
 Under asynchronous-commit
mode, the primary replica commits
transactions without waiting for
acknowledgement that an
asynchronous-commit secondary
replica has hardened the log.
 A few seconds of Potential Data Loss
 Supports Content Databases
 Works across WAN links!
 Useful for Disaster Recovery
You can have BOTH of them in the same topology
LIMITATIONS AND CONSIDERATIONS
Synchronous Commit – up to 2 mirrored replicas.
Asynchronous Commit – up to 4 mirrored replicas.
Read only secondary replicas & Backup on Secondary
Replicas = Additional License Costs.
Readable secondary replicas are currently not supported
for SharePoint 2013 runtime usage.
SAMPLE TOPLOGIES
HIGH AVAILABILITY
AG_Listener
Primary SQL Replica1
Synchronous
Protects you Against:
-Software Failures
-Hardware Failures (unless they’re all on same HOST)
-Synchronous Mode = Zero Data Loss and very little
downtime.
Doesn’t Protect you Against:
-Large Scale Disaster
DISASTER RECOVERY
AG_Listener
Primary SQL Replica1 DR Replica
Asynchronous
HA & DISASTER RECOVERY
AG_Listener
Primary SQL Replica1
Toronto
Montreal
DR Replica
Synchronous Asynchronous
DEMO
DEMO
 1. Create aWindows Server Cluster
 2. Enable the AlwaysOn SQL Feature
 3. Create an Availability Group & Listener
 4. Install SharePoint 2013 in that AG
 5. Simulate a Disaster!
SESSION SUMMARY
 SQL 2012 AlwaysOn Availability Groups are the new preferred design option for
HA and DR at the data tier level!
 Make sure you Understand Licensing and Limitations
 Disasters Can Happen at AnyTime. Be prepared!
 If you use Synchronous Mode, Make sure the replicas are close and have a High
Bandwith Connection between them!
Join our local users
groups
Toronto SharePoint Users Group
http://www.meetup.com/TorontoSPUG/
Toronto SharePoint Business Users Group
http://www.meetup.com/TSPBUG/
THANKS FOR ATTENDING!
Questions?
Vlad Catrinescu
@vladcatrinescu
vladcatrinescu@hotmail.com
www.sharepoint-community.net
www.absolute-sharepoint.com

More Related Content

More from Vlad Catrinescu

SharePoint Saturday New York: PowerShell for Office 365
SharePoint Saturday New York: PowerShell for Office 365SharePoint Saturday New York: PowerShell for Office 365
SharePoint Saturday New York: PowerShell for Office 365Vlad Catrinescu
 
SharePoint Saturday Warsaw: Seek a Modern and Intelligent Foundation for your...
SharePoint Saturday Warsaw: Seek a Modern and Intelligent Foundation for your...SharePoint Saturday Warsaw: Seek a Modern and Intelligent Foundation for your...
SharePoint Saturday Warsaw: Seek a Modern and Intelligent Foundation for your...Vlad Catrinescu
 
aOS Canadian Tour 2017 - Toronto- What do YOU get from SharePoint Hybrid?
aOS Canadian Tour 2017 - Toronto-   What do YOU get from SharePoint Hybrid?aOS Canadian Tour 2017 - Toronto-   What do YOU get from SharePoint Hybrid?
aOS Canadian Tour 2017 - Toronto- What do YOU get from SharePoint Hybrid?Vlad Catrinescu
 
Tournee Canadienne aOS - Quebec - Qu'est-ce que VOUS obtenez d'un environneme...
Tournee Canadienne aOS - Quebec - Qu'est-ce que VOUS obtenez d'un environneme...Tournee Canadienne aOS - Quebec - Qu'est-ce que VOUS obtenez d'un environneme...
Tournee Canadienne aOS - Quebec - Qu'est-ce que VOUS obtenez d'un environneme...Vlad Catrinescu
 
aOS Canadian Tour 2017 - Ottawa - What do YOU get from SharePoint Hybrid?
aOS Canadian Tour 2017 - Ottawa -   What do YOU get from SharePoint Hybrid?aOS Canadian Tour 2017 - Ottawa -   What do YOU get from SharePoint Hybrid?
aOS Canadian Tour 2017 - Ottawa - What do YOU get from SharePoint Hybrid?Vlad Catrinescu
 
Tournee Canadienne aOS - Montreal - Qu'est-ce que VOUS obtenez d'un environn...
Tournee Canadienne aOS - Montreal  - Qu'est-ce que VOUS obtenez d'un environn...Tournee Canadienne aOS - Montreal  - Qu'est-ce que VOUS obtenez d'un environn...
Tournee Canadienne aOS - Montreal - Qu'est-ce que VOUS obtenez d'un environn...Vlad Catrinescu
 
SharePoint 2016 : C’est quoi les nouveautés?
SharePoint 2016 : C’est quoi les nouveautés?SharePoint 2016 : C’est quoi les nouveautés?
SharePoint 2016 : C’est quoi les nouveautés?Vlad Catrinescu
 
Data Loss Prevention in SharePoint 2016 Webinar with Crow Canyon
Data Loss Prevention in SharePoint 2016 Webinar with Crow CanyonData Loss Prevention in SharePoint 2016 Webinar with Crow Canyon
Data Loss Prevention in SharePoint 2016 Webinar with Crow CanyonVlad Catrinescu
 
What's new in SharePoint 2016 for IT Professionals Webinar with CrowCanyon
What's new in SharePoint 2016 for IT Professionals Webinar with CrowCanyonWhat's new in SharePoint 2016 for IT Professionals Webinar with CrowCanyon
What's new in SharePoint 2016 for IT Professionals Webinar with CrowCanyonVlad Catrinescu
 
What's New in SharePoint 2016 for End Users Webinar with Intlock
What's New in SharePoint 2016 for End Users Webinar with IntlockWhat's New in SharePoint 2016 for End Users Webinar with Intlock
What's New in SharePoint 2016 for End Users Webinar with IntlockVlad Catrinescu
 
Collab365: What's new in SharePoint 2016 for IT Pros
Collab365: What's new in SharePoint 2016 for IT ProsCollab365: What's new in SharePoint 2016 for IT Pros
Collab365: What's new in SharePoint 2016 for IT ProsVlad Catrinescu
 
Collab365: PowerShell for Office 365
Collab365: PowerShell for Office 365Collab365: PowerShell for Office 365
Collab365: PowerShell for Office 365Vlad Catrinescu
 
SQL 2014 Availability Groups for SharePoint
SQL 2014 Availability Groups for SharePointSQL 2014 Availability Groups for SharePoint
SQL 2014 Availability Groups for SharePointVlad Catrinescu
 
SharePoint Saturday Ottawa- Automate your Deployments with TFS and Build Server
SharePoint Saturday Ottawa- Automate your Deployments with TFS and Build ServerSharePoint Saturday Ottawa- Automate your Deployments with TFS and Build Server
SharePoint Saturday Ottawa- Automate your Deployments with TFS and Build ServerVlad Catrinescu
 
SharePoint Saturday Albany 2014 - The Fantastic 4 of Communication and Collab...
SharePoint Saturday Albany 2014 - The Fantastic 4 of Communication and Collab...SharePoint Saturday Albany 2014 - The Fantastic 4 of Communication and Collab...
SharePoint Saturday Albany 2014 - The Fantastic 4 of Communication and Collab...Vlad Catrinescu
 
Lync, Exchange, Sharepoint and Office Web Apps, the Fantastic 4 of Communi...
Lync, Exchange, Sharepoint  and Office Web Apps, the  Fantastic 4 of  Communi...Lync, Exchange, Sharepoint  and Office Web Apps, the  Fantastic 4 of  Communi...
Lync, Exchange, Sharepoint and Office Web Apps, the Fantastic 4 of Communi...Vlad Catrinescu
 

More from Vlad Catrinescu (16)

SharePoint Saturday New York: PowerShell for Office 365
SharePoint Saturday New York: PowerShell for Office 365SharePoint Saturday New York: PowerShell for Office 365
SharePoint Saturday New York: PowerShell for Office 365
 
SharePoint Saturday Warsaw: Seek a Modern and Intelligent Foundation for your...
SharePoint Saturday Warsaw: Seek a Modern and Intelligent Foundation for your...SharePoint Saturday Warsaw: Seek a Modern and Intelligent Foundation for your...
SharePoint Saturday Warsaw: Seek a Modern and Intelligent Foundation for your...
 
aOS Canadian Tour 2017 - Toronto- What do YOU get from SharePoint Hybrid?
aOS Canadian Tour 2017 - Toronto-   What do YOU get from SharePoint Hybrid?aOS Canadian Tour 2017 - Toronto-   What do YOU get from SharePoint Hybrid?
aOS Canadian Tour 2017 - Toronto- What do YOU get from SharePoint Hybrid?
 
Tournee Canadienne aOS - Quebec - Qu'est-ce que VOUS obtenez d'un environneme...
Tournee Canadienne aOS - Quebec - Qu'est-ce que VOUS obtenez d'un environneme...Tournee Canadienne aOS - Quebec - Qu'est-ce que VOUS obtenez d'un environneme...
Tournee Canadienne aOS - Quebec - Qu'est-ce que VOUS obtenez d'un environneme...
 
aOS Canadian Tour 2017 - Ottawa - What do YOU get from SharePoint Hybrid?
aOS Canadian Tour 2017 - Ottawa -   What do YOU get from SharePoint Hybrid?aOS Canadian Tour 2017 - Ottawa -   What do YOU get from SharePoint Hybrid?
aOS Canadian Tour 2017 - Ottawa - What do YOU get from SharePoint Hybrid?
 
Tournee Canadienne aOS - Montreal - Qu'est-ce que VOUS obtenez d'un environn...
Tournee Canadienne aOS - Montreal  - Qu'est-ce que VOUS obtenez d'un environn...Tournee Canadienne aOS - Montreal  - Qu'est-ce que VOUS obtenez d'un environn...
Tournee Canadienne aOS - Montreal - Qu'est-ce que VOUS obtenez d'un environn...
 
SharePoint 2016 : C’est quoi les nouveautés?
SharePoint 2016 : C’est quoi les nouveautés?SharePoint 2016 : C’est quoi les nouveautés?
SharePoint 2016 : C’est quoi les nouveautés?
 
Data Loss Prevention in SharePoint 2016 Webinar with Crow Canyon
Data Loss Prevention in SharePoint 2016 Webinar with Crow CanyonData Loss Prevention in SharePoint 2016 Webinar with Crow Canyon
Data Loss Prevention in SharePoint 2016 Webinar with Crow Canyon
 
What's new in SharePoint 2016 for IT Professionals Webinar with CrowCanyon
What's new in SharePoint 2016 for IT Professionals Webinar with CrowCanyonWhat's new in SharePoint 2016 for IT Professionals Webinar with CrowCanyon
What's new in SharePoint 2016 for IT Professionals Webinar with CrowCanyon
 
What's New in SharePoint 2016 for End Users Webinar with Intlock
What's New in SharePoint 2016 for End Users Webinar with IntlockWhat's New in SharePoint 2016 for End Users Webinar with Intlock
What's New in SharePoint 2016 for End Users Webinar with Intlock
 
Collab365: What's new in SharePoint 2016 for IT Pros
Collab365: What's new in SharePoint 2016 for IT ProsCollab365: What's new in SharePoint 2016 for IT Pros
Collab365: What's new in SharePoint 2016 for IT Pros
 
Collab365: PowerShell for Office 365
Collab365: PowerShell for Office 365Collab365: PowerShell for Office 365
Collab365: PowerShell for Office 365
 
SQL 2014 Availability Groups for SharePoint
SQL 2014 Availability Groups for SharePointSQL 2014 Availability Groups for SharePoint
SQL 2014 Availability Groups for SharePoint
 
SharePoint Saturday Ottawa- Automate your Deployments with TFS and Build Server
SharePoint Saturday Ottawa- Automate your Deployments with TFS and Build ServerSharePoint Saturday Ottawa- Automate your Deployments with TFS and Build Server
SharePoint Saturday Ottawa- Automate your Deployments with TFS and Build Server
 
SharePoint Saturday Albany 2014 - The Fantastic 4 of Communication and Collab...
SharePoint Saturday Albany 2014 - The Fantastic 4 of Communication and Collab...SharePoint Saturday Albany 2014 - The Fantastic 4 of Communication and Collab...
SharePoint Saturday Albany 2014 - The Fantastic 4 of Communication and Collab...
 
Lync, Exchange, Sharepoint and Office Web Apps, the Fantastic 4 of Communi...
Lync, Exchange, Sharepoint  and Office Web Apps, the  Fantastic 4 of  Communi...Lync, Exchange, Sharepoint  and Office Web Apps, the  Fantastic 4 of  Communi...
Lync, Exchange, Sharepoint and Office Web Apps, the Fantastic 4 of Communi...
 

Recently uploaded

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

SharePoint Saturday Toronto 2013 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2013

  • 1. SQL 2012 ALWAYSON AVAILABILITY GROUPS FOR SHAREPOINT 2013 ByVlad Catrinescu
  • 2. Thanks to our sponsors!
  • 3. Vlad Catrinescu Founder at www. SharePoint-Community.Net SharePoint Consultant – Victrix, Montreal Started working with SharePoint since 2009 MCITP: SharePoint 2010 MCSA : Windows Server 2012 Main Focus • SharePoint Server • PowerShell • Disaster Recovery/High Availability Contact @vladcatrinescu vladcatrinescu@hotmail.com www.absolute-sharepoint.com www.sharepoint-community.net
  • 4. AGENDA Some SQL History High Availability VS Disaster Recovery Availability Groups in Details SQL Server Availability Groups Prerequisites Sample Topologies DEMO
  • 6. Anything and everything! - Hardware: CPU, cards, memory, disk -Software: OS, Services, Drivers, Updates WHAT CAN FAIL?
  • 7. HIGH AVAILABILITY Software and Hardware Failures Very Local Small outage period.
  • 8. DISASTER RECOVERY  Natural or Human-induced Disaster  Some Outage Acceptable to get back running  Needs an offsite Data Center
  • 10. SQL Server 2000 • Log Shipping • Failover Clustering SQL Server 2005 • Database Mirroring SQL Server 2008 • Improved DB Mirroring SQL Server 2008 R2 • Improved DB Mirroring SQL Server 2012 • Always On Availability Groups SQL Server 2014 • ImprovedAlways On AG
  • 11. DATABASE MIRRORING Pros • Database Stored on two different servers • SharePoint 2010/2013 supports HA with Mirroring Cons • Got to Backup/Restore Databases Manually. • Got to enter the server as “Failover Database Server” for every Database • Database can only be stored on two servers. http://technet.microsoft.com/en-us/library/dd207314(v=office.14).aspx http://blogs.technet.com/b/praveenh/archive/2010/12/29/sharepoint-2010-is-now-mirroring- aware.aspx
  • 12. FAILOVER CLUSTERING PROS • Connect to Cluster trough Alias = Easy! • Easy to setup Automatic Failover http://elementalsql.blogspot.ca/2010/02/creating-sql-server-2008-cluster-in.html CONS • Data Stored on only 1 Storage • Disaster Recovery will only depend on BackUps • Required SAN Storage
  • 13. SQL SERVER 2012 ALWAYS ON AVAILABILITY GROUPS • Database Stored on 2+ different servers • Connect to Cluster trough Listener = Easy! • No need for SAN storage (Not like SQL Cluster) • Automatic failover • More cool features we will see later! Windows Server Failover Cluster Availability Group Listener SQL-SP Primary Replica Secondary Replica Secondary Replica
  • 14. SQL SERVER AVAILABILITY GROUPS PREREQUISITES
  • 15. LICENSING Every Node needs to have aWindows Server Enterprise License Supported in SQL Enterprise Edition Only You may not need to pay for ALL your SQL Servers. Talk to your Microsoft Sales Rep!
  • 16. SOFTWARE REQUIREMENTS All nodes must be in the same AD domain. All servers should be in a single windows cluster. Install individual SQL servers on each machines, not cluster aware.
  • 17. HARDWARE REQUIREMENTS Minimum Hardware Requirements for SQL Server 2012 Matching Hardware between nodes NOT Required Same Drive Letters on all Nodes otherwise you will have errors!
  • 18. DATABASE REQUIREMENTS Database needs to be in FULL Recovery Mode Database needs to have at least ONE Full Backup You need at least one DB that meets those requirements to create your Availability Group (Can be a dummy DB)
  • 20. COOL NEW FEATURES Read only secondary replicas. Backups can occur on the replica databases. Automatic Failover and ZERO Data Loss. Synchronous AND Asynchronous mode in the same AG Not Limited to only 2 nodes
  • 21. AVAILABILITY MODES Synchronous-commit  Under synchronous-commit mode, before committing transactions, a synchronous-commit primary replica waits for a synchronous-commit secondary replica to acknowledge that it has finished hardening the log.  Zero Potential Data Loss  Supports ALL SharePoint Databases  Requires Conectivity of 1Gb or greater & latency no more than 10ms  Useful for High Availability Asynchronous-commit  Under asynchronous-commit mode, the primary replica commits transactions without waiting for acknowledgement that an asynchronous-commit secondary replica has hardened the log.  A few seconds of Potential Data Loss  Supports Content Databases  Works across WAN links!  Useful for Disaster Recovery You can have BOTH of them in the same topology
  • 22. LIMITATIONS AND CONSIDERATIONS Synchronous Commit – up to 2 mirrored replicas. Asynchronous Commit – up to 4 mirrored replicas. Read only secondary replicas & Backup on Secondary Replicas = Additional License Costs. Readable secondary replicas are currently not supported for SharePoint 2013 runtime usage.
  • 24. HIGH AVAILABILITY AG_Listener Primary SQL Replica1 Synchronous Protects you Against: -Software Failures -Hardware Failures (unless they’re all on same HOST) -Synchronous Mode = Zero Data Loss and very little downtime. Doesn’t Protect you Against: -Large Scale Disaster
  • 25. DISASTER RECOVERY AG_Listener Primary SQL Replica1 DR Replica Asynchronous
  • 26. HA & DISASTER RECOVERY AG_Listener Primary SQL Replica1 Toronto Montreal DR Replica Synchronous Asynchronous
  • 27. DEMO
  • 28. DEMO  1. Create aWindows Server Cluster  2. Enable the AlwaysOn SQL Feature  3. Create an Availability Group & Listener  4. Install SharePoint 2013 in that AG  5. Simulate a Disaster!
  • 29. SESSION SUMMARY  SQL 2012 AlwaysOn Availability Groups are the new preferred design option for HA and DR at the data tier level!  Make sure you Understand Licensing and Limitations  Disasters Can Happen at AnyTime. Be prepared!  If you use Synchronous Mode, Make sure the replicas are close and have a High Bandwith Connection between them!
  • 30. Join our local users groups Toronto SharePoint Users Group http://www.meetup.com/TorontoSPUG/ Toronto SharePoint Business Users Group http://www.meetup.com/TSPBUG/
  • 31. THANKS FOR ATTENDING! Questions? Vlad Catrinescu @vladcatrinescu vladcatrinescu@hotmail.com www.sharepoint-community.net www.absolute-sharepoint.com

Editor's Notes

  1. High Availabilityminimize the probability of a failuremore local in nature and generally tolerate smaller amounts of data loss and downtime
  2. Disaster Recovery restoring operational service after a failurea catastrophic event occurs and an extended outage is necessary to get back and running
  3. SQL 2000 Log ShippingFailover ClusteringSQL 2005Database MirroringSQL 2008Improved DB MirroringSQL 2008R2Improved DB MirroringSQL 2012Always On Availability GroupsSQL Server 2014Improved Always On AG
  4. Under synchronous-commit mode, before committing transactions, a synchronous-commit primary replica waits for a synchronous-commit secondary replica to acknowledge that it has finished hardening the log.ZeroPotential Data LossRequires Conectivity of 1Gb or greater & latency no more than 10msUseful for HighAvailabilityUnder asynchronous-commit mode, the primary replica commits transactions withoutwaiting for acknowledgement that an asynchronous-commit secondary replica has hardened the log. A fewsecondsof Potential Data LossWorks across WAN links!Useful for Disaster Recovery