SlideShare a Scribd company logo
1 of 49
4th of March 2017
@MS HQ Munich
SharePoint Patching Demystified
#SPSMUC22
Stefan Goßner
Senior Escalation Engineer
Microsoft GmbH
@stefan_gossner
https://blogs.technet.microsoft.com/stefan_gossner
• Downtime happens…
• …while installing the binaries
• Services have to be stopped before installing the binaries and restarted afterwards
• …while upgrading the content database
• Stored Procs, Functions and Triggers are dropped and recreated during DB upgrade
• Exceptions can occur if elements are missing while SharePoint tries to access them
• To prevent problems accessing SharePoint content while the database is upgraded is
unsupported and untested
See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
SP2013 –Downtime during Patching
• Installing the binaries
• Ensure to have at least two server per role
• allows to install the patch binaries without downtime
• Steps:
• Remove first server from LB
• patch it
• add it back to LB
• repeat with other servers
• Patched servers run in backward compatibility mode
• Servers with newer binaries can work with databases with older patch level
• Reduce Patch installation time by disabling services (Russ Maxwells Script)
See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
See: https://blogs.msdn.microsoft.com/russmax/2013/04/01/why-sharepoint-2013-cumulative-update-takes-5-hours-to-install/
SP2013 – minimizing downtime patching
• Upgrade databases
• Use PowerShell to upgrade content databases
• Allows to upgrade multiple databases in parallel in different PowerShell sessions
• Reduces downtime compared to DB upgrade with PSConfig
• Downtime occurs while (e.g.) stored procs are deleted/replaced
• With SQL Enterprise use snapshots to minimize downtime
• Allows to use SharePoint in read-only mode during db upgrade
• Upgrade-SPContentDatabase -UseSnapshot …
• After all Content-DB have been upgraded run PSConfig / PSConfigUI
• Aside other things this will upgrade the remaining SharePoint databases
See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
SP2013 – minimum downtime patching
• Binary installation changes
• Number of packages has been reduced
• Reduced installation time (Russ Maxwells script no longer required)
• Database upgrade changes
• No need to use Snapshots!
• Better without as this will lead to read-only content databases
• It is supported to use SharePoint during DB upgrade
• DB upgrade can be done on the fly
• These steps are long tested in SPO
See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
SP2016 – zero downtime patching
“What if I have multiple web front end servers
and have to patch them one by one as half of
them are not sufficient to deal with my load?”
• Adds version number to script URLs
• ensures serving same
scripts from all servers in
the farm independent of
patch level
• ensure that clients are
using the most current
scripts independent from
proxy or browser caches
after patching
• Administrator configures
the version to be used for
the whole farm
SP2016 – Side by Side functionality
• Enable Side by Side functionality
• First time use: create side by side files for current
patch level
SP2016 – Side by Side functionality
SP2016 – Side by Side functionality
• Configure the side-by-side directory to be used
• Now all javascript files will be served from the side-
by-side directory
SP2016 – Side by Side functionality
• Now install the updates using the zero-downtime
patching steps
• As side-by-side patching is enable: new side-by-side
directory will automatically be created by PSConfig
SP2016 – Side by Side functionality
• Configure the new side-by-side directory to be used
SP2016 – Side by Side functionality
• Service Packs
• Cumulative Updates
• „Uber“ or Server Packages
• Public Updates – distributed using Microsoft Update,
subset of Cumulative Updates
• Security Fixes – subset of Public Updates
Important: SharePoint updates cannot be uninstalled.
Patching = Build to Build Upgrade
• Service Pack contains
• All previously fixes
• Potentially new functionality
• Sets a new patch baseline
• Cumulative Updates require a specific patch baseline to be present
• Fixes released more than 12 month after the service pack will not install if the service pack
baseline is not present
• Needs to be installed within 12 months after release
• Cumulative Update contains
• All previously released fixes for the patched component since the oldest
supported baseline
• Usually no new functionality (except feature packs for SharePoint 2016)
Service Pack vs Cumulative Update
• Common Statement:
„We cannot install a new service pack as our IT department requires more
intensive testing for installing a SP than for a hotfix (CU)“
• It should be the opposite because
• Service Packs undergo far more testing by Microsoft than CUs
• Service Packs contain the same fixes as previous CUs
• A CU includes all the fixes included in a previous Service Pack as well
• Installing a CU does not have less impact than installing a Service Pack
Service Pack vs Cumulative Updates
• Language independent and language dependent components
• coreserver-x-none.msp <- language independent
• coreservermui-en-us.msp <- language dependent (e.g. *.resx, *.js, *.css …)
• coreservermui-de-de.msp
• coreservermui-fr-fr.msp
• coreservermui-pt-pt.msp
• … (overall 50 different languages)
• Installing language pack after CU requires CU to be applied again
to get language dependent files for new language pack patched
CUs – Patchable Components
• 13*(x+1) patchable components
• sts / wssmui-* – Core SharePoint Foundation components
• coreserver, coreservermui-* – Core SharePoint server component
• acsrvwfe, acsrvmui-* – Access Server component
• eduwfe, edumui-* – Education Server component
• ifswfe, ifsmui-* – Infopath Form Server component
• lpsrvwfe, lpssrvmui-* – Slide library component
• osfserver, osfservermui-* – SharePoint 2013 workflow component
• ppsmawfe, ppsmamui-* – SharePoint BI and analytics component
• pptserver, pptservermui-* – PowerPoint conversion service component
• sms, smsmui-* – translation service component
• vsrvwfe, vsrvmui-* – Visio service component
• wdsrv, wdsrvmui-* – Word automation services component
• xlsrvwfe, xlsrvmui-* – Excel services component
Patching Granularity – SP2013
• All SharePoint fixes are cumulative per component
• Not every CU includes fixes for all components
Cumulative Update
Patching of SharePoint components
„Uber“ Packages
• All SharePoint fixes are cumulative per component
• Uber package contains also fixes for components
patched in previous CUs
• Uber packages simplifies keeping a consistent patch
level
Cumulative Update vs. Uber Package
• (x+1) patchable components
• sts – language independent parts of SharePoint Server + Project Server
• sts-x-none
• wssmui – language dependent parts of SharePoint Server + Project Server
• wssmui-en-us.msp
• wssmui-de-de.msp
• wssmui-fr-fr.msp
• wssmui-pt-pt.msp
• … (overall 51 different languages)
• Only two components  No need for Uber packages
Patching Granularity – SP2016
• Benefits:
• Reduced install time (each MSP stops and restarts the SharePoint application
pools and OWSTIMER)
• Reduced package size (in SP2013 multiple components rely on the same dlls
which have to be included in each MSP)
• Caveat:
• Reduced granularity for SharePoint security fixes
Patching Granularity – SP2016
• Include Security fixes and other important fixes
• Cumulative for the same component
• Includes also all non-security fixes for the same component released in the same
and previous months
• Distributed through Microsoft Update
• Should be evaluated and installed as soon as possible
• Included in CUs released in the same and later months
Public Updates
Public Updates
Build Numbers
• Major = Office 15
• Minor = always 0
• Build = Internal build number
• 4420 = RTM
• 4571 = SP1 - rereleased
• 4833 = June 2016 Cumulative Update
• Revision = Update type
• 15xx = Service Pack mainly
• 30xx = Private build
• 10xx = Cumulative Update
• 500x = COD Build or regression update
• Patch baseline set by service packs
• One exception: March 2013 PU for SP2013 also set a new baseline
• CUs/PUs include changes since a given baseline
• Often we support more than one baseline
• RTM + SP1, Old-SP1 + New SP1, SP1 + SP2, …
• Patch level determines which patches are installed
• E.g. March 2016 CU patch level on top of a SP1 baseline
Patch level vs. Patch baseline
• Extract the patch using /extract:path flag
• Inspect the XML for the msp (e.g. acsrvmui-de-de.xml)
Identifying the required patch baseline
• For simple scenarios:
• Powershell script from my blog
• https://blogs.technet.microsoft.com/stefan_gossner/2015/04/20/powershell-script-to-display-version-info-for-installed-
sharepoint-product-and-language-packs/
• For more complex scenarios:
• Roiscan vbs script written by Holger Bolduan, one of my colleagues from the
Office Support Team
• https://gallery.technet.microsoft.com/office/68b80aba-130d-4ad4-aa45-832b1ee49602
Identifying installed patch baseline
• Does not exist!
• Each component has it‘s individual patch level
• You cannot look at a single version number
• Config DB Version in CA is not a farm patch level!
• (get-spfarm).buildversion is not a farm patch level!
• Look at the patch level of each component
Farm Patch level
SharePoint Version numbers – Overview
• June 2016 CU
15.0.4833.1000
• July 2016 CU
15.0.4841.1000
(Typical file version numbers after applying July 2016 CU)
File Version
Farm Patch level
Farm Patch level
Patch Status Page in Central Admin
• Patching Order:
• Service farms
• My site farm
• Content farms
• Service farms support connections with consumer
farms on lower patch level.
• Consuming services from a farm with an older
version of the software can cause issues.
Multi-Farm Environments
• PSCONFIG is required after all(!) SharePoint fixes
• Service Packs
• CUs
• PUs
• PSCONFIG operations
• Update database schema
• Copy updated DLLs to _app_bin directories
• Installs new and updated features
• Installs new and updated SharePoint services
• Updates Filesystem ACLs
• …
See: https://blogs.technet.microsoft.com/stefan_gossner/2015/09/09/why-we-recommend-require-to-run-the-configuration-wizard-also-for-
security-fixes/
When to use PSCONFIG
• PSConfigUI
• Runs all required steps automatically
• Cannot be automated
• PSConfig
• Only executes the steps specified in the command (granularity)
• Can be automated
• Recommended command:
• PSConfig.exe
-cmd upgrade -inplace b2b -wait
-cmd applicationcontent -install
-cmd installfeatures
-cmd secureresources
-cmd services -install
See: https://blogs.technet.microsoft.com/stefan_gossner/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/
How to use PSConfig
• IIS website deleted for SPWebApplication
• Web.config missing in IIS website
• Features used in sites/site collections removed from
farm / machine
See: https://support.microsoft.com/en-us/kb/944267
Common Problems
• PSConfig reports upgrade required
• Fix missing?
• Config DB info is out of sync with actual patch level
• Get-SPProduct -local
Common Problems
• Check PSCDiagnostics log
• Check upgrade log
Troubleshooting
• Enhanced Error Reporting
• SP2016: Aug 2016 CU
• SP2013: Dec 2016 CU
With recent CU installed
Q&A
Thank you!

