SlideShare a Scribd company logo
A Deep Dive into SharePoint 2016 architecture and deployment
JUSSI ROINE
[CTO] [ONSIGHT HELSINKI]
SPONSORS
Jussi Roine
MVP, MCM, MCT
Onsight Helsinki
www.jussiroine.com
@JussiRoine
Onsight
High fives!
Architecture
Deployment & patching
Scalability & high availability
We made it!
Onsight
Onsight
Session takeaways
SharePoint 2016 architecture and planning
Deployment guidance
Patching, high availability & optimization
Architecture
Onsight
Hardware requirements for SharePoint 2016
 Physical servers must be in the same network
 Stretched farm is supported with <1ms intra-latency and 1 Gbps
Ethernet connections
Installation scenario Deployment type and scale RAM Processor Hard disk space
Single server role that uses SQL Server Development or evaluation
installation
16 GB 64-bit, 4 cores 80 GB for system drive
100 GB for second drive
Single server role that uses SQL Server Pilot or user acceptance test
installation
24 GB 64-bit, 4 cores 80 GB for system drive
100 GB for second drive
and additional drives
Web server or application server in a
three-tier farm
Development or evaluation
installation
12 GB 64-bit, 4 cores 80 GB for system drive
80 GB for second drive
Web server or application server in a
three-tier farm
Pilot, user acceptance test, or
production
16 GB 64-bit, 4 cores 80 GB for system drive
80 GB for second drive and
additional drives
Onsight
Software requirements
Item Required
Operating System Windows Server 2012 R2 (Windows Server 2016 support is coming later)
Prerequisites Web Server (IIS) role
Application Server role
Microsoft .NET Framework version 4.5.2
Microsoft SQL Server 2012 Native Client
Microsoft WCF Data Services 5.6
Microsoft Information Protection and Control Client (MSIPC)
Microsoft Sync Framework Runtime v1.0 SP1 (x64)
Windows Management Framework 3.0 which includes Windows PowerShell 3.0
Microsoft Identity Extensions
Windows Server AppFabric 1.1
Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB 2671763)
Microsoft ODBC Driver 11 for SQL Server
Update for Microsoft .NET Framework to disable RC4 in Transport Layer Security (KB2898850)
Visual C++ Redistributable Package for Visual Studio 2013
.NET Framework .NET Framework 4.5.2
Database SQL Server 2014 SP1 or newer / SQL Server 2016 support: June 1st when available
Onsight
Software boundaries and limits
 Guidance updated for SharePoint 2016:
http://bit.ly/sp16limits
 Updates and changes
Limit Maximum value Limit type Notes
File size 10 GB Boundary The default maximum file size is 250 MB. This is a configurable limit that can be
increased up to 2 GB (2,047 MB). However, a large volume of very large files can affect
farm performance.
List view threshold greater than 5,000 Threshold Specifies the maximum number of list or library items that a database operation, such
as a query, can process at the same time outside the daily time window set by the
administrator during which queries are unrestricted.
When adding or removing a column index, the threshold is 20,000 by default.
When deleting a list or folder, the threshold is 100,000 by default.
When renaming a folder within the same library, the threshold is 100,000 by default.
Onsight
What is MinRole?
 Ability to create SharePoint farms
based on pre-defined server roles
 Each role maps to pre-defined
services, rules and settings on a
server
 Roles together include all services
in a SharePoint farm
 Option to build a single-server
farm still exists
Onsight
Why MinRole?
 Simplified deployment
 Deploy a role, and you’ll get a role
 No need to tweak the services per server
 All deployments follow the same rules & models
 Improved performance and reliability
 Optimization based on Office 365 findings and learnings
 Simpler capacity planning
 Predictable and easier to manage
 Easy to scale – just add n servers to y roles
Onsight
MinRole roles and services
Role Contains
Web Frontend
End user requests and services, such as SharePoint Foundation Web Application, Administration,
Managed Metadata Web Service etc.
Application
Backend jobs and services, such as Machine Translation Service, App Management Service and
Word Automation Service
Search Search related services, such as Host Controller Service, Search Query and Site Settings Service
Distributed Cache Distributed cache services for the farm
Custom A custom combination of services and tasks – also backward compatibility with SP2013
Onsight
MinRole health monitoring
 Health monitoring for
MinRole is built into Health
Analyzer
 Automatic repair for all
MinRole roles except Custom
 You can disable auto-repair
easily, enabled by default
 Single-Server Farm cannot
coexist with MinRole roles
Onsight
MinRole topology
 Smallest supported MinRole farm is 4 servers
 Smallest MinRole farm with high availability is 9 servers
