SharePoint 2013 best practices
-
Upload
gokan-ozcifci -
Category
Technology
-
view
323 -
download
7
Transcript of SharePoint 2013 best practices
![Page 1: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/1.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
#2 – yOS-Day à Montpellier le 12 juin 2015
www.yos-tour.com
@YosTour
![Page 2: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/2.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Bonnes Pratiques
![Page 3: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/3.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Hi! I’m Gokan OzcifciGokan (for Business) is a Microsoft SharePoint MVP. MCT. MCC. I do sometimes things with SharePoint. Opinions are my own.
t:@gokanozcifcib: http://gokan.ms F: /ozcifcigokan
![Page 4: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/4.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Introduction
![Page 5: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/5.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
What about this session?
What does SharePoint Server mean?Provide some insights and tips about SharePoint Server.TechNet/MSD is not always your answer.Other platforms also matters and why?Everybody has his own experience.85 – 95% you already know this.90/10 (On-Premises – Cloud)
![Page 6: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/6.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
The difference in vision
Azure & O365
Exchange & Lync +
Voice
Cloud Ready
Windows Server
Authentication and
Authorization
System Center
2012 ITSM / ITIL
Migrations
Integrations
OTB Workflows Dashboards
Home made applications
Portals and Intranets
ReportsOffice Pack
Infrastructure Business Productivities.
The Microsoft Expertise. A real added value.
![Page 7: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/7.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
The difference in vision
Infrastructure Business Productivities.
The Microsoft Expertise. A real added value.
![Page 8: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/8.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Understand SharePointSharePoint covers a huge set of individual technologies under the SharePoint Platform umbrella
Application DomainActive DirectorySQL ServerOffice Web Apps Server…
It requires time, patience and experience as it’s continuously changingKnow when to use OOTB vs Custom ComponentsKnow your users
![Page 9: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/9.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Understand SharePointNew Service Applications (Machine Translation)
Offloaded Services: Yammer, OneDrive for Business, Office Web Apps, Workflow Manager…
Improved Service Applications (Fast)
Not UI Bindended Services to be managed with PoSH (Subscription Management)
Re-architected Service Applications (Search & OWA)
Different release scheduleOWA can be used for other platforms like Lync, Exchange, …
![Page 10: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/10.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
SharePoint is down!
![Page 11: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/11.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
What is really down? SharePoint is more than a List, Library or site.
![Page 12: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/12.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
For the business, if …
![Page 13: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/13.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
For the business, if …
First page hit
Subsequent page hits
Create a site,
list or library
File upload (3 MB)
< 5 Seconds < 3 Seconds < 5 Seconds < 5 Seconds
![Page 14: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/14.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
N-Tier, N-Layer
![Page 15: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/15.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Technical Improvements
![Page 16: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/16.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Client Side
Operating System. Install Latest updates. At least Windows 7. Silverlight 3.
Office 2013. Antivirus.
Exclude files from real-time scan for Enterprise computers:
Turn off scanning:Windows Update or Automatic Update related
files Windows Security filesGroup Policy related filesSYSVOL files DFS and DHCP files
![Page 17: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/17.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Client SideMicrosoft Office.
Use the newest Office Version for best compatibilityMicrosoft Office 2010 with Service Pack 2 With KB 2553248
Microsoft Office 2007 with Service Pack 2 With KB 2583910
Microsoft Office for Mac 2011 with Service Pack 1
Microsoft Office 2008 for Mac version 12.2.9
Support ends April 9, 2013.
Internet Explorer. SharePoint 2013 supports several commonly used web browsers, such as Explorer, Google Chrome, Mozilla Firefox
and Apple Safari. However, certain web browsers could cause some SharePoint 2013 functionality to be downgraded, limited, or available only through alternative steps.
Supported: Internet Explorer 11, Internet Explorer 10, Internet Explorer 9, Internet Explorer 8
![Page 18: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/18.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning NetworkLatency between SharePoint Server and SQL Server should be less than 1msHost all the servers in the same datacenter. /!\ If the datacenter has a problem, your SharePoint farm can be down /!\Don’t use Network Load Balancing (NLB), but a real load balancer like
VLANs can provide significant throughput gains: • VMs on the same VLAN can communicate through the
virtual switch, network traffic is faster because it does not have to use the physical network adapter.
• As it’s software-based, a virtual machine can easily be moved between hosts and still keeps its network configuration.
![Page 19: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/19.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Windows Server performance options
Computer > Properties > Advanced system settings > Performance > Settings > Visual Effects
![Page 20: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/20.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Determine page file size
Factor 1,5 of the server RAM. Ex: 8192 MB RAM x 1,5 = 12288 MB page file
Computer > Properties > Advanced system settings > Performance > Settings > Advanced > Virtual Memory > Settings
![Page 21: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/21.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Use the proper power plan
High Performance
Start > Control Panel > Power Options
![Page 22: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/22.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Stop / disable unused services
•Spooler•AudioSrv•TabletInputService•WerSvc services
![Page 23: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/23.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Loopback check
On test servers or use BackConnectionHostNames in a Production environment
![Page 24: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/24.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Patching
Install latest OS and SharePoint updates (If necessary!)
![Page 25: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/25.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
SQL Alias
cliconfg.exe• Operational tasks• maintenance is easier.• Upgrades• Downgrades
![Page 26: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/26.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Windows Firewall
Manually define the SQL rules on the Windows Firewall•1433 (TCP)•1434 (UDP)
![Page 27: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/27.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Antivirus
Exclude files from real-time scan
Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions
Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Logs
Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Data\Applications
![Page 28: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/28.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning Windows Server
Reduce I/O
System, Log and Index files should be on separate disks.• C: System• G: Index• H: Logs
![Page 29: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/29.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL Server
Physical vs Virtual•Easier to scale up & down•Hyper-V Cluster in Windows Server 2012 will allow you to easily move machines between hosts when there are updates or problems•Can be easier to recover at DR. You're not in the position to reload the OS, reload SQL Server
![Page 30: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/30.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL Server
Small Farm Deployment (0-500GB of Data)
Medium Farm Deployment (501-1TB of data)
Large Farm Deployment (1-2TB of Data)
Very Large Farm Deployment (2-5 TB of Data)
Special Cases
RAM 8 16 32 64 64+
CPU 4 4 8 8 8
![Page 31: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/31.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL ServerDedicated SQL Server
For optimal performance when operating server farms, we recommend that you install SQL Server 2008 R2 with SP1 and SQL Server 2012 on a dedicated server that is not running other roles of farm and n 'not host databases for other applications
Dedicated InstanceNamed SQL Instance (do not use the default)
![Page 32: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/32.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL Server
Collation: Latin1_General_CI_AS_KS_WSCannot be changed after wise
Windows AuthenticationNo Mixed Mode
![Page 33: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/33.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL ServerCreate your Databases with PoSH
![Page 34: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/34.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL Server
•Use a dedicated search instance > 10’000’000 items •Antivirus: Exclude data files, transaction logs and backup files from real-time scan• Install only features and components you need. SharePoint only requires: Database Engine Services•Do not enable Statistics
![Page 35: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/35.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL Server
•Set min. and max. Server• /!\ Total amount memory x 0,80 /!\ The default value of
SQL Server for Maximum Memory is : 2147483647 MB
•Maximum fill factor per index (80%)•Activate backup compression• It’s faster and needs less disks space
•Max Degree of Parallelism (MAXDOP) = 1• Prerequisite for SharePoint 2013
![Page 36: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/36.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL Server• NFTS Allocation Unit Size: 64K• SQL reads and writes 64K at a time, but your disk allows
only 4K by default. This change alone may show you up to 30% improvement in speed.• “chkdsk c:”
![Page 37: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/37.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL Server
• It is highly recommended to use RAID 10 for your databases because RAID 5 has a bad write performance.
![Page 38: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/38.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL Server• Model Database
Every time a new Content Database is created by SharePoint to store your Web Application, SQL uses the information in the Model Database to create it.
Initial Size:This will help performance, as SQL won’t have to constantly ask for more space to store
data.
Auto Growth:Do not keep the default value which is 1 MB. When a document of 5 MB is
uploaded, it means there are 5 Autogrowth which are activated. In fact, there are 5 allocations of space which must slow your system.
Moreover, your uploaded document will be fragmented across your different data files. This configuration will decrease your performance a second time.
![Page 39: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/39.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SQL ServerData prioritization among faster disks (descending)• Temp DB data files• Temp DB logs• Content DB logs• Search DB data files• Content DB data files• Search DB logs• SharePoint data files• SharePoint logs
![Page 40: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/40.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SharePoint Server (architecture)
• Content Databases shouldn’t be more than 200GB• Backup / Restore• Operational tasks
• 5000 Site collections per Content Database• 10 Application Pools (can be extended depending hardware)• 20 web Applications per SharePoint Farm•Don’t use the Product Configuration Wizard
![Page 41: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/41.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SharePoint Server (settings)
•Set Quotas on all Web Applications•Disable Certificate Revocation List•Authentication•Anonymous, Claims, Kerberos, NTLM, Forms, ADFS
•Wake-Up•Only extend if you have a different authentication protocol.
![Page 42: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/42.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SharePoint Server (Search)
•Distribute the load on multiple crawl servers•Throttle crawling, adjust crawling schedule• Incremental vs continuous crawl•Content sources
• Group by
![Page 43: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/43.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SharePoint Server (Search)
![Page 44: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/44.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SharePoint Server caching
•Distributed Cache• 5% of RAM is used for Newsfeed, Microblogging etc..
•Object Cache ( SuperUser, SuperReader)•Client Cache (Websites with CSS, Javascript)•Output cache (caches SC, Publishing features)
![Page 45: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/45.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SharePoint Server (Resource-intensive Service Applications)
•Excel Service Application •Search Service Application•Usage and Health Data collection•User Profile Service Application
![Page 46: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/46.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning SharePoint Server (Performance killer)
•Application Pool Recycle && IISReset•Crawl Jobs (continuous crawl)•Backup Jobs•Large list operations
![Page 47: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/47.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning PowerShell
•Try to avoid –Force•Use the Force switch only for fixing broken deployments of SharePoint Packages. Not only it makes SharePoint stop affected Application Pools but also it prevents you from seeing errors should there be any.
![Page 48: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/48.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Fine-tuning PowerShell
•Scope your Solutions with PoSH•When a solution is deployed globally, all SharePoint application pools, including Central Administration’s, are recycled automatically. This can be good and bad. This is good because any GAC installed DLL that has been upgraded needs to be reloaded. This can be bad though with regards to the availability of your entire SharePoint Farm.
![Page 49: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/49.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
Questions ?
![Page 50: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/50.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
#2 – yOS-Day à Montpellier le 12 juin 2015
Merci à nos sponsors
![Page 51: SharePoint 2013 best practices](https://reader038.fdocuments.us/reader038/viewer/2022102706/55b6e5f0bb61eb86688b463f/html5/thumbnails/51.jpg)
yOS-Tour - yOS-Day ©2015. All rights reserved.
#2 – yOS-Day à Montpellier le 12 juin 2015