More Related Content

What's hot

Best Practices for Installing IBM Verse on Premises
Best Practices for Installing IBM Verse on PremisesBest Practices for Installing IBM Verse on Premises
Best Practices for Installing IBM Verse on PremisesTimsterC
 
Unleashing the Power: A Lap Around PowerShell 3.0
Unleashing the Power: A Lap Around PowerShell 3.0Unleashing the Power: A Lap Around PowerShell 3.0
Unleashing the Power: A Lap Around PowerShell 3.0Sarah Dutkiewicz
 
June OpenNTF Webinar - Domino V12 Certification Manager
June OpenNTF Webinar - Domino V12 Certification ManagerJune OpenNTF Webinar - Domino V12 Certification Manager
June OpenNTF Webinar - Domino V12 Certification ManagerHoward Greenberg
 
January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12Howard Greenberg
 
Planning & Completing An IBM Connections Upgrade
Planning & Completing An IBM Connections UpgradePlanning & Completing An IBM Connections Upgrade
Planning & Completing An IBM Connections UpgradeGabriella Davis
 
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1ICS User Group
 
Domino on docker version 2
Domino on docker version 2Domino on docker version 2
Domino on docker version 2Slobodan Lohja
 
1084: Planning and Completing an IBM Connections Upgrade
 1084: Planning and Completing an IBM Connections Upgrade 1084: Planning and Completing an IBM Connections Upgrade
