![Page 1: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/1.jpg)
Haute Disponibilité et Reprise sur Incidents en SharePoint 2013 avec SQL Server Always On Availability Groups• #SPSParis E04
• Serge Luca & Isabelle Van Campenhoudt
• 30 Mai 2015 / May 30th, 2015
![Page 2: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/2.jpg)
Merci aux sponsors!Platinum
Gold
/
Or
Silver
/
Arg
en
t
Org
an
izers
/
Org
an
isate
ur
s
Thanks to our sponsors!
Raff
le/
Tom
bo
la
![Page 4: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/4.jpg)
SharePoint Saturday Helsinki
Thank you to our sponsors!
![Page 5: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/5.jpg)
ShareQL
5
Isabelle Van Campenhoudt
MVP SQL ServerTheSQLgrrrl.wordpress.com
Bruxelles
Serge Luca
MVP SharePointSergeluca.wordpress.com
Bruxelles
ShareQL.com
![Page 6: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/6.jpg)
Isabelle Van Campenhoudt
Isabelle Van
Campenhoud
t
SQL Server MVP, Bruxelles
Consultant, speaker, trainer, PASS V-Chapter Leader
Managing partner de www.ShareQL.com
SQL Server depuis 1999
Blog: http://thesqlgrrrl.wordpress.com/
@thesqlgrrrl
Isabelle Van Campenhoudt
6
globalfrench.sqlpass.org
![Page 7: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/7.jpg)
Serge Luca
Serge Luca
SharePoint MVP, Bruxelles
Consultant, speaker, trainer
Managing partner de www.ShareQL.com
SharePoint since 2001
Blog: http://sergeluca.wordpress.com/
@SergeLuca
Serge Luca
![Page 8: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/8.jpg)
![Page 9: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/9.jpg)
Business Continuity - Concepts
SharePoint 2013 Architecture and Business Continuity
SharePoint 2013 and Business Continuity
SQL Server and Always On Availability Groups
SharePoint 2013 and Always On Availability Groups
Conclusions – Q&A
Agenda
![Page 10: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/10.jpg)
![Page 11: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/11.jpg)
Start from the business
Good management practices, start from the
business
• Don’t reinvent the wheel:
• ISO 22301
• Compatible with :
• ISO 9001 (quality)
• ISO 27001 (security)
• http://www.iso.org/iso/fr/news.htm?refid=Ref1602
![Page 12: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/12.jpg)
IT Role
Prevent incidents
•Proactive Monitoring
•Staff organization
In case of incident
•HA (High Availability)
•DR (Disaster Recovery)
![Page 13: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/13.jpg)
Terminology
Service Level Agreement
HA DR RPO RTO
![Page 14: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/14.jpg)
Requirements
Recovery Point Objective (RPO)How much data can we afford to loose ?
Recovery Time Objective (RTO)How long can we afford to wait ?
RPO RTOExample:
RTO 1 hour
RPO 3 hours
“I wait max 1 hour
I loose max 3 hours of data”
![Page 15: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/15.jpg)
Service Level Agreement (SLA)
Contracted delivery time
Availability% Stop/Year Stop/Month Stop / Week
99% 3.65 hours 7.20 hours 1.68 hours
99.9% 8.76 hours 43.20 minutes 10.10 minutes
99.99% 52.56 minutes 4.32 minutes 1.01 minutes
99.999% 5.26 minutes 25.90 seconds 6.05 seconds
99.9999% 31.50 seconds 2.59 seconds 0.61 seconds
![Page 16: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/16.jpg)
RPO/RTO versus Cost
RPO/RTO Cost
NH
![Page 17: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/17.jpg)
HA DR
HA DR
![Page 18: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/18.jpg)
![Page 19: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/19.jpg)
A SharePoint farm is not alone…
Office Web
App farm
Wokflow
Manager
farm
SharePoint 2013
farm
![Page 20: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/20.jpg)
SharePoint Farm
Site collection
Sites
Listes
Web applications (= IIS web sites)
Farm
Content database
Configuration Database
Service Application
Service Databases
![Page 21: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/21.jpg)
![Page 22: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/22.jpg)
Server redundancy
• SharePoint, Office Web App, Workflows, SQL
Services redundancy
• Services can be startedon several machines
• Different roles : search
Architecture H-A (High Availability)
![Page 23: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/23.jpg)
SharePoint patching and downtimepatches
preparationPatching machine 1 machine 1 patched
Patching machine 2 Psconfig on machine 1 Psconfig on machine 2
How can we patch
without
downtime ?
![Page 24: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/24.jpg)
SharePoint machines active in 2 data centers
Unsupported unless
• latency between web front ends et SQL Server< 1 ms
• 10 minutes
• 99.9 %
• Network > 1 Gbits /sec
DANGER : Stretched Farm
![Page 25: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/25.jpg)
Ok only if the SharePoint farm is Stopped (physically stop VMs and take DB backups)
Every machine has a config cache
Snapshot is not atomic
Danger : VMs Snaphots
![Page 26: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/26.jpg)
![Page 27: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/27.jpg)
SQL toolbox
Backup, Copy, Restore
Log ShippingDatabase Mirroring
Always On Failover Cluster
Instance
Always On
Availability Groups (AOAG)
![Page 28: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/28.jpg)
High Availability and Disaster Recovery
Potential
Data Loss
(RPO)
Potential
Recovery
Time (RTO)
Automatic
Failover
Readable
Secondaries
Backup, Copy, Restore hours
hours -to-
days No
Not during a
restore
Log Shipping Minutes
Minutes-to-
hours No
Not during a
restore
Database Mirroring - High-safety (sync + witness) Zero seconds Yes NA
Database Mirroring - High-performance (async) seconds Minutes No NA
Always On Failover Cluster Instance NA
seconds to
minutes Yes NA
Always On Availability Groups - synchronous-
commit Zero seconds Yes 0 – 3
Always On Availability Groups - asynchronous-
commit seconds Minutes No 0 - 8
Comparison Always On and other SQL Servers HA & DR
![Page 29: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/29.jpg)
![Page 30: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/30.jpg)
SQL Server AlwaysOn Availability Groups
Architecture
![Page 31: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/31.jpg)
Pitfalls for Availability Groups
Installation
• File location
• Security
• AD permissions
• Network/DNS/MultiSubnet
Operations
• Backups & Logs
• Logins synchronization
• Patching
![Page 32: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/32.jpg)
ALWAYS ON AVAILABILITY GROUPS
![Page 33: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/33.jpg)
![Page 34: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/34.jpg)
SharePoint and Always On Availability Groups
![Page 35: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/35.jpg)
• HA : nodes update in sync mode
• DR : nodes update in async mode
2 situations :
• Secondary nodes can be read (licence!)
• And used for backups..
• Switch very fast
• Switch logic based on quorum in the Cluster
Other benefits :
![Page 36: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/36.jpg)
Always On Availability & SharePoint
SQL 1
FARM 1
SQL 2
High
Availabilty
Synchronous
![Page 37: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/37.jpg)
HA-Always On Availability Groups &
SharePoint
SQL 1
FARM 1
SQL 2
Synchronous
High
Availabilty
![Page 38: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/38.jpg)
• SharePoint 2013 with SP1 and CU April 2014
• SQL alias & pointing to a SQL node
• Setup the farm /connected to alias (SPAutoInstaller)Install the SharePoint farm
• Recovery mode to “full” for databases to be sync
• Usage database: NO
• SharePoint databases Full Backup
• !!! In Test take log backups
Configure SharePoint SharePoint for Always On AG
• Create Windows Cluster and add every SQL Node
• Create 1 or n Always On AG & Add SharePoint DB
• Create the listener
• Copy SP logins & permissions and other server objects on every node
Configure SQL Server Cluster
& Always On
• Test failover with SharePointTest
How to HA with AOAG
Everything can
easily be scripted !
![Page 39: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/39.jpg)
Nice to have: several Availability Groups
• 1 for content databases
• 1 for search databases
• 1 for other service
databases
• 1 for other SharePoint
(Config, Central Admin)
several
availability
groups
![Page 40: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/40.jpg)
Database Support – Sync
Commit
Database Supported
Admin Content Yes
App Management Yes
BDC Yes
Config Yes
Content Yes
Managed Metadata Yes
PerformancePoint Yes
PowerPivot Not Tested
Project Yes
Search Analytic Reporting Yes
Search Admin Yes
Database Supported
Search Crawl Yes
Search Links Yes
Secure Store Yes
State Service Yes
Subscription Settings Yes
Translation Services Yes
UPA Profile Yes
UPA Social Yes
UPA Sync Yes
Usage(=loggingDB) Yes – NR
Word Automation Yes
WE
![Page 41: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/41.jpg)
SP HIGH AVAILABILITY
![Page 42: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/42.jpg)
DR with Always On Availability Groups &
SharePoint
SQL 1
FARM 1
SQL 2
FARM 2
SQL 3
Asynchronous
Disaster
Recovery
Synchronous
![Page 43: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/43.jpg)
Database Support – Async Commit
Database Supported
Admin Content No
App Management Yes
BDC Yes
Config No
Content Yes
Managed Metadata Yes
PerformancePoint Yes
PowerPivot Not Tested*
Project Yes
Search Analytic Reporting No
Search Admin No
Database Supported
Search Crawl No
Search Links No
Secure Store Yes
State Service No
Subscription Settings Yes
Translation Services Yes
UPA Profile Yes
UPA Social Yes
UPA Sync No
Usage Yes – NR
Word Automation Yes
WE
![Page 44: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/44.jpg)
Install Farm number 1
• Connect it on AG listener or on Node 1
Install Farm number 2
• Databases: configuration, central admin, search, user profile sync on node 2
• Other databases (content and services) come from farm 1
How to setup DR with 2 farms
![Page 45: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/45.jpg)
Backup/Restore of the search Service application
Impact on SLA !
• O365 search SLA = 1 week
Search and DR
![Page 46: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/46.jpg)
SHAREPOINT DISASTER RECOVERY
![Page 47: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/47.jpg)
![Page 48: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/48.jpg)
Conclusions
Define SLAs with the business
Major Role of SQL Server AOAG in HA/DR
HA = 1 SP farm SP, DR = 2 SP farms
• Search limitation !!!
SP farm + Workflow farm + Office Web App farm
![Page 50: Haute Disponibilité et Reprise sur Incidents en SharePoint ... … · SharePoint 2013 Architecture and Business Continuity SharePoint 2013 and Business Continuity SQL Server and](https://reader033.vdocument.in/reader033/viewer/2022060509/5f24d87b2f82cc52805b85aa/html5/thumbnails/50.jpg)
Thank you !
Merci !
Online evaluation formEvaluations en ligne
http://tinyurl.com/SPSParis2015