Application
Distributed
Cache
Web Front endSearch
Application
Distributed
Cache
Web Front endSearch
Search Application
Distributed
Cache
Distributed
Cache
Web Front end
7
Onsight
Managing MinRole
Change or specify server role with PowerShell
Set-SPServer –Role { WebFrontEnd | Application |
SingleServer | SingleServerFarm | DistributedCache |
Search | Custom }
Change or specify server role with Central Admin
Demo
Managing MinRole
Onsight
My own SharePoint 2016 farm setup
SQLServer2016
RC3
Hyper-V host
WFE
CA
App
CA
Search Distributed
Cache
Custom
ProjectServer
OOS
500 GB
64,0 GB
CPU
Onsight
MinRole
How many servers needed for the following requirements?
4
+3
+2
+3
+2
+2
16
MinRole
High availability
Custom add-ins
Workflow Manager
Office Online Server
Databases
Onsight
Sample topology for a large production intranet platform
Load balancing & DNS
App Servers and CA
Distributed Cache
Backend:
AD, Databases, MIM
Web frontends
Workflow
Manager
Custom add-ins
Office Online
Server
Onsight
Issues and challenges with MinRole
Optimized for larger farms
 Often do not have the luxury to start +10 servers
Still bugs with role conversion
 Distributed Cache is sometimes still the problematic one
Cannot combine roles on same server
 Custom custom roles not supported 
Deployment
Onsight
Distributed Cache
 NTLM authentication is not used in SharePoint 2016
 This applies to calls between cache cluster and SharePoint
 Relies now on encryption of cache data before transport
 Scales up number of clients that can be served
 SharePoint shouldn’t be more unresponsive under high
load now
 Distributed Cache is enabled (by default) only on
SingleServerFarmRole and Cache roles
Onsight
Distributed Cache
 Dedicated vs. Collocated
 Microsoft recommendation for SP2013 on Technet:
 Licensing implications?
 Is it worth it?
 One or more Distributed Cache hosts?
Onsight
Get-AFCache | % {Get-AFCacheConfiguration -CacheName $_.CacheName}
Distributed Cache high availability
CacheName :
DistributedViewStateCache_f3bd4763-f482-4bb8-
a5a5-f40806460bdd
TimeToLive : 10 mins
CacheType : Partitioned
Secondaries : 0
MinSecondaries : 0
Onsight
Deployment method 1: GUI Installation
Install everything manually: the ”Next-Next” install)
Pros Cons
Very easy  Hides a lot of logic and configures things with potential
issues
Errors trapped in the UI Re-running setup might fix errors, or introduce new issues
Fastest way Also the ugliest way! Just look at it.
1) Download Prerequisites online (prerequisitesinstaller.exe)
2) Reboot
3) Run Setup
4) Run Configuration Wizard
Onsight
Deployment method 2: Custom PowerShell
Create custom PowerShell deployment scripts
Pros Cons
Deployment can be customized Requires a lot of work for end-to-end
custom scripts
Can be automated and fully controlled Error-prone
1) Install prerequisites online
2) Run custom provisioning scripts
3) Finalize with GUI if needed
Onsight
Deployment method 3: AutoSPInstaller
Provision using AutoSPInstaller
Pros Cons
Repeatable templates Open source and ”community supported”
Very good for larger deployments You might not know what’s being deployed
1) Prepare installation media with AutoSPSourceBuilder
2) Create template for AutoSPInstaller with AutoSPInstaller Online
3) Download AutoSPInstaller + copy media files
4) Execute install and get coffee
5) Done!
Onsight
AutoSPInstaller
 https://autospinstaller.com/
 Beta support for SharePoint 2016
 Also works with Windows Server 2016
Technical Previews
 Support for SQL Server 2016 CTP/RC is not
officially there, but works
 I tried 
Demo
AutoSPInstaller
Onsight
Installation: Prerequisites
 Use Prerequisiteinstaller.exe
 Offline install with
http://bit.ly/sp16offline
 Reboot when finished
 First server hosts Central Admin
 Note! 2 cores for each server
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
SharePoint 2016 installation
Onsight
Zero Downtime Patching
 Updates are delivered as patches
 Each patch has only a few (2-3) packages
 Instead of 30-50 as with SP2013
 Patching is very fast: minutes, not hours
 Changes are in server-side patching & database changes