1084: Planning and Completing an IBM Connections UpgradeGabriella Davis
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administratorsSharon James
 
Windows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementWindows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementSharkrit JOBBO
 
Connections install in 45 mins
Connections install in 45 minsConnections install in 45 mins
Connections install in 45 minsSharon James
 
How to use the new Domino Query Language
How to use the new Domino Query LanguageHow to use the new Domino Query Language
How to use the new Domino Query LanguageTim Davis
 
October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...
October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...
October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...Howard Greenberg
 
An XPager's Guide to Process Server-Side Jobs on Domino
An XPager's Guide to Process Server-Side Jobs on DominoAn XPager's Guide to Process Server-Side Jobs on Domino
An XPager's Guide to Process Server-Side Jobs on DominoFrank van der Linden
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSharon James
 
Dutch VMUG 2010 PowerCLI Presentation
Dutch VMUG 2010 PowerCLI PresentationDutch VMUG 2010 PowerCLI Presentation
Dutch VMUG 2010 PowerCLI PresentationAlan Renouf
 
IBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
IBM Connect 2016 - 60+ in 60 - Admin Tips Power HourIBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
IBM Connect 2016 - 60+ in 60 - Admin Tips Power HourChris Miller
 

What's hot (20)

Best Practices for Installing IBM Verse on Premises
Best Practices for Installing IBM Verse on PremisesBest Practices for Installing IBM Verse on Premises
Best Practices for Installing IBM Verse on Premises
 
