Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

26
Effective SharePoint Architecture Alistair Pugin Datacentrix #SPSSTHLM08, May 21 st , 2016

Transcript of Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Page 1: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Effective SharePoint ArchitectureAlistair PuginDatacentrix#SPSSTHLM08, May 21st, 2016

Page 2: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

About Me Chief Strategist: Microsoft

Services Been working with ECM

Products since 2000 SharePoint Saturday South

Africa Regional Director for the

Information Worker Community in South Africa

@alistairpugin www.alistairpugin.net aOS Community Ambassador

Page 3: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

3

Page 4: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

4

How

Where do you StartFarm ArchitectureVirtualization??

Virtualization??

Page 5: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Requirements Production Staging

Web Front Ends

All Application Server Roles

SQL 2012

SQL Server installed and configured to support SQL clustering, mirroring, And AlwaysOn, AlwaysOn requires SQL Server 2012.

Web Front Ends (2) 16 GB RAM 4 Cores CPU 100GB HDD (C:\) 150GB HDD (E:\)

All Application Server Roles (2) 16 GB RAM 4 Cores CPU 100GB HDD (C:\) 150GB HDD (E:\)

SQL Server 2012 (2) 32 GB RAM 8 Cores CPU 100GB HDD (C:\) 500GB HDD (E:\Data) 50GB HDD (F:\Temp) 1.5TB HDD (G:\Back)

SharePoint 2013 Production Environment

Web Front Ends

All Application Server Roles

SQL 2012

SQL Server installed and configured to support SQL clustering, mirroring, And AlwaysOn, AlwaysOn requires SQL Server 2012.

Web Front Ends (2) 4 Cores CPU 100GB HDD (C:\) 150GB HDD (E:\)

All Application Server Roles (2) 4 Cores CPU 100GB HDD (C:\) 150GB HDD (E:\)

SQL Server 2012 (2) 6 Cores CPU 100GB HDD (C:\) 500GB HDD (E:\Data) 50GB HDD (F:\Temp) 1.5TB HDD (G:\Back)

Page 6: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Requirements DR/Dev

Web Front Ends

All Application Server Roles

SQL 2012

SQL Server installed and configured to support SQL clustering, mirroring, And AlwaysOn, AlwaysOn requires SQL Server 2012.

Web Front Ends (2) 16 GB RAM 4 Cores CPU 100GB HDD (C:\) 150GB HDD (E:\)

All Application Server Roles (2) 16 GB RAM 4 Cores CPU 100GB HDD (C:\) 150GB HDD (E:\)

SQL Server 2012 (2) 32 GB RAM 6 Cores CPU 100GB HDD (C:\) 500GB HDD (E:\Data) 50GB HDD (F:\Temp) 1.5TB HDD (G:\Back)

Web Front End

All Application Server Roles

Web Front End 8 GB RAM 4 Cores CPU 100GB HDD (C:\) 150GB HDD (E:\)

All Application Server Roles 12 GB RAM 4 Cores CPU 100GB HDD (C:\) 150GB HDD (E:\)

SQL Server 2012 24 GB RAM 6 Cores CPU 100GB HDD (C:\) 500GB HDD (E:\Data) 50GB HDD (F:\Temp) 1.5TB HDD (G:\Back)

SQL 2012

Page 7: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

7

Operating System

• CPU – Over commit• Memory – Dynamic?• Network – IPV4• Page Files – System Managed

not Auto• Antivirus• Disable Recycle Bin

Page 8: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Create the Inbound rules for the following ports:

TCP 443 (SSL) TCP [Central Admin

Port Number] TCP 32843 (Service

Apps) TCP 32844 (Service

Apps) TCP 32845 (Service

Apps) TCP 16500-16519

(Search Index)

Firewall TCP 22233-22236

(Distributed Cache) TCP 808 (WCF) TCP 5725 (FIM Sync) TCP+UDP 389 (LDAP) TCP 809 (Office Web Apps) TCP+UDP 88 (Kerberos) TCP+UDP 53 (DNS) UDP 464 (Kerberos) Make sure that the first

server with Distributed Cache has its firewall rule set to allow for Inbound ICMP (ICMPv4).

Page 9: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

SQL Server

Click icon to add picture

Page 10: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

SQL/SharePoint “Did you know’s” SharePoint has its own Collation Latin1_General_CI_AS_KS_WS!!

NTFS Allocation size (chkdsk) – SQL read and writes 64k

How many SQL disks do you use?? Average? Data/Log/Temp

Fix your RAM on your SQL boxes. Why?

Page 11: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Fill Factor. Indexing and data storage performance – set to 80 to support growth and minimize Fragmentation

All DB’s are created from MODEL – Set your DB’s autogrow size correctly from the get go

Auto-create Statistics -- SharePoint does not support it

SQL/SharePoint “Did you know’s”

Page 12: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

SQL/SharePoint “Did you know’s” Other options: Parallelism – keep it at 1 for optimal query results Instant File Initialization tempdb size – Busiest DB so give it a decent initial size (keep all autogrow the same across all settings)

Configure SharePoint to Autogrow after the DB’s have been created

Shrinking Vs Backup Logs – Rather backup and let it flush instead of shrink

Page 13: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

SQL/SharePoint “Did you know’s” Compress your

backups Recovery Mode –

Simple SharePoint logging grows

exponentially Create multiple

Tempdb files (.ndf) on multiple drives or RAID 10 for drives hosting Tempdb files

Defragment drives containing content database files

Don’t rebuild or manage indexes of SharePoint DB’s

NTFS block size. Does anyone care???

Hide SQL from other computers

Disable Auto-Create Statistics

Trace Flags

Page 14: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

14

SharePoint DB’s

Page 15: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

SharePoint DB’s?? Configuration database Central Administration

content database Content database App Management

database Business Data

Connectivity database Search Administration

database Analytics Reporting

database Crawl database Link database

Secure Store database Usage database Subscription Settings

database Profile database Synchronization database Social Tagging database Word Automation Services

database Managed Metadata database Machine Translation Services

database

Page 16: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

SharePoint DB’s?? Project Server database Power Pivot database PerformancePoint

Services database State Service database Report Server Catalog ReportServerTempDB Report Server Alerting 25

Page 17: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

DB Sizing Database size = ((D × V) × S) + (10 KB ×

(L + (V × D)))

105GB

Page 18: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Architectural Considerations

Page 19: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

19

Hardening

Page 20: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Hardening for SharePoint Encryption at Rest

Encrypt the data sitting on the hard drives Encrypt Connections

Encrypt the data in flight on the network between servers Server Isolation

Configure SQL Server's firewall to ignore requests from unauthorized servers

BlobCache? Let the firewall handle the SSL/TLS

Page 21: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Other Considerations SQL 2008 vs SQL 2012/14 SP1 for SQL 2012 changes to SSAS for

SharePoint SSAS/SSRS Mirroring vs AlwaysOn SQL 2014 Support – April CU

Page 22: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Implement Firewall Layer between server layers

Run “Best Practice Security Analyzer” https://technet.microsoft.com/en-us/library/hh831400.aspx

Follow “Server Hardening Guidance” https://technet.microsoft.com/en-us/library/cc262849.aspx

On-Premises: General

Page 23: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

On-Premises: Server Isolation

Block Unknown & Disallowed Traffic

Allow Known Traffic

Page 24: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

24

Q and A

Page 25: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Thank you sponsors!Diamond

Platinum

Gold

Lunch SharePint

Page 26: Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Please visit our sponsors who made this day possible!

Thank you!Rate this session with the event app (and win a Raspberry Pi 3)

http://rate.spsstockholm.com