SharePoint Patching
SharePoint Patching
SharePoint Patching
Agenda
The story of SharePoint patching
Answering the what do I need
question
Dismantle a released update
Update scenarios
Planning and upgrading
Monitoring and troubleshooting
Terminology
Type of Updates
Released
Hotfix
COD Critical on Demand
Public Hotfix e.g. US DST Hotfix 941422
Post Service Pack rollup
Rollup of hotfixes build during SP-lock timeframe when
service pack is locked to not accept new fixes
Cumulative Update
Since December * rolling 2 month basis
Broadly affecting support issues
Service Pack
Service Packs include all of the updates for MOSS plus deliver
important customer-requested stability and performance
improvements, while incorporating further enhancements to
user security.
Build Numbers
12
12
00
6219
6219
Major
Major
Minor
Minor
Build
Build
4518 = RTM
6219 = SP1
6320(WSS)/6322(MOSS) = Infrastructure Update
6341 = February Cumulative Update
1000
1000
Revisio
Revisio
nn
Patching Post IU
http://support.microsoft.com/kb/953749/
Build
CoreSer
ver Loc
6324.500
0
6327.500
0
6331.500
0
Jul
y
Au
g
Oc
t
955593
Build
STSSTSGLB
LOC
Jul 95559
y
4
Au
957109
g
Oc 95769
t 1
DLCLoc
pjsrv
wfeglb
pjsrva
pp-glb
956056
957693
Ifswf
e
-glb
Xlsrva
pp
-glb
955586 95558
6
95339
7
958567
6324.50
00
6327.50
00
6332.50
00
DLCGLB
958569
95769
6
95769
4
CoreSer CoreSer
ver -glb ver -loc
DLCGLB
DLC
-loc
pjsrv
wfeglb
pjsrva Ifswf
pp-glb
e
-glb
Xlsrva
pp
-glb
955586 95558
6
95339
7
958569
960011 96001
1
961755 96175
5
95769
6
96001
1
96175
5
95769
4
96001
1
96175
5
9600
11
9617
55
96001
1
96175
5
DEMO Dismantling a
Patch
Typical Scenarios
New
Farm
Updating to...
......Minimum Build
......Recommended
Build
......Latest and
Greatest Build
Existing
Server in
Existing
Farm
New
Server in
Existing
Farm
Updating To ....
Culture Shift
Which build should I be on?
Minimum required
Microsoft recommended
Latest and greatest
Version Distribution
SP1 + IU
RTM
SP1 + Dec CU
New Farm
What is the best way to build it?
Slipstream it
Any package can be slipstreamed - extract the
MSPs into the update folder
Benefits of fixes in the provisioning and
configuration wizard code paths.
When you configure CA it is configured with the
fixes and updates already in place.
Long term is no different to manual updates but
is more efficient
Slipstream Creation
Requirement for deploying on Windows
Server 2008
Deployment guides
Windows SharePoint Services 3.0
http://technet2.microsoft.com/windowsserver
/WSS/en/library/91649a7e-6b5a-4e5a-9ee5-519
51f4b857f1033.mspx
http://technet2.microsoft.com/Office/en-us/li
brary/f484f5f2-35bb-4d70-bf56-dd1c4c287c72103
3.mspx
Slipstream Creation
Defragment databases,
http://support.microsoft.com/kb/943345
Deployment Overview
All updates follow the same steps and
procedures
Make sure the account you will be installing
the update has adequate permissions
Mechanics
Install the update on the SharePoint server(s)
Installs the updated binaries
Minimising Downtime
High performance db attach
MSIT Scenario:
4 Terabytes of data to upgrade
80 content databases at 50GB per database
Upgrade Procedure:
1.
2.
3.
4.
5.
6.
Minimising Downtime
Duplicate Read-Only Farm
Internet Scenario:
24x7 Internet Presence Required
Upgrade Procedure:
1.
2.
3.
4.
5.
6.
7.
Sequence of Installation
WSSv3 Updates must be applied before the
MOSS 2007 Updates
FAQ Can I install WSS and MOSS updates and run the
configuration wizard once?
FAQ Can I uninstall any update if there are problems?
Upgrade Order
Multiple Query/Index
?
?
psconfig -cmd upgrade -inplace b2b -wait
-force
Common Failures
Issue: Server Error when accessing SharePoint
site
Common Failures
Issue: PSConfig fails with inadequate install
permissions
Cause: Not logged in with adequate
permissions to install the update
Overall #2 SP1 deployment failure
Common Failures
Issue: PSConfig fails during site collection upgrade
sequence
Cause:
[NewWebParts] [12.1.6301.0] [DEBUG] [1/10/2009
8:15:40 AM]: Begin Upgrade()
....
....
[SiteSequence] [ERROR] [1/10/2009 8:15:40 AM]:
Unknown server error number: d
Resolution:.
Disable ForeFront Security for SharePoint
Run PSconfig, or detach/reattach content
databases
Common Failures
Issue: PSConfig fails at Step 8
Cause:
[SPManager] [ERROR] [12/19/2008 10:46:02 AM]: Upgrade
[SPSearchDatabase Name=OSST_SEARCH
Parent=SPDatabaseServiceInstance Name=sql08,1433]
failed.
...
...
[SPManager] [ERROR] [12/19/2008 10:46:02 AM]: Object
reference not set to an instance of an object.
Final Thoughts...
Understand what you have...
Understand where you want to be...
While we cannot upgrade a live farm
we do have processes that will move
us closer to the nirvana of a zero
downtime upgrade