Life in the Fast Lane: Full Speed XPages!, #dd13
Life in the Fast Lane: Full Speed XPages!, #dd13Life in the Fast Lane: Full Speed XPages!, #dd13
Life in the Fast Lane: Full Speed XPages!, #dd13
 
Unleashing the Power: A Lap Around PowerShell 3.0
Unleashing the Power: A Lap Around PowerShell 3.0Unleashing the Power: A Lap Around PowerShell 3.0
Unleashing the Power: A Lap Around PowerShell 3.0
 
Ms vs ibm_v1.3
Ms vs ibm_v1.3Ms vs ibm_v1.3
Ms vs ibm_v1.3
 
June OpenNTF Webinar - Domino V12 Certification Manager
June OpenNTF Webinar - Domino V12 Certification ManagerJune OpenNTF Webinar - Domino V12 Certification Manager
June OpenNTF Webinar - Domino V12 Certification Manager
 
January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12
 
Planning & Completing An IBM Connections Upgrade
Planning & Completing An IBM Connections UpgradePlanning & Completing An IBM Connections Upgrade
Planning & Completing An IBM Connections Upgrade
 
Self Healing Capabilities of Domino 10
Self Healing Capabilities of Domino 10Self Healing Capabilities of Domino 10
Self Healing Capabilities of Domino 10
 
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
 
Domino on docker version 2
Domino on docker version 2Domino on docker version 2
Domino on docker version 2
 
1084: Planning and Completing an IBM Connections Upgrade
 1084: Planning and Completing an IBM Connections Upgrade 1084: Planning and Completing an IBM Connections Upgrade
1084: Planning and Completing an IBM Connections Upgrade
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
 
Windows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementWindows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server Management
 
Connections install in 45 mins
Connections install in 45 minsConnections install in 45 mins
Connections install in 45 mins
 
How to use the new Domino Query Language
How to use the new Domino Query LanguageHow to use the new Domino Query Language
How to use the new Domino Query Language
 
October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...
October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...
October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...
 
An XPager's Guide to Process Server-Side Jobs on Domino
An XPager's Guide to Process Server-Side Jobs on DominoAn XPager's Guide to Process Server-Side Jobs on Domino
An XPager's Guide to Process Server-Side Jobs on Domino
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
 
Dutch VMUG 2010 PowerCLI Presentation
Dutch VMUG 2010 PowerCLI PresentationDutch VMUG 2010 PowerCLI Presentation
Dutch VMUG 2010 PowerCLI Presentation
 
IBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
IBM Connect 2016 - 60+ in 60 - Admin Tips Power HourIBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
IBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
 

Similar to SPSMUC22 - SharePoint Patching Demystified

An introduction to the office devpnp community initiative
An introduction to the office devpnp community initiativeAn introduction to the office devpnp community initiative
An introduction to the office devpnp community initiativeNigel Price
 
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1Knut Relbe-Moe [MVP, MCT]
 
The Art of Sitecore Upgrades
The Art of Sitecore UpgradesThe Art of Sitecore Upgrades
The Art of Sitecore UpgradesRuud van Falier
 
Understanding SharePoint Framework Extensions
Understanding SharePoint Framework ExtensionsUnderstanding SharePoint Framework Extensions
Understanding SharePoint Framework ExtensionsBIWUG
 
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...SPS Monaco
 
SPS vancouver is it possible to do devops with SharePoint Framework
SPS vancouver is it possible to do devops with SharePoint FrameworkSPS vancouver is it possible to do devops with SharePoint Framework
SPS vancouver is it possible to do devops with SharePoint FrameworkVincent Biret
 
Upgrade webinar
Upgrade webinarUpgrade webinar
Upgrade webinarShanesCows
 
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...BIWUG
 
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practicesSPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practicesKnut Relbe-Moe [MVP, MCT]
 
Sps monaco vincent biret spfx devops
Sps monaco vincent biret spfx devopsSps monaco vincent biret spfx devops
Sps monaco vincent biret spfx devopsVincent Biret
 