Current builds
16.0.4107.1002 IT Preview
16.0.4306.1002 Beta 2
16.0.4336.1000 Release Candidate
16.0.4351.1000 RTM
Onsight
Build numbers
Name Build Number
SharePoint 2016 IT Preview 16.0.4107.1002
SharePoint 2016 Beta 2 16.0.4306.1002
SharePoint 2016 Release Candidate (Jan.2016) 16.0.4327.1000
SharePoint 2016 RC updated 16.0.4336.1000
SharePoint 2016 RTM 16.0.4351.1000
April CU 2016 16.0.4366.1000
May CU 2016 16.0.4378.1000
Onsight
Patching SharePoint 2016
 In-Place Upgrade
 2 Phase process
 Patching
 Upgrade
 Patching and upgrade are online
operations
 All roles must have HA to achieve
“zero downtime”
Web frontends
App & Search
Distributed Cache
AD & Databases
Onsight
 Patching approach from 4351 (RTM) to May CU (4378)
 Run PSConfig
 Repeat on each farm server
 Slipstreamed installs are not yet supported
 Note: (Get-SPFarm).BuildVersion might not be updated, if
there are no database level changes
Patch prerequisites install
Build 16.0.4378.1000
Patching example
Baseline install
Build 16.0.4351.1000
Patch install
Build 16.0.4378.1000
Onsight
Process for patching with Zero Downtime
Backup the farm
Remove WFE from LB and
patch
Repeat for all WFE’s
Patch each App server
individually
Patching is complete
Run Upgrade-
SPContentDatabase in
parallel
Run .psconfig.exe -cmd
secureresources -cmd
installfeatures -cmd upgrade
-inplace b2b -force -wait -
cmd applicationcontent –
install on app servers
Remove WFE from LB and
run PSConfig
Upgrade complete
Verify BuildVersion
Onsight
Performing Zero Downtime Patching
Onsight
Performing Zero Downtime Patching
Onsight
Performing Zero Downtime Patching
Onsight
Performing Zero Downtime Patching
Onsight
Performing Zero Downtime Patching
Scalability and high
availability
Onsight
High availability and SharePoint
 Always balance your architecture against real business
needs
 With MinRole, HA is possibly easier to achieve and manage
 HA is not just about ”enough servers”
 It’s about planning for a solid architecture, of which HA is a by-
product
 You can also get HA without MinRole
 Consider what your HA level is
Full HA with MinRoleSingle Server A lot of options here
Onsight
The road to High Availability & Performance
 Use SQL alias for database connections
 Cliconfg.exe is your friend  AutoSPInstaller does this for you
 For SQL Server, perform the following changes
Enable Lock Pages in
Memory
Set Max Degree of
Parallelism (MAXDOP) to 1
Configure Max Memory
Settings
Configure Tempdb to
reduce page allocation
contention
Locking pages may
boost performance when
paging memory to disk
To configure:
1) Run gpedit.msc
2) Go to Security Settings > User Rights
Assignment
3) Lock pages in memory: Add account
that has privileges to run sqlservr.exe
4) Log out & log in
May boost performance
To configure:
1) Right click server in Management Studio
2) Select Advanced node
3) Set Max Degree of Parallelism to 1
Optimal memory settings
To configure:
1) Deduct 4 GB from current system
memory
2) Right click server in Management
Studio
3) Click Memory node
4) Set max memory to (current RAM –
4GB)
This has a substantial
performance impact
To configure:
1) Open SQL Server Configuration Manager
2) Select SQL Server Services
3) Right click MSSQLSERVER and select Properties
4) Add a new startup parameter: -T1118
5) Restart SQL Server service
Onsight
The road to High Availability & Performance
 Configure SQL Server AlwaysOn Availability Groups
 Guidance https://technet.microsoft.com/en-
us/library/jj715261.aspx
 Consider MinRole allocations and the need for MinRole
 Configure Log Shipping for Disaster Recovery
 Guidance http://technet.microsoft.com/en-
us/library/ms190640.aspx
Onsight
The road to High Availability & Performance
 Modify Model and Tempdb settings
 Increase initial size
 Autogrowth to MB, not % based increments
 For Tempdb, use simple recovery model
 Multiple tempdb files on multiple drives
 Avoid using auto shrinking for databases
Onsight
The road to High Availability & Performance
 Configure HTTP Compression for Static and Dynamic
Content in IIS
appcmd set config /section:urlCompression /doStaticCompression:True
appcmd set config /section:urlCompression /doDynamicCompression:True
 Configure Distributed Cache
 Memory allocation to “current OS memory - 2 GB divided by 2 = cache allocation
size
 https://technet.microsoft.com/en-us/library/jj219613.aspx#memory
 Verify that Background Garbage Collection is enabled
<appSettings><add key="backgroundGC" value="true"/></appSettings>
 Set Content App Pool permission
Grant-CacheAllowedClientAccount –Account “DOMAINSP_AppPool”
Onsight
Data deduplication with SharePoint 2016
 Windows Server 2016 TP4 (and newer) support data
