Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration Mistakes

71
24 September 2015 Top 15 SharePoint Server 2013 configuration and off loaded service mistakes, which lead your company to move to the cloud. Gokan Ozcifci Managing Consultant Neoxy, MVP.

Transcript of Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration Mistakes

Top 15 SharePoint Server 2013 configuration and off loaded service mistakes, which lead your company to move to the cloud.Gokan OzcifciManaging Consultant Neoxy, MVP.

24 September 2015

Hi. Im Gokan.Brussels, BELGIUMneoxy.beSharePoint MVP

Community Member@GokanOzcifcihttp://gokan.ms

Sorry for the French accent!

My apologies for the strange accent, but English can be weird. /!\ It can be understood through tough thorough thought, though. /!\

AgendaWindows ServerSQL ServerSharePoint ServerOffice 365MonitoringPatchingClients

Azure & O365Exchange & Lync + VoiceCloud ReadyWindows ServerAuthentication and AuthorizationSystem Center 2012 ITSM / ITILMigrationsIntegrationsOTB WorkflowsDashboardsHome Made Applications

Portals And Intranets

ReportsOffice PackInfrastructureBusiness ProductivitiesThe Microsoft Expertise. A real added value.The difference in Vision

InfrastructureBusiness ProductivitiesThe Microsoft Expertise. A real added value.The difference in Vision

SharePoint is down!

According to Gartner early last year (2013) and repeated by Microsoft at their Worldwide Partner Conference (WPC13) in Houston, in the next 6-8 years:35% of existing SharePoint customers will never move to the cloud15% will become pure cloud customers50% will adopt a hybrid SharePoint platform

Statistics

One year later, at the Worldwide Partner Conference in Washington DC (WPC14), a senior Microsoft leader admitted hybrid was bigger than earlier estimated:15-20% of existing SharePoint customers will never move to the cloud10% will become pure cloud customers70-75% will adopt a hybrid SharePoint platformStatistics

Through at least 2025, at least 25% of enterprises will choose to keep their core communications and collaboration systems on-premises due to security and privacy concerns.

Several new features from Microsoft such as Delve, Clutter and Office for iOS/Android are only available to cloud customers.

Statistics

StatisticsMicrosoft is clearly shifting to a "cloud-first" and even a "cloud-only development process in some cases.

On-premises users will generally pay more, get less and wait longer for enhancements and new functionality as a natural result of these cloud-friendly policies.

Microsoft has shared limited statistics on how Office 365 is being adopted, but did provide some detail into the reasons why customers purchased Office 365:90% use the platform for 06% use the platform for 04% use the platform for

Statistics

Windows ServerTips and Tricks

Fine-tuning Windows ServerWindows Server performance options

Computer > Properties > Advanced system settings > Performance > Settings > Visual Effects

Fine-tuning Windows ServerUse the proper power plan | High PerformanceStart > Control Panel > Power Options

Fine-tuning Windows ServerReduce I/O

System, Log and Index files: C: SystemG: IndexH: Logs

Fine-tuning Windows ServerStop / disable unused services

SpoolerAudioSrvTabletInputServiceWerSvc services

Fine-tuning Windows ServerDetermine 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

Latency 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 /!\Dont use Network Load Balancing (NLB), but a real load balancer likeIn case of problem: Requests to one serverRemove the load (http requests)/!\ 3 is the new 2 /!\Fully Redundant SharePoint Farm/!\ 7 is the new 5 /!\Importance of a Load Balancer

Use a Swap Serverd: is the production of your developersq: is the production of your content ownersp: is the production of your BusinessScript as much as possibleCreate your own PowerShell (PoSH) FrameworkUse the object modelWeb.Config

Regroup operational tasks

SQL ServerTips and Tricks

cliconfg.exeOperational tasksmaintenance is easier.UpgradesDowngrades

SQL Server Alias

SharePoint & Always On Availability Groups

isa24

SQL 1SharePoint Farm 1SQL 2

New YorkHigh Availability Synchronous

Always On Availability& SharePoint

Presentation Title25

SQL 1SharePoint Farm 1SQL 2Synchronous

Always On Availability& SharePointHigh Availability

New York

Presentation Title26