SPCA2013 - Upgrade to SharePoint 2013 - A Cautioned Approach
SPCA2013 - Upgrade to SharePoint 2013 - A Cautioned ApproachSPCA2013 - Upgrade to SharePoint 2013 - A Cautioned Approach
SPCA2013 - Upgrade to SharePoint 2013 - A Cautioned ApproachNCCOMMS
 
Upgrading to Cognos Analytics Release 4: What You Need to Know
Upgrading to Cognos Analytics Release 4: What You Need to KnowUpgrading to Cognos Analytics Release 4: What You Need to Know
Upgrading to Cognos Analytics Release 4: What You Need to KnowSenturus
 
Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)Fabio Franzini
 
Office Add-ins community call-March 2019
Office Add-ins community call-March 2019Office Add-ins community call-March 2019
Office Add-ins community call-March 2019Microsoft 365 Developer
 
IberianSPC - SharePoint 2013 Upgrade
IberianSPC - SharePoint 2013 UpgradeIberianSPC - SharePoint 2013 Upgrade
IberianSPC - SharePoint 2013 UpgradeMichael Noel
 
INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11Senturus
 
A Deep Dive into SharePoint 2016 architecture and deployment
A Deep Dive into SharePoint 2016 architecture and deploymentA Deep Dive into SharePoint 2016 architecture and deployment
A Deep Dive into SharePoint 2016 architecture and deploymentSPC Adriatics
 
Learn from my Mistakes - Building Better Solutions in SPFx
Learn from my  Mistakes - Building Better Solutions in SPFxLearn from my  Mistakes - Building Better Solutions in SPFx
Learn from my Mistakes - Building Better Solutions in SPFxThomas Daly
 

Similar to SPSMUC22 - SharePoint Patching Demystified (20)

An introduction to the office devpnp community initiative
An introduction to the office devpnp community initiativeAn introduction to the office devpnp community initiative
An introduction to the office devpnp community initiative
 
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
 
The Art of Sitecore Upgrades
The Art of Sitecore UpgradesThe Art of Sitecore Upgrades
The Art of Sitecore Upgrades
 
Understanding SharePoint Framework Extensions
Understanding SharePoint Framework ExtensionsUnderstanding SharePoint Framework Extensions
Understanding SharePoint Framework Extensions
 
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
 
SPS vancouver is it possible to do devops with SharePoint Framework
SPS vancouver is it possible to do devops with SharePoint FrameworkSPS vancouver is it possible to do devops with SharePoint Framework
SPS vancouver is it possible to do devops with SharePoint Framework
 
Upgrade webinar
Upgrade webinarUpgrade webinar
Upgrade webinar
 
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
 
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practicesSPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
 
ECS19 - Robi Voncina - Upgrade to SharePoint 2019
ECS19 - Robi Voncina - Upgrade to SharePoint 2019ECS19 - Robi Voncina - Upgrade to SharePoint 2019
ECS19 - Robi Voncina - Upgrade to SharePoint 2019
 
Sps monaco vincent biret spfx devops
Sps monaco vincent biret spfx devopsSps monaco vincent biret spfx devops
Sps monaco vincent biret spfx devops
 
SPCA2013 - Upgrade to SharePoint 2013 - A Cautioned Approach
SPCA2013 - Upgrade to SharePoint 2013 - A Cautioned ApproachSPCA2013 - Upgrade to SharePoint 2013 - A Cautioned Approach
SPCA2013 - Upgrade to SharePoint 2013 - A Cautioned Approach
 
Upgrading to Cognos Analytics Release 4: What You Need to Know
Upgrading to Cognos Analytics Release 4: What You Need to KnowUpgrading to Cognos Analytics Release 4: What You Need to Know
Upgrading to Cognos Analytics Release 4: What You Need to Know
 
Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)
 
Office Add-ins community call-March 2019
Office Add-ins community call-March 2019Office Add-ins community call-March 2019
Office Add-ins community call-March 2019
 
IberianSPC - SharePoint 2013 Upgrade
IberianSPC - SharePoint 2013 UpgradeIberianSPC - SharePoint 2013 Upgrade
IberianSPC - SharePoint 2013 Upgrade
 
INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11
 
A Deep Dive into SharePoint 2016 architecture and deployment
A Deep Dive into SharePoint 2016 architecture and deploymentA Deep Dive into SharePoint 2016 architecture and deployment
A Deep Dive into SharePoint 2016 architecture and deployment
 
Extreme Makeover OnBase Edition
Extreme Makeover OnBase EditionExtreme Makeover OnBase Edition
Extreme Makeover OnBase Edition
 
