SQL Server 2016
SharePoint 2016
Better together
Lars Platzdasch
Sprecher:
Lars Platzdasch
Twitter
LarsPlatzdasch
Xing
/Lars_Platzdasch
LinkedIn
Larsplatzdasch
Web
www.platzdasch.de
www.3perspektiven.de
Microsoft Certified Solutions Expert: SQL Server Data Platform
Microsoft Certified Solutions Expert: SharePoint
Microsoft Certified IT Professional: SharePoint 2010, Administrator
Microsoft Certified IT Professional: SharePoint 2010, Developer
Microsoft Certified Application Developer: .NET
platzdasch netConsult GmbH & Co. KG | ISV
24/7 Support für SQL / SharePoint
3 Perspektiven GmbH | MBS
20 IT, 18 Jahre SQL Server, 13 Jahre SharePoint
ACHTUNG:
FALLS JEMAND ETWAS
NACH LESEN MÖCHTE
Hat du Kopp wie Sieb, muttu
auf schreiben ! ( oder … )
Slides sind auf http://www.slideshare.net/larspl , Sway
Konferenz Webseite
( ist voll kommen OK .. ( es ist auch schon 16:15 ++ ;-)
Überblick, Roadmap
SQL Server Konfiguration
SharePoint / SQL Server Basics
SharePoint Topologie
Bereitstellen
AGENDA
2001
SharePoint
Portal Server 2001
2003
SharePoint
Portal Server 2003
2006
Office SharePoint
Server 2007
2009
SharePoint
Server 2010
2012
SharePoint
Server 2013
2016
SharePoint
Server 2016
Cloud-Inspired
Experiences
Cloud and Enterprise
Social
Content
Management
Core
Collaboration
Microsoft
ManagedSolutions
Microsoft
OnlineServices(BPOS)
Office365
SHAREPOINT RELEASE HISTORY
UND ROADMAP
Office365
SHAREPOINT 2016 RELEASE
SCHEDULE
Q2 CY 2016Q1 CY 2016Q4 CY 2015
Content DB
Size
• TB-sized Databases
now Officially
Supported
Site Collections
per Content DB
• 100,000 Site
Collections per
Content Databases
List Threshold
• Increased List
Threshold >5000
Items
• No word yet on how
many more… 
Max File Size
• Maximum File Size
now 10GB
• No Character
Restrictions – Drag
& Drop files with ‘&’
in them!!!
Indexed Items
• Search scale
doubled to 500
Million items
Coming in
2016…
Coming in
2016…
Coming in
2016…
Coming in
2016…
Coming in
2016…
In 2013…
• Maximum of 10
Million Indexed
items per search
partition…
In 2013…
• Max 200GB
Databases
supported in
General usage
scenarios*
In 2013…
• Max 5000 Site
Collections per
Content DB
In 2013…
• Maximum 5000
Items per Query
In 2013…
• Max 2GB File
Size*
SHAREPOINT 2016 LIMITS
NEWS
SQL SERVER KONFIGURATION
SQL SERVER KONFIGURATION: WARUM
Top Performance
Bottlenecks >1200
Kundeninstallationen
2 davon > 50.000 Users
Verbraucht wurden in
dieser Zeit mindestens
min. 5000 Tassen Kaffee
http://pal.codeplex.com/
SQL SERVER KONFIGURATION
Optimize Hardware
CPU RAM
DISK
64k Block
Size NTFS
Network
<1ms
Latency
SQL SERVER KONFIGURATION
SharePoint 20132016:
• SQL Server 2008 R2 SP1
• SQL Server 2012 (SP1 for BI)
• SQL Server 2014 SP1 (SP2013 SP1 & April CU)
• SQL Server 2016 CTP 3.1 ff
SSMS nicht auf dem
SQL Server installieren
Dedizierte Instance
SQL Service mit einem
Managed Account
Keine besonderen
Rechte
Named Instance
Sharepoint
SQL SERVER KONFIGURATION
Collation:
Latin1_General_CI_AS_KS_WS
(Case I,Accent S,Kana S,With S, Collation
verwenden
Jede CI Collation ist
supported
Latin1_XXX_CI_XX
aber ist das eine Gute
Idee?
Nach dem Setup keine Änderung möglich!
SQL SERVER KONFIGURATION
Max degree of
parallelism
Maxdop=1
SQL SERVER KONFIGURATION
Index Fill
Faktor:80%
Compress Backup
Intelligente
Datenaufteilung
SQL SERVER KONFIGURATION
Service Account ( SQL Server )
TraceFlag: -T1117 ( Gleichmässiger
AutoGrow auf allen Files ) < (SQL2014)
TraceFlag: -T1118
( Speicherzuordnung wird optimiert
{eight pages from the same extent })
( SQL 2014/2016)
Lock Pages in Memory
Privileg ( local Policy )
TraceFlags :
-T845 (STD zusätzlich)
SQL SERVER KONFIGURATION
Service Account ( SQL Server )
- Instant File Initialization
Recht: (SE_MANAGE_VOLUME_NAME )
Volume Maintenance Task. By default,
only Local Admins have the access to it.
Lock PageOpen Local
Security Policy> Local
Policies > User Rights
Management and go
to the Perform
SQL SERVER KONFIGURATION
Kein Simple Recovery
Mode , Ausnahme
ConfigDB / Ex AOAG
Disable Boost SQL
Server Priority Temp DB auf 10GB
und min 4 Files
verteilen,
Autogrowth 1GBT-Log Backup alle
15min bis max. 24h
Content DBs Pre-
Size
Index Maintennance: FRAG <=30% Reorganisation, > Rebuild
SQL SERVER KONFIGURATION
SQL Server HW Setup
SQL SERVER KONFIGURATION Workload Planung
SHAREPOINT
SQL SERVER BASICS
SHAREPOINT
SQL SERVER BASICS
95% of SharePoint
content stored in SQL
Server
Farm Configuration
information liegt in
configuration db
Central Administration
content liegt in einer
eigenen content db
Fasst jede Service App
hat mindest eine DB
Jede Web Applikation
hat mindest eine
Content DB
Eine Farm kann durch
aus >20 DBs haben
SHAREPOINT
SQL SERVER BASICS
Service Level Agreement
HA DR RPO RTO Wartung
SHAREPOINT SQL SERVER BASICS: ALWAYS ON
Disaster Recovery SQL Server Solution
Potential
Data Loss
(RPO)
Potential
Recovery
Time (RTO)
Automatic
Failover
Readable
Secondaries
AlwaysOn Availability Group - synchronous-commit Zero Seconds Yes 0 - 2
AlwaysOn Availability Group - asynchronous-commit Seconds Minutes No 0 - 4
AlwaysOn Failover Cluster Instance NA Seconds
-to-minutes
Yes NA
Database Mirroring - High-safety (sync + witness) Zero Seconds Yes NA
Database Mirroring - High-performance (async) Seconds Minutes No NA
Log Shipping Minutes Minutes
-to-hours
No Not during
a restore
Backup, Copy, Restore Hours Hours
-to-days
No Not during
a restore
SHAREPOINT SQL SERVER BASICS: ALWAYS ON
-Two AGs
-Content AG with four replicas –
Synch and Asynch
-User Profile Sync DBs on separate
AG, 2 Synch copies only
-DR farm in remote DC on standby
to connect to content DB copy
-DR copy in Azure
SHAREPOINT
SQL SERVER BASICS: HA SYNCRON
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
SHAREPOINT
SQL SERVER BASICS: HA ASYNCRON
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
SHAREPOINT
SQL SERVER BASICS
SQL Wartung
SP Health Analyzer
SP JOB defragmentiert
die Indexes
Job will
update statistics
AUTO_CREATE_STATISTI
CS OFF
SHAREPOINT
SQL SERVER BASICS
SQL Wartung
SHAREPOINT
SQL SERVER BASICS
Tgl. Full backup
15min LOG
Backup
Index Reorg:
Tipp:
Ole Hallgreen (
Backup Solution )
DR Plan?
Kein
DR
Plan
60%
DR
Plan
40%
SHAREPOINT TOPOLOGIE
DEPLOYMENTS SHAREPOINT 2016
• Multiple-Server Farm
• SharePoint Server mit “Front-end” Rolle
• SharePoint Server mit “Application” Rolle
• SharePoint Server mit “Distributed Cache” Rolle
• SharePoint Server mit “Search” Rolle
• SQL Server
• Single-Server Farm
• SharePoint Server mit “Single” Rolle
• SQL Server
SHAREPOINT TOPOLOGIE
Single
Mid
Office365
Office365
Office365
SHAREPOINT FARM SIZING
Jede Web App
sollte mehr ! Als
eine ContentDB
haben
Ideal: je Abteilung:
IT, HR, FI etc
getrennte
ContentDBs
Backup !!!
Bedenken
Quotas -> 200
-250 SCs max.
je DB
Default 2000
250 250 250
SHAREPOINT FARM SIZING
Web Application
200GB 200GB
200GB
Site Collections Site Collections Site Collections
Project
Sites
Department
Sites
250
200GB
Site Collections
HR
Sites
Marketing
Sites
750mb X 250 = 187,500mb / 1024 = 183gb
250
200GB
SHAREPOINT FARM SIZING:
BEREITSTELLEN
SQL ADMIN
SHAREPOINT ADMIN
SQL : DBs
erzeugen, HA
erstellen
Einhängen der
PreSized, HA
verfügbaren
DBs
Planung
HA/DR
Wartung
Lars Platzdasch | SharePoint and SQL Server
VIELEN DANK FÜR EURE ZEIT
Q & A
Resources
• Script zur Prüfung neu erstellter SP C DBs’
http://sharepointszu.com/2012/02/17/sql-script-fr-die-erstellung-
von-best-practice-sharepoint-datenbanken/
• SQL Server: Minimize Disk I/O
https://technet.microsoft.com/en-us/magazine/jj643251.aspx
• Best practices for SQL Server in a SharePoint Server farm
https://technet.microsoft.com/en-
us/library/hh292622(v=office.15).aspx
SYSTEM KONFIGURATION: OS
System Settings:
«Best
performance»
Windows Server
performance options
Determine page file size
Use the proper power
plan
Create a SQL alias
Factor 1,5 des
RAMS
Sample: 8192 MB
RAM x 1,5 = 12288
MB page file
«High
performance»
instead of
«Balanced»
Create one for
content and
search on every
SP Server
(cliconfg.exe)
SQL Server 2016 and SharePoint 2016  - Lars PLatzdasch - SQL Konferenz 2016

SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016

  • 1.
    SQL Server 2016 SharePoint2016 Better together Lars Platzdasch
  • 2.
    Sprecher: Lars Platzdasch Twitter LarsPlatzdasch Xing /Lars_Platzdasch LinkedIn Larsplatzdasch Web www.platzdasch.de www.3perspektiven.de Microsoft CertifiedSolutions Expert: SQL Server Data Platform Microsoft Certified Solutions Expert: SharePoint Microsoft Certified IT Professional: SharePoint 2010, Administrator Microsoft Certified IT Professional: SharePoint 2010, Developer Microsoft Certified Application Developer: .NET platzdasch netConsult GmbH & Co. KG | ISV 24/7 Support für SQL / SharePoint 3 Perspektiven GmbH | MBS 20 IT, 18 Jahre SQL Server, 13 Jahre SharePoint
  • 3.
    ACHTUNG: FALLS JEMAND ETWAS NACHLESEN MÖCHTE Hat du Kopp wie Sieb, muttu auf schreiben ! ( oder … ) Slides sind auf http://www.slideshare.net/larspl , Sway Konferenz Webseite ( ist voll kommen OK .. ( es ist auch schon 16:15 ++ ;-)
  • 4.
    Überblick, Roadmap SQL ServerKonfiguration SharePoint / SQL Server Basics SharePoint Topologie Bereitstellen AGENDA
  • 5.
    2001 SharePoint Portal Server 2001 2003 SharePoint PortalServer 2003 2006 Office SharePoint Server 2007 2009 SharePoint Server 2010 2012 SharePoint Server 2013 2016 SharePoint Server 2016 Cloud-Inspired Experiences Cloud and Enterprise Social Content Management Core Collaboration Microsoft ManagedSolutions Microsoft OnlineServices(BPOS) Office365 SHAREPOINT RELEASE HISTORY UND ROADMAP Office365
  • 6.
    SHAREPOINT 2016 RELEASE SCHEDULE Q2CY 2016Q1 CY 2016Q4 CY 2015
  • 7.
    Content DB Size • TB-sizedDatabases now Officially Supported Site Collections per Content DB • 100,000 Site Collections per Content Databases List Threshold • Increased List Threshold >5000 Items • No word yet on how many more…  Max File Size • Maximum File Size now 10GB • No Character Restrictions – Drag & Drop files with ‘&’ in them!!! Indexed Items • Search scale doubled to 500 Million items Coming in 2016… Coming in 2016… Coming in 2016… Coming in 2016… Coming in 2016… In 2013… • Maximum of 10 Million Indexed items per search partition… In 2013… • Max 200GB Databases supported in General usage scenarios* In 2013… • Max 5000 Site Collections per Content DB In 2013… • Maximum 5000 Items per Query In 2013… • Max 2GB File Size* SHAREPOINT 2016 LIMITS NEWS
  • 8.
  • 9.
    SQL SERVER KONFIGURATION:WARUM Top Performance Bottlenecks >1200 Kundeninstallationen 2 davon > 50.000 Users Verbraucht wurden in dieser Zeit mindestens min. 5000 Tassen Kaffee http://pal.codeplex.com/
  • 10.
    SQL SERVER KONFIGURATION OptimizeHardware CPU RAM DISK 64k Block Size NTFS Network <1ms Latency
  • 11.
    SQL SERVER KONFIGURATION SharePoint20132016: • SQL Server 2008 R2 SP1 • SQL Server 2012 (SP1 for BI) • SQL Server 2014 SP1 (SP2013 SP1 & April CU) • SQL Server 2016 CTP 3.1 ff SSMS nicht auf dem SQL Server installieren Dedizierte Instance SQL Service mit einem Managed Account Keine besonderen Rechte Named Instance Sharepoint
  • 12.
    SQL SERVER KONFIGURATION Collation: Latin1_General_CI_AS_KS_WS (CaseI,Accent S,Kana S,With S, Collation verwenden Jede CI Collation ist supported Latin1_XXX_CI_XX aber ist das eine Gute Idee? Nach dem Setup keine Änderung möglich!
  • 13.
    SQL SERVER KONFIGURATION Maxdegree of parallelism Maxdop=1
  • 14.
    SQL SERVER KONFIGURATION IndexFill Faktor:80% Compress Backup Intelligente Datenaufteilung
  • 15.
    SQL SERVER KONFIGURATION ServiceAccount ( SQL Server ) TraceFlag: -T1117 ( Gleichmässiger AutoGrow auf allen Files ) < (SQL2014) TraceFlag: -T1118 ( Speicherzuordnung wird optimiert {eight pages from the same extent }) ( SQL 2014/2016) Lock Pages in Memory Privileg ( local Policy ) TraceFlags : -T845 (STD zusätzlich)
  • 16.
    SQL SERVER KONFIGURATION ServiceAccount ( SQL Server ) - Instant File Initialization Recht: (SE_MANAGE_VOLUME_NAME ) Volume Maintenance Task. By default, only Local Admins have the access to it. Lock PageOpen Local Security Policy> Local Policies > User Rights Management and go to the Perform
  • 17.
    SQL SERVER KONFIGURATION KeinSimple Recovery Mode , Ausnahme ConfigDB / Ex AOAG Disable Boost SQL Server Priority Temp DB auf 10GB und min 4 Files verteilen, Autogrowth 1GBT-Log Backup alle 15min bis max. 24h Content DBs Pre- Size Index Maintennance: FRAG <=30% Reorganisation, > Rebuild
  • 18.
  • 19.
    SQL SERVER KONFIGURATIONWorkload Planung
  • 20.
  • 21.
    SHAREPOINT SQL SERVER BASICS 95%of SharePoint content stored in SQL Server Farm Configuration information liegt in configuration db Central Administration content liegt in einer eigenen content db Fasst jede Service App hat mindest eine DB Jede Web Applikation hat mindest eine Content DB Eine Farm kann durch aus >20 DBs haben
  • 22.
    SHAREPOINT SQL SERVER BASICS ServiceLevel Agreement HA DR RPO RTO Wartung
  • 23.
    SHAREPOINT SQL SERVERBASICS: ALWAYS ON Disaster Recovery SQL Server Solution Potential Data Loss (RPO) Potential Recovery Time (RTO) Automatic Failover Readable Secondaries AlwaysOn Availability Group - synchronous-commit Zero Seconds Yes 0 - 2 AlwaysOn Availability Group - asynchronous-commit Seconds Minutes No 0 - 4 AlwaysOn Failover Cluster Instance NA Seconds -to-minutes Yes NA Database Mirroring - High-safety (sync + witness) Zero Seconds Yes NA Database Mirroring - High-performance (async) Seconds Minutes No NA Log Shipping Minutes Minutes -to-hours No Not during a restore Backup, Copy, Restore Hours Hours -to-days No Not during a restore
  • 24.
    SHAREPOINT SQL SERVERBASICS: ALWAYS ON -Two AGs -Content AG with four replicas – Synch and Asynch -User Profile Sync DBs on separate AG, 2 Synch copies only -DR farm in remote DC on standby to connect to content DB copy -DR copy in Azure
  • 25.
    SHAREPOINT SQL SERVER BASICS:HA SYNCRON 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
  • 26.
    SHAREPOINT SQL SERVER BASICS:HA ASYNCRON 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
  • 27.
  • 28.
    SP Health Analyzer SPJOB defragmentiert die Indexes Job will update statistics AUTO_CREATE_STATISTI CS OFF SHAREPOINT SQL SERVER BASICS
  • 29.
    SQL Wartung SHAREPOINT SQL SERVERBASICS Tgl. Full backup 15min LOG Backup Index Reorg: Tipp: Ole Hallgreen ( Backup Solution ) DR Plan? Kein DR Plan 60% DR Plan 40%
  • 30.
  • 31.
    DEPLOYMENTS SHAREPOINT 2016 •Multiple-Server Farm • SharePoint Server mit “Front-end” Rolle • SharePoint Server mit “Application” Rolle • SharePoint Server mit “Distributed Cache” Rolle • SharePoint Server mit “Search” Rolle • SQL Server • Single-Server Farm • SharePoint Server mit “Single” Rolle • SQL Server
  • 32.
  • 33.
    SHAREPOINT FARM SIZING JedeWeb App sollte mehr ! Als eine ContentDB haben Ideal: je Abteilung: IT, HR, FI etc getrennte ContentDBs Backup !!! Bedenken Quotas -> 200 -250 SCs max. je DB Default 2000
  • 34.
    250 250 250 SHAREPOINTFARM SIZING Web Application 200GB 200GB 200GB Site Collections Site Collections Site Collections Project Sites Department Sites 250 200GB Site Collections HR Sites Marketing Sites 750mb X 250 = 187,500mb / 1024 = 183gb 250 200GB
  • 35.
    SHAREPOINT FARM SIZING: BEREITSTELLEN SQLADMIN SHAREPOINT ADMIN SQL : DBs erzeugen, HA erstellen Einhängen der PreSized, HA verfügbaren DBs Planung HA/DR Wartung
  • 36.
    Lars Platzdasch |SharePoint and SQL Server VIELEN DANK FÜR EURE ZEIT Q & A
  • 37.
    Resources • Script zurPrüfung neu erstellter SP C DBs’ http://sharepointszu.com/2012/02/17/sql-script-fr-die-erstellung- von-best-practice-sharepoint-datenbanken/ • SQL Server: Minimize Disk I/O https://technet.microsoft.com/en-us/magazine/jj643251.aspx • Best practices for SQL Server in a SharePoint Server farm https://technet.microsoft.com/en- us/library/hh292622(v=office.15).aspx
  • 38.
    SYSTEM KONFIGURATION: OS SystemSettings: «Best performance» Windows Server performance options Determine page file size Use the proper power plan Create a SQL alias Factor 1,5 des RAMS Sample: 8192 MB RAM x 1,5 = 12288 MB page file «High performance» instead of «Balanced» Create one for content and search on every SP Server (cliconfg.exe)