DatabaseSupportedAdmin ContentYesApp ManagementYesBDC YesConfigYesContentYesManaged MetadataYesPerformancePointYesPowerPivotNot TestedProjectYesSearch Analytic ReportingYesSearch AdminYes

DatabaseSupportedSearch CrawlYesSearch LinksYesSecure StoreYesState ServiceYesSubscription SettingsYesTranslation ServicesYesUPA Profile YesUPA SocialYesUPA SyncYesUsage(=loggingDB)Yes Word AutomationYes

Database Support Sync Commit

Presentation Title27

SQL 1SQL 2

SQL 3

AsynchronousDisasterRecovery

Synchronous

DR with Always On Availability Groups & SharePointNew YorkBrusselsSharePoint Farm 1SharePoint Farm 2

Presentation Title28

DatabaseSupportedAdmin ContentNoApp ManagementYesBDC YesConfigNoContentYesManaged MetadataYesPerformancePointYesPowerPivotNot Tested*ProjectYesSearch Analytic ReportingNoSearch AdminNo

DatabaseSupportedSearch CrawlYesSearch LinksYesSecure StoreYesState ServiceNoSubscription SettingsYesTranslation ServicesYesUPA Profile YesUPA SocialYesUPA SyncNoUsageYesWord AutomationYes

Database Support Async Commit

Presentation Title29

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 CasesRAM816326464+CPU44888

SQL Server - RAM

Dedicated 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 does not host databases for otherCollation: Latin1_General_CI_AS_KS_WSCannot be changed afterwards

Fine Tuning SQL Server

NFTS Allocation Unit Size: 64KSQL 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:Cannot be changed afterwards. Format disk is necessary.

Fine Tuning SQL Server

Fine-tuning SQL ServerSet min. and max. Server/!\ Total amount memory x 0,80 /!\ The default value of SQL Server for Maximum Memory is : 2147483647 MBMaximum fill factor per index (80%)Activate backup compressionIts faster and needs less disk spaceMax Degree of Parallelism (MAXDOP) = 1Prerequisite for SharePoint 2013

Fine-tuning SQL ServerUse a dedicated search instance > 10000000 items Antivirus: Exclude data files, transaction logs and backup files from real-time scanInstall only features and components you need. SharePoint only requires: Database Engine ServicesDo not enable Statistics

Create your Databases with PoSH

Fine Tuning SQL Server

Fine-tuning SQL ServerData prioritization among faster disks (descending)Temp DB data filesTemp DB logsContent DB logsSearch DB data filesContent DB data filesSearch DB logsSharePoint data filesSharePoint logs

SharePoint ServerTips and Tricks

It covers a huge set of individual technologies under the Platform umbrella

Its continuously changingKnow when to use OOTB vs CCKnow your users (aka Yammer haters )

Understand SharePoint

Distribute the load on multiple crawl serversThrottle crawling, adjust crawling scheduleIncremental vs continuous crawlContent sourcesGroup bySharePoint Fine Tuning

SharePoint Fine Tuning

Fine-tuning SharePoint Server (Resource-intensive Service Applications)Excel Service Application Search Service ApplicationUsage and Health Data collectionUser Profile Service Application

Application Pool Recycle && IISResetCrawl Jobs (continuous crawl)Backup JobsLarge list operationsSharePoint Fine Tuning

Distributed Cache5% of RAM is used for Newsfeed, Microblogging etc..Object Cache ( SuperUser, SuperReader)Client Cache (Websites with CSS, Javascript)Output cache (caches SC, Publishing features)SharePoint Fine Tuning

Content Databases shouldnt be more than 200GBBackup / RestoreOperational tasks5000 Site collections per Content Database10 Application Pools (can be extended depending on hardware)20 web Applications per SharePoint FarmDont use Product Configuration WizardSharePoint Fine Tuning

Set Quotas on all Web ApplicationsDisable Certificate Revocation ListAuthenticationAnonymous, Claims, Kerberos, NTLM, Forms, ADFSWake-UpOnly extend if you have a different authentication protocol.SharePoint Fine Tuning

New Service Applications (Machine Translation)Offloaded Services: Yammer, OneDrive for Business, Office Web Apps, Workflow ManagerImproved Service Applications (Fast)Not UI Binded 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,

Understand SharePoint