deduplication with Hyper-V role
Onsight
Recap
MinRole gives a lot, but also demands quite a lot
Optimize SQL Server and Distributed Cache
Deploy using AutoSPInstaller
Zero Downtime Patching is costly but achievable
thank you
questions?
live ratings
WWW.JUSSIROINE.COM@JUSSIROINE
spca.biz/K6MS

More Related Content

PPTX
SharePoint 2016 Overview
PPTX
Webinar on Different types of SharePoint architectural models
PPTX
IBM: Hey FIDO, Meet Passkey!.pptx
DOC
Tìm hiểu và triển khai các dịch vụ trên Windows Server 2008
PDF
Introduction to Hortonworks Data Platform
PDF
Kafka clients and emitters
DOCX
Mau viet tai lieu srs
PDF
Migration from File servers to M365 Business
SharePoint 2016 Overview
Webinar on Different types of SharePoint architectural models
IBM: Hey FIDO, Meet Passkey!.pptx
Tìm hiểu và triển khai các dịch vụ trên Windows Server 2008
Introduction to Hortonworks Data Platform
Kafka clients and emitters
Mau viet tai lieu srs
Migration from File servers to M365 Business

What's hot (12)

PDF
Slides Lập trình mạng
PPTX
An Authentication and Authorization Architecture for a Microservices World
PDF
IBM Datapower Security Scenario with JWS & JWE
DOC
Quản lý mailbox và group trong exchange 2013
PDF
Deploying Privileged Access Workstations (PAWs)
PDF
PowerVC and Power Systems Cloud Trends
PPTX
Using ibm mq in managed file transfer environments final
PDF
System Monitoring With Nagios PowerPoint Presentation Slides
PPTX
Content Collaboration And Protection With SharePoint, OneDrive & Microsoft Teams
PPTX
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
PPTX
Tìm hiểu web service
DOCX
Nghiên cứu và triển khai hệ thống ISA Server 2006
Slides Lập trình mạng
An Authentication and Authorization Architecture for a Microservices World
IBM Datapower Security Scenario with JWS & JWE
Quản lý mailbox và group trong exchange 2013
Deploying Privileged Access Workstations (PAWs)
PowerVC and Power Systems Cloud Trends
Using ibm mq in managed file transfer environments final
System Monitoring With Nagios PowerPoint Presentation Slides
Content Collaboration And Protection With SharePoint, OneDrive & Microsoft Teams
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
Tìm hiểu web service
Nghiên cứu và triển khai hệ thống ISA Server 2006
Ad

Viewers also liked (20)

PDF
MinRole and SharePoint 2016
PPTX
SharePoint 2016 for the Business: Top 10 New Features
PPTX
What's new in sharepoint 2016
PDF
SharePoint 2016: Features Overview
PPTX
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
PDF
Unbreakable Sharepoint 2016 With SQL Server 2016 availability groups
PPTX
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
PPTX
Ms Cloud Summit 2017 - Power Bi, le tour complet 2017
PDF
SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016
PPTX
SharePoint 2016 - What's New, What's Not
PDF
Examen sybase - Administration base de donnees
PDF
QUALITY MANAGEMENT
PDF
Cycle Power BI Part1
PDF
Projeto AN9 - Uberlândia
PPTX
Portfolio henderson a
PDF
To g chapter season 2 chapter 6.cv
PDF
Tuning Sql Server for SharePoint--- Community Day Belgium 2013
PDF
Dat202 Techdays Paris 2015: PowerBI un an après
PPTX
Microsoft BI demystified: SharePoint 2016 BI or for PowerBI v2?
MinRole and SharePoint 2016
SharePoint 2016 for the Business: Top 10 New Features
What's new in sharepoint 2016
SharePoint 2016: Features Overview
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Unbreakable Sharepoint 2016 With SQL Server 2016 availability groups
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
Ms Cloud Summit 2017 - Power Bi, le tour complet 2017
SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016
SharePoint 2016 - What's New, What's Not
Examen sybase - Administration base de donnees
QUALITY MANAGEMENT
Cycle Power BI Part1
Projeto AN9 - Uberlândia
Portfolio henderson a
To g chapter season 2 chapter 6.cv
Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Dat202 Techdays Paris 2015: PowerBI un an après
Microsoft BI demystified: SharePoint 2016 BI or for PowerBI v2?
Ad

Similar to A Deep Dive into SharePoint 2016 architecture and deployment (20)