Learn from my Mistakes - Building Better Solutions in SPFx
Learn from my  Mistakes - Building Better Solutions in SPFxLearn from my  Mistakes - Building Better Solutions in SPFx
Learn from my Mistakes - Building Better Solutions in SPFx
 

Recently uploaded

A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationHelp Desk Migration
 
Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfDeskTrack
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Soroosh Khodami
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdfStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdfsteffenkarlsson2
 
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024Primacy Infotech
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024Shane Coughlan
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Andrea Goulet
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAShane Coughlan
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfmbmh111980
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1KnowledgeSeed
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAlluxio, Inc.
 
Malaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMalaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMok TH
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...Alluxio, Inc.
 
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfVictor Lopez
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesNeo4j
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfSrushith Repakula
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMarkus Moeller
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignNeo4j
 

Recently uploaded (20)

5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdf
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdfStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
 
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
Malaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMalaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptx
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
 

SPSMUC22 - SharePoint Patching Demystified

  • 1. 4th of March 2017 @MS HQ Munich SharePoint Patching Demystified #SPSMUC22 Stefan Goßner Senior Escalation Engineer Microsoft GmbH @stefan_gossner https://blogs.technet.microsoft.com/stefan_gossner
  • 2.
  • 3.
  • 4.
  • 5. • Downtime happens… • …while installing the binaries • Services have to be stopped before installing the binaries and restarted afterwards • …while upgrading the content database • Stored Procs, Functions and Triggers are dropped and recreated during DB upgrade • Exceptions can occur if elements are missing while SharePoint tries to access them • To prevent problems accessing SharePoint content while the database is upgraded is unsupported and untested See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/ SP2013 –Downtime during Patching
  • 6. • Installing the binaries • Ensure to have at least two server per role • allows to install the patch binaries without downtime • Steps: • Remove first server from LB • patch it • add it back to LB • repeat with other servers • Patched servers run in backward compatibility mode • Servers with newer binaries can work with databases with older patch level • Reduce Patch installation time by disabling services (Russ Maxwells Script) See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/ See: https://blogs.msdn.microsoft.com/russmax/2013/04/01/why-sharepoint-2013-cumulative-update-takes-5-hours-to-install/ SP2013 – minimizing downtime patching
  • 7. • Upgrade databases • Use PowerShell to upgrade content databases • Allows to upgrade multiple databases in parallel in different PowerShell sessions • Reduces downtime compared to DB upgrade with PSConfig • Downtime occurs while (e.g.) stored procs are deleted/replaced • With SQL Enterprise use snapshots to minimize downtime • Allows to use SharePoint in read-only mode during db upgrade • Upgrade-SPContentDatabase -UseSnapshot … • After all Content-DB have been upgraded run PSConfig / PSConfigUI • Aside other things this will upgrade the remaining SharePoint databases See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/ SP2013 – minimum downtime patching
  • 8. • Binary installation changes • Number of packages has been reduced • Reduced installation time (Russ Maxwells script no longer required) • Database upgrade changes • No need to use Snapshots! • Better without as this will lead to read-only content databases • It is supported to use SharePoint during DB upgrade • DB upgrade can be done on the fly • These steps are long tested in SPO See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/ SP2016 – zero downtime patching
  • 9. “What if I have multiple web front end servers and have to patch them one by one as half of them are not sufficient to deal with my load?”
  • 10. • Adds version number to script URLs • ensures serving same scripts from all servers in the farm independent of patch level • ensure that clients are using the most current scripts independent from proxy or browser caches after patching • Administrator configures the version to be used for the whole farm SP2016 – Side by Side functionality
  • 11. • Enable Side by Side functionality • First time use: create side by side files for current patch level SP2016 – Side by Side functionality
  • 12. SP2016 – Side by Side functionality
  • 13. • Configure the side-by-side directory to be used • Now all javascript files will be served from the side- by-side directory SP2016 – Side by Side functionality
  • 14. • Now install the updates using the zero-downtime patching steps • As side-by-side patching is enable: new side-by-side directory will automatically be created by PSConfig SP2016 – Side by Side functionality
  • 15. • Configure the new side-by-side directory to be used SP2016 – Side by Side functionality
  • 16.
  • 17. • Service Packs • Cumulative Updates • „Uber“ or Server Packages • Public Updates – distributed using Microsoft Update, subset of Cumulative Updates • Security Fixes – subset of Public Updates Important: SharePoint updates cannot be uninstalled. Patching = Build to Build Upgrade
  • 18. • Service Pack contains • All previously fixes • Potentially new functionality • Sets a new patch baseline • Cumulative Updates require a specific patch baseline to be present • Fixes released more than 12 month after the service pack will not install if the service pack baseline is not present • Needs to be installed within 12 months after release • Cumulative Update contains • All previously released fixes for the patched component since the oldest supported baseline • Usually no new functionality (except feature packs for SharePoint 2016) Service Pack vs Cumulative Update
  • 19. • Common Statement: „We cannot install a new service pack as our IT department requires more intensive testing for installing a SP than for a hotfix (CU)“ • It should be the opposite because • Service Packs undergo far more testing by Microsoft than CUs • Service Packs contain the same fixes as previous CUs • A CU includes all the fixes included in a previous Service Pack as well • Installing a CU does not have less impact than installing a Service Pack Service Pack vs Cumulative Updates
  • 20. • Language independent and language dependent components • coreserver-x-none.msp <- language independent • coreservermui-en-us.msp <- language dependent (e.g. *.resx, *.js, *.css …) • coreservermui-de-de.msp • coreservermui-fr-fr.msp • coreservermui-pt-pt.msp • … (overall 50 different languages) • Installing language pack after CU requires CU to be applied again to get language dependent files for new language pack patched CUs – Patchable Components
  • 21. • 13*(x+1) patchable components • sts / wssmui-* – Core SharePoint Foundation components • coreserver, coreservermui-* – Core SharePoint server component • acsrvwfe, acsrvmui-* – Access Server component • eduwfe, edumui-* – Education Server component • ifswfe, ifsmui-* – Infopath Form Server component • lpsrvwfe, lpssrvmui-* – Slide library component • osfserver, osfservermui-* – SharePoint 2013 workflow component • ppsmawfe, ppsmamui-* – SharePoint BI and analytics component • pptserver, pptservermui-* – PowerPoint conversion service component • sms, smsmui-* – translation service component • vsrvwfe, vsrvmui-* – Visio service component • wdsrv, wdsrvmui-* – Word automation services component • xlsrvwfe, xlsrvmui-* – Excel services component Patching Granularity – SP2013
  • 22. • All SharePoint fixes are cumulative per component • Not every CU includes fixes for all components Cumulative Update
  • 25. • All SharePoint fixes are cumulative per component • Uber package contains also fixes for components patched in previous CUs • Uber packages simplifies keeping a consistent patch level Cumulative Update vs. Uber Package
  • 26. • (x+1) patchable components • sts – language independent parts of SharePoint Server + Project Server • sts-x-none • wssmui – language dependent parts of SharePoint Server + Project Server • wssmui-en-us.msp • wssmui-de-de.msp • wssmui-fr-fr.msp • wssmui-pt-pt.msp • … (overall 51 different languages) • Only two components  No need for Uber packages Patching Granularity – SP2016
  • 27. • Benefits: • Reduced install time (each MSP stops and restarts the SharePoint application pools and OWSTIMER) • Reduced package size (in SP2013 multiple components rely on the same dlls which have to be included in each MSP) • Caveat: • Reduced granularity for SharePoint security fixes Patching Granularity – SP2016
  • 28. • Include Security fixes and other important fixes • Cumulative for the same component • Includes also all non-security fixes for the same component released in the same and previous months • Distributed through Microsoft Update • Should be evaluated and installed as soon as possible • Included in CUs released in the same and later months Public Updates
  • 30.
  • 31. Build Numbers • Major = Office 15 • Minor = always 0 • Build = Internal build number • 4420 = RTM • 4571 = SP1 - rereleased • 4833 = June 2016 Cumulative Update • Revision = Update type • 15xx = Service Pack mainly • 30xx = Private build • 10xx = Cumulative Update • 500x = COD Build or regression update
  • 32. • Patch baseline set by service packs • One exception: March 2013 PU for SP2013 also set a new baseline • CUs/PUs include changes since a given baseline • Often we support more than one baseline • RTM + SP1, Old-SP1 + New SP1, SP1 + SP2, … • Patch level determines which patches are installed • E.g. March 2016 CU patch level on top of a SP1 baseline Patch level vs. Patch baseline
  • 33. • Extract the patch using /extract:path flag • Inspect the XML for the msp (e.g. acsrvmui-de-de.xml) Identifying the required patch baseline
  • 34. • For simple scenarios: • Powershell script from my blog • https://blogs.technet.microsoft.com/stefan_gossner/2015/04/20/powershell-script-to-display-version-info-for-installed- sharepoint-product-and-language-packs/ • For more complex scenarios: • Roiscan vbs script written by Holger Bolduan, one of my colleagues from the Office Support Team • https://gallery.technet.microsoft.com/office/68b80aba-130d-4ad4-aa45-832b1ee49602 Identifying installed patch baseline
  • 35. • Does not exist! • Each component has it‘s individual patch level • You cannot look at a single version number • Config DB Version in CA is not a farm patch level! • (get-spfarm).buildversion is not a farm patch level! • Look at the patch level of each component Farm Patch level
  • 37. • June 2016 CU 15.0.4833.1000 • July 2016 CU 15.0.4841.1000 (Typical file version numbers after applying July 2016 CU) File Version
  • 39. Farm Patch level Patch Status Page in Central Admin
  • 40. • Patching Order: • Service farms • My site farm • Content farms • Service farms support connections with consumer farms on lower patch level. • Consuming services from a farm with an older version of the software can cause issues. Multi-Farm Environments
  • 41.
  • 42. • PSCONFIG is required after all(!) SharePoint fixes • Service Packs • CUs • PUs • PSCONFIG operations • Update database schema • Copy updated DLLs to _app_bin directories • Installs new and updated features • Installs new and updated SharePoint services • Updates Filesystem ACLs • … See: https://blogs.technet.microsoft.com/stefan_gossner/2015/09/09/why-we-recommend-require-to-run-the-configuration-wizard-also-for- security-fixes/ When to use PSCONFIG
  • 43. • PSConfigUI • Runs all required steps automatically • Cannot be automated • PSConfig • Only executes the steps specified in the command (granularity) • Can be automated • Recommended command: • PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install See: https://blogs.technet.microsoft.com/stefan_gossner/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/ How to use PSConfig
  • 44. • IIS website deleted for SPWebApplication • Web.config missing in IIS website • Features used in sites/site collections removed from farm / machine See: https://support.microsoft.com/en-us/kb/944267 Common Problems
  • 45. • PSConfig reports upgrade required • Fix missing? • Config DB info is out of sync with actual patch level • Get-SPProduct -local Common Problems
  • 46. • Check PSCDiagnostics log • Check upgrade log Troubleshooting
  • 47. • Enhanced Error Reporting • SP2016: Aug 2016 CU • SP2013: Dec 2016 CU With recent CU installed
  • 48. Q&A