Not supported: Dynamic Memory Discontinued : Web AnalyticsPrerequisites: Hardware and software requirements for a single server with a built-in database:24 GB, 64-bit, 4 cores, 80 GB for system driveSQL Server 2014 requires the May 2014 CU to be installedWindows Server 2012 R2 is only supported on a SharePoint Server 2013 Service Pack 1 environmentUnderstand SharePoint

Share services across farmsBusiness Connectivity Services, Managed Metadata Service, Search Service (Crawl, Index, Query), Secure Store Service, User Profile ServiceApp Management Service = NOT!New way of works: HNSCClaims: expect a grat deal of work if you have custom code which is dealing with Classic code and upgrades. Its recommended to set your authentication model in 2010 as Claims, then to migrate.

Understand SharePoint

Office 365Tips and Tricks

No Maintenance. No Updates. No Upgrades.No Scripting. No Hardware costs.No Backup.No (Reduce) Costs. Office 365 AdvantagesStorage (OneDrive and SharePoint).Delve.iOS Apps.Remote working.External Sharing.Clutter / Groups.

SharePoint DrawbacksPerformance: Working on it.Licenses: Windows, SQL, SharePoint, Office 2013, Office Web Apps Licenses and CALsMaintenance: Consultant costs ( he costs a lot )Upgrades/Downgrades: What does each hour of downtime cost your business?SQL Server: Keeping Default SharePoint Database SettingsIT Infrastructure related errors: DNS, WAF, F5, Hyper-V Scrimping on RAMThe magic Farm Configuration Wizard

According to Microsoft: there is a few methods available to minimize the amount of downtime; however its just not possible to achieve a zero downtime solution for your upgrade. A common way to minimize downtime is via implementation of a parallel upgrade farm.

Zero Downtimeshould be possible with #SP2016

SharePoint is a PLATFORMListLibraryDNS ErrorServerCorrelation IDSiteApplication DomainSlow

For the business, if

N-Tier, N-Layer

MonitoringTips and Tricks

Monitor the complete SharePoint Server environmentMonitor database space usageMonitor the status and health of SharePoint services and Web applications, as well as the uptime of the SharePoint serverMonitor the default Search service and crawl statusMonitor Recycle Bin usage and ensure the Recycle Bin does not exceed the site quota.Monitor and report on how long the SharePoint server has been running since the last reboot

You should know it before business

PatchingTips and Tricks

Patching

Your simple SharePoint Farm

Patching on server 1

Backward capability mode. Needs Config Needed.

Patching on server 2

Server 1; PS Config

Server 2; PS Config

Farm is up again

Don't Install CUs AutomaticallyThe CUs will now show up in Windows Update as Important updates, meaning that they get installed automatically, without notice.'Download only' or WSUS [Windows Server Update Services]If custom components are used, they can break some functionalities. Testers are needed.No real governance for Dev Non-Prod and Prod environments.Patching

ClientsTips and Tricks

Fine-tuning Client SideOperating System. Install Latest updates. [/WSUS]Antivirus. Exclude files from real-time scan for Enterprise computers:Turn off scanning:Windows Update or Automatic UpdateWindows Security filesGroup Policy related filesSYSVOL files DFS and DHCP files

Fine-tuning Client SideMicrosoft Office. Use the latest Office Version for best compatibility

Internet Explorer.

Supported: Internet Explorer 11, Internet Explorer 10, Internet, Explorer 9, Internet Explorer 8

Summary

If budget is no problemIf you cant promise 99,99% uptimeIf you dont have the knowledgeIf you have an existing SharePoint that fits the business requirementsIf the cloud is nogo for you.Custom Codes, layouts, settings,

Use SharePoint Server, if

66

If the cloud is not a problem for your organisationIf you cant handle SharePoint and its friendsIf you dont have the budget for a Fully Redundant Farm or consultantsIf you have to begin from scratchIf you want to have all new features/solutions and pay less.Cant promise 99,9% of SLA

Use SharePoint Online, if

67

SummaryPerformance - it dependsOther platforms also matterSharePoint is fast, but depends much on othersYou can improve, improve and improve

https://technet.microsoft.com/en-us/library/cc748824.aspx https://technet.microsoft.com/en-us/library/jj715263.aspxhttp://blogs.msdn.com/b/sambetts/archive/2013/08/22/sharepoint-farm-patching-explained.aspx

References

questions?

thank you.