PPTX
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
PPTX
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
PPTX
SharePoint On-Premises Nirvana
PPT
Spring 2007 SharePoint Connections Oleson Advanced Administration and Plannin...
PDF
SharePoint Saturday Netherlands 2016 - SharePoint and Office 365 performances...
PPT
Back to the Basics: SharePoint Fundamentals by Joel Oleson
PPT
MOSS 2007 Deployment Fundamentals -Part2
PPTX
SharePoint Saturday Michigan Keynote - Top 5 Infrastructure Concerns for a Sh...
PPTX
Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...
PPTX
PPTX
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
PPTX
SPCSEA 2013 - Setting up SharePoint 2013: Tips and Tricks and PowerShell Scripts
PPTX
Dot netcampus2015 francescosodano-sharepoint2016whatsnew
PPTX
SHAREPOINT 2016 - WHAT'S NEW
PPT
MOSS 2007 Deployment Fundamentals -Part1
PDF
SharePoint Performance Optimization In 10 Steps for the IT Professional
PPT
SharePoint Advanced Administration with Joel Oleson, Shane Young and Mike Watson
PPTX
50 Shades of SharePoint: SharePoint 2013 Insanity Demystified
PPTX
SharePoint 2016 Is Coming! Are You Ready?
PPTX
Upgrading to SharePoint 2010 - Teched Middle East
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
SharePoint On-Premises Nirvana
Spring 2007 SharePoint Connections Oleson Advanced Administration and Plannin...
SharePoint Saturday Netherlands 2016 - SharePoint and Office 365 performances...
Back to the Basics: SharePoint Fundamentals by Joel Oleson
MOSS 2007 Deployment Fundamentals -Part2
SharePoint Saturday Michigan Keynote - Top 5 Infrastructure Concerns for a Sh...
Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
SPCSEA 2013 - Setting up SharePoint 2013: Tips and Tricks and PowerShell Scripts
Dot netcampus2015 francescosodano-sharepoint2016whatsnew
SHAREPOINT 2016 - WHAT'S NEW
MOSS 2007 Deployment Fundamentals -Part1
SharePoint Performance Optimization In 10 Steps for the IT Professional
SharePoint Advanced Administration with Joel Oleson, Shane Young and Mike Watson
50 Shades of SharePoint: SharePoint 2013 Insanity Demystified
SharePoint 2016 Is Coming! Are You Ready?
Upgrading to SharePoint 2010 - Teched Middle East

More from SPC Adriatics (20)

PPTX
How to secure your data in Office 365
PPTX
Do you know, where your sensitive data is?
PPTX
Securing Intellectual Property using Azure Rights Management Services
PPTX
Creating Workflows in Project Online
PPTX
Faster than a flash behind the scenes of patching SharePoint Online
PPTX
Role based views in Project and Resource Center
PPTX
OneDrive, TwoDrive, Whiterive, BlueDrive (hahaha)
PPTX
SharePoint Governance and Compliance
PDF
From analyses to successful Implementation
PDF
The key to a successful Office 365 implementation is adoption
PPTX
Office 365 Video
PPTX
10 Steps to be Successful with Enterprise Search
PPTX
How the Cloud Changes Business Solution Design and Delivery
PDF
Scaling SharePoint 2016 Farms with MinRole & Other Tools
PPTX
SharePoint 2013 Search Operations
PDF
Office Online Server 2016 - a must for on-premises installation for SharePoin...
PPTX
Custom Code-The Missing Piece of the SharePoint Governance Puzzle
PPTX
SharePoint 2016 Hybrid Sites Inside Out
PPTX
What's New for the BI workload in SharePoint 2016 and SQL Server 2016
PPTX
Creating a Great User Experience in SharePoint
How to secure your data in Office 365
Do you know, where your sensitive data is?
Securing Intellectual Property using Azure Rights Management Services
Creating Workflows in Project Online
Faster than a flash behind the scenes of patching SharePoint Online
Role based views in Project and Resource Center
OneDrive, TwoDrive, Whiterive, BlueDrive (hahaha)
SharePoint Governance and Compliance
From analyses to successful Implementation
The key to a successful Office 365 implementation is adoption
Office 365 Video
10 Steps to be Successful with Enterprise Search
How the Cloud Changes Business Solution Design and Delivery
Scaling SharePoint 2016 Farms with MinRole & Other Tools
SharePoint 2013 Search Operations
Office Online Server 2016 - a must for on-premises installation for SharePoin...
Custom Code-The Missing Piece of the SharePoint Governance Puzzle
SharePoint 2016 Hybrid Sites Inside Out
What's New for the BI workload in SharePoint 2016 and SQL Server 2016
Creating a Great User Experience in SharePoint

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
KodekX | Application Modernization Development
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Approach and Philosophy of On baking technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Machine learning based COVID-19 study performance prediction
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development
Reach Out and Touch Someone: Haptics and Empathic Computing
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation theory and applications.pdf
Empathic Computing: Creating Shared Understanding
Approach and Philosophy of On baking technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Digital-Transformation-Roadmap-for-Companies.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Understanding_Digital_Forensics_Presentation.pptx
cuic standard and advanced reporting.pdf
Machine learning based COVID-19 study performance prediction

