Haute Disponibilité et Reprise sur Incidents
en SharePoint 2013 avec SQL Server
Always On Availability Groups
• #SPSParis ...
Merci aux sponsors!Platinum
Gold/
Or
Silver/
Argent
Organizers/
Organisateur
s
Thanks to our sponsors!
Raffle/
Tombola
10% de remise avec le code
SPSPa15
www.sharepointeurope.com
SharePoint Saturday Helsinki
Thank you to our sponsors!
ShareQL
5
Isabelle Van Campenhoudt
MVP SQL Server
TheSQLgrrrl.wordpress.com
Bruxelles
Serge Luca
MVP SharePoint
Sergeluca....
Isabelle Van Campenhoudt
Isabelle Van
Campenhoud
t
SQL Server MVP, Bruxelles
Consultant, speaker, trainer, PASS V-Chapter ...
Serge Luca
Serge Luca
SharePoint MVP, Bruxelles
Consultant, speaker, trainer
Managing partner de www.ShareQL.com
SharePoin...
Business Continuity - Concepts
SharePoint 2013 Architecture and Business Continuity
SharePoint 2013 and Business Continuit...
Start from the business
Good management practices, start from the
business
• Don’t reinvent the wheel:
• ISO 22301
• Compa...
IT Role
Prevent incidents
•Proactive Monitoring
•Staff organization
In case of incident
•HA (High Availability)
•DR (Disas...
Terminology
Service Level Agreement
HA DR RPO RTO
Requirements
Recovery Point Objective (RPO)
How much data can we afford to loose ?
Recovery Time Objective (RTO)
How long ...
Service Level Agreement (SLA)
Contracted delivery time
Availability% Stop/Year Stop/Month Stop / Week
99% 3.65 hours 7.20 ...
RPO/RTO versus Cost
RPO/RTO Cost
NH
HA DR
HA DR
A SharePoint farm is not alone…
Office Web
App farm
Wokflow
Manager
farm
SharePoint 2013
farm
SharePoint Farm
Site
collection
Sites
Listes
Web
applications
(= IIS web
sites)
Farm
Content
database
Configuration
Databa...
Server redundancy
• SharePoint, Office Web
App, Workflows, SQL
Services redundancy
• Services can be started
on several ma...
SharePoint patching and downtime
patches
preparation
Patching machine 1 machine 1 patched
Patching machine 2 Psconfig on m...
SharePoint machines active in 2 data centers
Unsupported unless
• latency between web front ends et SQL Server< 1 ms
• 10 ...
Ok only if the SharePoint farm is
Stopped (physically stop VMs and take DB backups)
Every machine has a config cache
Snaps...
SQL toolbox
Backup, Copy,
Restore
Log Shipping
Database
Mirroring
Always On
Failover Cluster
Instance
Always On
Availabili...
High Availability and Disaster Recovery
Potential
Data Loss
(RPO)
Potential
Recovery
Time (RTO)
Automatic
Failover
Readabl...
SQL Server AlwaysOn Availability Groups
Architecture
Pitfalls for Availability Groups
Installation
• File location
• Security
• AD permissions
• Network/DNS/MultiSubnet
Operat...
ALWAYS ON AVAILABILITY GROUPS
SharePoint and Always On Availability Groups
• HA : nodes update in sync mode
• DR : nodes update in async mode
2
situations :
• Secondary nodes can be read (licence!)...
Always On Availability & SharePoint
SQL 1
FARM 1
SQL 2
High
Availabilty
Synchronous
HA-Always On Availability Groups &
SharePoint
SQL 1
FARM 1
SQL 2
Synchronous
High
Availabilty
• SharePoint 2013 with SP1 and CU April 2014
• SQL alias & pointing to a SQL node
• Setup the farm /connected to alias (SP...
Nice to have: several Availability Groups
• 1 for content databases
• 1 for search databases
• 1 for other service
databas...
Database Support – Sync
Commit
Database Supported
Admin Content Yes
App Management Yes
BDC Yes
Config Yes
Content Yes
Mana...
SP HIGH AVAILABILITY
DR with Always On Availability Groups &
SharePoint
SQL 1
FARM 1
SQL 2
FARM 2
SQL 3
Asynchronous
Disaster
Recovery
Synchron...
Database Support – Async Commit
Database Supported
Admin Content No
App Management Yes
BDC Yes
Config No
Content Yes
Manag...
Install Farm number 1
• Connect it on AG
listener or on Node 1
Install Farm number 2
• Databases:
configuration,
central a...
Backup/Restore of the search
Service application
Impact on SLA !
• O365 search SLA = 1 week 
Search and DR
SHAREPOINT DISASTER RECOVERY
Conclusions
Define SLAs with the business
Major Role of SQL Server AOAG in HA/DR
HA = 1 SP farm SP, DR = 2 SP farms
• Sear...
Merci !
ivc@shareql.com
@thesqlgrrrl
sergeluca@shareql.com
@sergeluca
Thank you !
Merci !
Online evaluation form
Evaluations en ligne
http://tinyurl.com/SPSParis2015
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL
Prochain SlideShare
Chargement dans…5
×

haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL

352 vues

Publié le

Publié dans : Technologie
0 commentaire
1 j’aime
Statistiques
Remarques
  • Soyez le premier à commenter

Aucun téléchargement
Vues
Nombre de vues
352
Sur SlideShare
0
Issues des intégrations
0
Intégrations
1
Actions
Partages
0
Téléchargements
7
Commentaires
0
J’aime
1
Intégrations 0
Aucune incorporation

Aucune remarque pour cette diapositive
  • Template may not be modified
    Twitter hashtag: #spsparis for all sessions

    Keep the flags corresponding to your session
  • Rendre sexy
  • Office 365 norms 22301
  • Todo ajouter “prévenir”
  • + todo image rlo
  • Todo bombe
  • psconfig –cmd upgrade –inplace b2b –wait on all servers in parallel
  • isa
  • isa
  • haute Disponibilité et reprise sur incident dans SharePoint avec groupes de disponibilités SQL

    1. 1. 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
    2. 2. Merci aux sponsors!Platinum Gold/ Or Silver/ Argent Organizers/ Organisateur s Thanks to our sponsors! Raffle/ Tombola
    3. 3. 10% de remise avec le code SPSPa15 www.sharepointeurope.com
    4. 4. SharePoint Saturday Helsinki Thank you to our sponsors!
    5. 5. ShareQL 5 Isabelle Van Campenhoudt MVP SQL Server TheSQLgrrrl.wordpress.com Bruxelles Serge Luca MVP SharePoint Sergeluca.wordpress.com Bruxelles ShareQL.com
    6. 6. 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/ ivc@ShareQL.com @thesqlgrrrl Isabelle Van Campenhoudt 6 globalfrench.sqlpass.org
    7. 7. 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@ShareQL.com @SergeLuca Serge Luca
    8. 8. 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
    9. 9. 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
    10. 10. IT Role Prevent incidents •Proactive Monitoring •Staff organization In case of incident •HA (High Availability) •DR (Disaster Recovery)
    11. 11. Terminology Service Level Agreement HA DR RPO RTO
    12. 12. 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 RTO Example: RTO 1 hour RPO 3 hours “I wait max 1 hour I loose max 3 hours of data”
    13. 13. 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
    14. 14. RPO/RTO versus Cost RPO/RTO Cost NH
    15. 15. HA DR HA DR
    16. 16. A SharePoint farm is not alone… Office Web App farm Wokflow Manager farm SharePoint 2013 farm
    17. 17. SharePoint Farm Site collection Sites Listes Web applications (= IIS web sites) Farm Content database Configuration Database Service Application Service Databases
    18. 18. Server redundancy • SharePoint, Office Web App, Workflows, SQL Services redundancy • Services can be started on several machines • Different roles : search Architecture H-A (High Availability)
    19. 19. SharePoint patching and downtime patches preparation Patching machine 1 machine 1 patched Patching machine 2 Psconfig on machine 1 Psconfig on machine 2 How can we patch without downtime ?
    20. 20. 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
    21. 21. 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
    22. 22. SQL toolbox Backup, Copy, Restore Log Shipping Database Mirroring Always On Failover Cluster Instance Always On Availability Groups (AOAG)
    23. 23. 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
    24. 24. SQL Server AlwaysOn Availability Groups Architecture
    25. 25. Pitfalls for Availability Groups Installation • File location • Security • AD permissions • Network/DNS/MultiSubnet Operations • Backups & Logs • Logins synchronization • Patching
    26. 26. ALWAYS ON AVAILABILITY GROUPS
    27. 27. SharePoint and Always On Availability Groups
    28. 28. • 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 :
    29. 29. Always On Availability & SharePoint SQL 1 FARM 1 SQL 2 High Availabilty Synchronous
    30. 30. HA-Always On Availability Groups & SharePoint SQL 1 FARM 1 SQL 2 Synchronous High Availabilty
    31. 31. • 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 !
    32. 32. 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
    33. 33. 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
    34. 34. SP HIGH AVAILABILITY
    35. 35. DR with Always On Availability Groups & SharePoint SQL 1 FARM 1 SQL 2 FARM 2 SQL 3 Asynchronous Disaster Recovery Synchronous
    36. 36. 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
    37. 37. 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
    38. 38. Backup/Restore of the search Service application Impact on SLA ! • O365 search SLA = 1 week  Search and DR
    39. 39. SHAREPOINT DISASTER RECOVERY
    40. 40. 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
    41. 41. Merci ! ivc@shareql.com @thesqlgrrrl sergeluca@shareql.com @sergeluca
    42. 42. Thank you ! Merci ! Online evaluation form Evaluations en ligne http://tinyurl.com/SPSParis2015

    ×