Editor's Notes

  1. See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
  2. See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/ See: https://blogs.msdn.microsoft.com/russmax/2013/04/01/why-sharepoint-2013-cumulative-update-takes-5-hours-to-install/
  3. See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
  4. See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
  5. See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
  6. See: https://blogs.technet.microsoft.com/stefan_gossner/2017/01/10/sharepoint-server-2016-patching-using-side-by-side-functionality-explained/
  7. http://blogs.technet.com/b/stefan_gossner/archive/2013/03/21/common-question-what-is-the-difference-between-a-pu-a-cu-and-a-cod.aspx
  8. X = number of installed languages Uber to simplify maintaining patch level for all components
  9. See: https://blogs.technet.microsoft.com/stefan_gossner/2014/08/18/sharepoint-patching-demystified/
  10. See: https://blogs.technet.microsoft.com/stefan_gossner/2014/08/18/sharepoint-patching-demystified/
  11. See: https://blogs.technet.microsoft.com/stefan_gossner/2014/08/18/sharepoint-patching-demystified/
  12. Example October 2016 CU
  13. https://blogs.technet.microsoft.com/stefan_gossner/2016/08/23/sharepoint-does-not-have-a-build-version-full-stop/
  14. See: https://blogs.technet.microsoft.com/stefan_gossner/2014/08/18/sharepoint-patching-demystified/
  15. See: https://blogs.technet.microsoft.com/stefan_gossner/2014/08/18/sharepoint-patching-demystified/
  16. See: http://download.microsoft.com/download/7/E/D/7ED22D72-BA4B-4483-BDB4-013CE46E6737/multi-farm-sharepoint-2013.pdf
  17. See: https://blogs.technet.microsoft.com/stefan_gossner/2016/04/29/sharepoint-2016-zero-downtime-patching-demystified/
  18. See: https://blogs.technet.microsoft.com/stefan_gossner/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/
  19. https://support.microsoft.com/en-us/kb/944267