Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016

Preview:

Citation preview

Effective SharePoint ArchitectureAlistair PuginDatacentrix#SPSSTHLM08, May 21st, 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

3

4

How

Where do you StartFarm ArchitectureVirtualization??

Virtualization??

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)

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

7

Operating System

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

not Auto• Antivirus• Disable Recycle Bin

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).

SQL Server

Click icon to add picture

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?

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”

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

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

14

SharePoint DB’s

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

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

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

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

(L + (V × D)))

105GB

Architectural Considerations

19

Hardening

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

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

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

On-Premises: Server Isolation

Block Unknown & Disallowed Traffic

Allow Known Traffic

24

Q and A

Thank you sponsors!Diamond

Platinum

Gold

Lunch SharePint

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