A Deep Dive into SharePoint 2016 architecture and deployment

  • 1. A Deep Dive into SharePoint 2016 architecture and deployment JUSSI ROINE [CTO] [ONSIGHT HELSINKI]
  • 3. Jussi Roine MVP, MCM, MCT Onsight Helsinki www.jussiroine.com @JussiRoine
  • 4. Onsight High fives! Architecture Deployment & patching Scalability & high availability We made it!
  • 7. Session takeaways SharePoint 2016 architecture and planning Deployment guidance Patching, high availability & optimization
  • 9. Onsight Hardware requirements for SharePoint 2016  Physical servers must be in the same network  Stretched farm is supported with <1ms intra-latency and 1 Gbps Ethernet connections Installation scenario Deployment type and scale RAM Processor Hard disk space Single server role that uses SQL Server Development or evaluation installation 16 GB 64-bit, 4 cores 80 GB for system drive 100 GB for second drive Single server role that uses SQL Server Pilot or user acceptance test installation 24 GB 64-bit, 4 cores 80 GB for system drive 100 GB for second drive and additional drives Web server or application server in a three-tier farm Development or evaluation installation 12 GB 64-bit, 4 cores 80 GB for system drive 80 GB for second drive Web server or application server in a three-tier farm Pilot, user acceptance test, or production 16 GB 64-bit, 4 cores 80 GB for system drive 80 GB for second drive and additional drives
  • 10. Onsight Software requirements Item Required Operating System Windows Server 2012 R2 (Windows Server 2016 support is coming later) Prerequisites Web Server (IIS) role Application Server role Microsoft .NET Framework version 4.5.2 Microsoft SQL Server 2012 Native Client Microsoft WCF Data Services 5.6 Microsoft Information Protection and Control Client (MSIPC) Microsoft Sync Framework Runtime v1.0 SP1 (x64) Windows Management Framework 3.0 which includes Windows PowerShell 3.0 Microsoft Identity Extensions Windows Server AppFabric 1.1 Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB 2671763) Microsoft ODBC Driver 11 for SQL Server Update for Microsoft .NET Framework to disable RC4 in Transport Layer Security (KB2898850) Visual C++ Redistributable Package for Visual Studio 2013 .NET Framework .NET Framework 4.5.2 Database SQL Server 2014 SP1 or newer / SQL Server 2016 support: June 1st when available
  • 11. Onsight Software boundaries and limits  Guidance updated for SharePoint 2016: http://bit.ly/sp16limits  Updates and changes Limit Maximum value Limit type Notes File size 10 GB Boundary The default maximum file size is 250 MB. This is a configurable limit that can be increased up to 2 GB (2,047 MB). However, a large volume of very large files can affect farm performance. List view threshold greater than 5,000 Threshold Specifies the maximum number of list or library items that a database operation, such as a query, can process at the same time outside the daily time window set by the administrator during which queries are unrestricted. When adding or removing a column index, the threshold is 20,000 by default. When deleting a list or folder, the threshold is 100,000 by default. When renaming a folder within the same library, the threshold is 100,000 by default.
  • 12. Onsight What is MinRole?  Ability to create SharePoint farms based on pre-defined server roles  Each role maps to pre-defined services, rules and settings on a server  Roles together include all services in a SharePoint farm  Option to build a single-server farm still exists
  • 13. Onsight Why MinRole?  Simplified deployment  Deploy a role, and you’ll get a role  No need to tweak the services per server  All deployments follow the same rules & models  Improved performance and reliability  Optimization based on Office 365 findings and learnings  Simpler capacity planning  Predictable and easier to manage  Easy to scale – just add n servers to y roles
  • 14. Onsight MinRole roles and services Role Contains Web Frontend End user requests and services, such as SharePoint Foundation Web Application, Administration, Managed Metadata Web Service etc. Application Backend jobs and services, such as Machine Translation Service, App Management Service and Word Automation Service Search Search related services, such as Host Controller Service, Search Query and Site Settings Service Distributed Cache Distributed cache services for the farm Custom A custom combination of services and tasks – also backward compatibility with SP2013
  • 15. Onsight MinRole health monitoring  Health monitoring for MinRole is built into Health Analyzer  Automatic repair for all MinRole roles except Custom  You can disable auto-repair easily, enabled by default  Single-Server Farm cannot coexist with MinRole roles
  • 16. Onsight MinRole topology  Smallest supported MinRole farm is 4 servers  Smallest MinRole farm with high availability is 9 servers Application Distributed Cache Web Front endSearch Application Distributed Cache Web Front endSearch Search Application Distributed Cache Distributed Cache Web Front end 7
  • 17. Onsight Managing MinRole Change or specify server role with PowerShell Set-SPServer –Role { WebFrontEnd | Application | SingleServer | SingleServerFarm | DistributedCache | Search | Custom } Change or specify server role with Central Admin
  • 19. Onsight My own SharePoint 2016 farm setup SQLServer2016 RC3 Hyper-V host WFE CA App CA Search Distributed Cache Custom ProjectServer OOS 500 GB 64,0 GB CPU
  • 20. Onsight MinRole How many servers needed for the following requirements? 4 +3 +2 +3 +2 +2 16 MinRole High availability Custom add-ins Workflow Manager Office Online Server Databases
  • 21. Onsight Sample topology for a large production intranet platform Load balancing & DNS App Servers and CA Distributed Cache Backend: AD, Databases, MIM Web frontends Workflow Manager Custom add-ins Office Online Server
  • 22. Onsight Issues and challenges with MinRole Optimized for larger farms  Often do not have the luxury to start +10 servers Still bugs with role conversion  Distributed Cache is sometimes still the problematic one Cannot combine roles on same server  Custom custom roles not supported 
  • 24. Onsight Distributed Cache  NTLM authentication is not used in SharePoint 2016  This applies to calls between cache cluster and SharePoint  Relies now on encryption of cache data before transport  Scales up number of clients that can be served  SharePoint shouldn’t be more unresponsive under high load now  Distributed Cache is enabled (by default) only on SingleServerFarmRole and Cache roles
  • 25. Onsight Distributed Cache  Dedicated vs. Collocated  Microsoft recommendation for SP2013 on Technet:  Licensing implications?  Is it worth it?  One or more Distributed Cache hosts?
  • 26. Onsight Get-AFCache | % {Get-AFCacheConfiguration -CacheName $_.CacheName} Distributed Cache high availability CacheName : DistributedViewStateCache_f3bd4763-f482-4bb8- a5a5-f40806460bdd TimeToLive : 10 mins CacheType : Partitioned Secondaries : 0 MinSecondaries : 0
  • 27. Onsight Deployment method 1: GUI Installation Install everything manually: the ”Next-Next” install) Pros Cons Very easy  Hides a lot of logic and configures things with potential issues Errors trapped in the UI Re-running setup might fix errors, or introduce new issues Fastest way Also the ugliest way! Just look at it. 1) Download Prerequisites online (prerequisitesinstaller.exe) 2) Reboot 3) Run Setup 4) Run Configuration Wizard
  • 28. Onsight Deployment method 2: Custom PowerShell Create custom PowerShell deployment scripts Pros Cons Deployment can be customized Requires a lot of work for end-to-end custom scripts Can be automated and fully controlled Error-prone 1) Install prerequisites online 2) Run custom provisioning scripts 3) Finalize with GUI if needed
  • 29. Onsight Deployment method 3: AutoSPInstaller Provision using AutoSPInstaller Pros Cons Repeatable templates Open source and ”community supported” Very good for larger deployments You might not know what’s being deployed 1) Prepare installation media with AutoSPSourceBuilder 2) Create template for AutoSPInstaller with AutoSPInstaller Online 3) Download AutoSPInstaller + copy media files 4) Execute install and get coffee 5) Done!
  • 30. Onsight AutoSPInstaller  https://autospinstaller.com/  Beta support for SharePoint 2016  Also works with Windows Server 2016 Technical Previews  Support for SQL Server 2016 CTP/RC is not officially there, but works  I tried 
  • 32. Onsight Installation: Prerequisites  Use Prerequisiteinstaller.exe  Offline install with http://bit.ly/sp16offline  Reboot when finished  First server hosts Central Admin  Note! 2 cores for each server
  • 46. Onsight Zero Downtime Patching  Updates are delivered as patches  Each patch has only a few (2-3) packages  Instead of 30-50 as with SP2013  Patching is very fast: minutes, not hours  Changes are in server-side patching & database changes Current builds 16.0.4107.1002 IT Preview 16.0.4306.1002 Beta 2 16.0.4336.1000 Release Candidate 16.0.4351.1000 RTM
  • 47. Onsight Build numbers Name Build Number SharePoint 2016 IT Preview 16.0.4107.1002 SharePoint 2016 Beta 2 16.0.4306.1002 SharePoint 2016 Release Candidate (Jan.2016) 16.0.4327.1000 SharePoint 2016 RC updated 16.0.4336.1000 SharePoint 2016 RTM 16.0.4351.1000 April CU 2016 16.0.4366.1000 May CU 2016 16.0.4378.1000
  • 48. Onsight Patching SharePoint 2016  In-Place Upgrade  2 Phase process  Patching  Upgrade  Patching and upgrade are online operations  All roles must have HA to achieve “zero downtime” Web frontends App & Search Distributed Cache AD & Databases
  • 49. Onsight  Patching approach from 4351 (RTM) to May CU (4378)  Run PSConfig  Repeat on each farm server  Slipstreamed installs are not yet supported  Note: (Get-SPFarm).BuildVersion might not be updated, if there are no database level changes Patch prerequisites install Build 16.0.4378.1000 Patching example Baseline install Build 16.0.4351.1000 Patch install Build 16.0.4378.1000
  • 50. Onsight Process for patching with Zero Downtime Backup the farm Remove WFE from LB and patch Repeat for all WFE’s Patch each App server individually Patching is complete Run Upgrade- SPContentDatabase in parallel Run .psconfig.exe -cmd secureresources -cmd installfeatures -cmd upgrade -inplace b2b -force -wait - cmd applicationcontent – install on app servers Remove WFE from LB and run PSConfig Upgrade complete Verify BuildVersion
  • 57. Onsight High availability and SharePoint  Always balance your architecture against real business needs  With MinRole, HA is possibly easier to achieve and manage  HA is not just about ”enough servers”  It’s about planning for a solid architecture, of which HA is a by- product  You can also get HA without MinRole  Consider what your HA level is Full HA with MinRoleSingle Server A lot of options here
  • 58. Onsight The road to High Availability & Performance  Use SQL alias for database connections  Cliconfg.exe is your friend  AutoSPInstaller does this for you  For SQL Server, perform the following changes Enable Lock Pages in Memory Set Max Degree of Parallelism (MAXDOP) to 1 Configure Max Memory Settings Configure Tempdb to reduce page allocation contention Locking pages may boost performance when paging memory to disk To configure: 1) Run gpedit.msc 2) Go to Security Settings > User Rights Assignment 3) Lock pages in memory: Add account that has privileges to run sqlservr.exe 4) Log out & log in May boost performance To configure: 1) Right click server in Management Studio 2) Select Advanced node 3) Set Max Degree of Parallelism to 1 Optimal memory settings To configure: 1) Deduct 4 GB from current system memory 2) Right click server in Management Studio 3) Click Memory node 4) Set max memory to (current RAM – 4GB) This has a substantial performance impact To configure: 1) Open SQL Server Configuration Manager 2) Select SQL Server Services 3) Right click MSSQLSERVER and select Properties 4) Add a new startup parameter: -T1118 5) Restart SQL Server service
  • 59. Onsight The road to High Availability & Performance  Configure SQL Server AlwaysOn Availability Groups  Guidance https://technet.microsoft.com/en- us/library/jj715261.aspx  Consider MinRole allocations and the need for MinRole  Configure Log Shipping for Disaster Recovery  Guidance http://technet.microsoft.com/en- us/library/ms190640.aspx
  • 60. Onsight The road to High Availability & Performance  Modify Model and Tempdb settings  Increase initial size  Autogrowth to MB, not % based increments  For Tempdb, use simple recovery model  Multiple tempdb files on multiple drives  Avoid using auto shrinking for databases
  • 61. Onsight The road to High Availability & Performance  Configure HTTP Compression for Static and Dynamic Content in IIS appcmd set config /section:urlCompression /doStaticCompression:True appcmd set config /section:urlCompression /doDynamicCompression:True  Configure Distributed Cache  Memory allocation to “current OS memory - 2 GB divided by 2 = cache allocation size  https://technet.microsoft.com/en-us/library/jj219613.aspx#memory  Verify that Background Garbage Collection is enabled <appSettings><add key="backgroundGC" value="true"/></appSettings>  Set Content App Pool permission Grant-CacheAllowedClientAccount –Account “DOMAINSP_AppPool”
  • 62. Onsight Data deduplication with SharePoint 2016  Windows Server 2016 TP4 (and newer) support data deduplication with Hyper-V role
  • 63. Onsight Recap MinRole gives a lot, but also demands quite a lot Optimize SQL Server and Distributed Cache Deploy using AutoSPInstaller Zero Downtime Patching is costly but achievable