Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jacob Wilson Principal Consultant, Neudesic MCTS, MCITP, MCPD, MCM (Well, Almost) I heart SharePoint!

Similar presentations


Presentation on theme: "Jacob Wilson Principal Consultant, Neudesic MCTS, MCITP, MCPD, MCM (Well, Almost) I heart SharePoint!"— Presentation transcript:

1

2 Jacob Wilson Principal Consultant, Neudesic MCTS, MCITP, MCPD, MCM (Well, Almost) I heart SharePoint! http://sharepoint.jacobtwilson.com

3 The Basics Tools and Commands Upgrade Pipeline Upgrade Planning Pre-Upgrade The Upgrade Post-Upgrade Conclusion

4 This presentation focuses on the database attach process of SharePoint 2010 upgrades Why? – Most common – Most complex – More fun

5

6 Supported Topologies

7 Supported Editions

8 Supported Cross-Product

9 Hardware Requirements (SharePoint 2010) – Really depends on usage, RPS, and other factors but here are some base numbers to start 64 bit 4+ cores 8GB+ RAM 80GB+ Disk Space – Diagnostic Logs – Usage Logs – Index Files – Page File Size (1.5x Physical RAM)

10 Software Requirements (SharePoint 2010) – x64 Windows Server 2008 or 2008 R2 – x64 SQL 2008 R2, SQL 2008 SP1 CU2, SQL 2005 SP3 – All of the SharePoint 2010 prerequisites Don’t fit on this slide

11 SharePoint 2007 Requirements – Service Pack 2 No In-Place or DB Attach upgrade without it – October 2009 CU Why? Updates to stsadm –o enumallwebs – Web parts, event receivers, features, setup files Updates to stsadm –o preupgradecheck – Improved reports and rules

12 In-Place – Service Applications Created Automatically Search, User Profile, Excel Services, Business Connectivity Services (Application Registry Service for backwards compatibility) DB Attach – Must Manually Create Service Applications

13

14 Search System Architecture – Index Partitions – Crawl Components – Query Components – Search Administration Database – Property Database – Crawl Database – Software Boundaries and Limits Search Center Sites – Look and feel

15 In-Place (Not the focus of this presentation) Database Attach Hybrid Approach – DB Attach with Read-Only Databases – In-Place with DB Attach Visual Upgrade – UIVersion 3 or 4 – Give users the option to choose?

16 Site Templates –.STP vs.WSP – Must re-create Master Pages – Must re-create Site Definitions – Should I re-create using Web Templates Blocking vs. non-blocking – test-spcontentdatabase Slide Libraries – Open XML changes vs. Re-add slides – Only occurs when moving to a new URL

17

18 STSADM –o preupgradecheck STSADM –o enumallwebs STSADM –o gl-replacefieldvalues STSADM –o gl-replacenavigationurls STSADM –o gl-applytheme STSADM –o gl-setmasterpage STSADM –o mergecontentdb STSADM –o deletesite STSADM –o databaserepair test-spcontentdatabase WinDiff or WinMerge – Hive comparison, IIS directory comparison, etc. 3 rd Party

19 test-spcontentdatabase – Yes, run this again on the production farm mount-spcontentdatabase – V2V upgrade upgrade-spcontentdatabase – B2B upgrade – Resume interrupted V2V upgrade Upgrade Logs SharePoint Upgrade Status in CA SharePoint Health Analyzer

20 SPWebApplication.MigrateUsers($true) STSADM –o localupgradestatus STSADM –o gl-fixpublishingpagespagelayouturl move-SPProfileManagedMetadataProperty update-SPProfilePhotoStore update-SPInfoPathAdminFileUrl PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures SharePoint Health Analyzer Database Shrink

21 Microsoft Management Console – No need for all of those RDP windows Upgrade Log Parser – http://upgradelogparser.codeplex.com/ http://upgradelogparser.codeplex.com/

22

23 XML Configuration Files – 14\Config\Upgrade – Range of product versions and schema versions to which an upgrade applies – Target Assembly for Upgrade – Map files to the new 14 hive structure – Deprecate Features – Specifies Upgrade Order

24 OsrvUpgrade.xml 3

25 Microsoft.SharePoint.Upgrade Upgradeable Resource (System.Object) Upgrade Sequence (SPSequence) – Upgrade a specific object type in the server farm Upgrade Action (SPAction) – Describes an upgrade transformation Hierarchy Manager (SPManager) – Manages upgrade sessions

26 Cannot overwrite or append to default upgrade sequences Consists of one or more upgrade actions Execution order based upon order defined in configuration files – Starts with lower levels first (i.e. Database before Site) Provides check-pointing to allow resumption of upgrade

27 SPSequence – Abstract class for all upgrade sequences SPActionSequence – Upgrade sequence that uses upgrade actions SPIISWebSiteSequence – Upgrade sequence for IIS Site SPDatabaseSequence – Upgrade sequence for database SPSiteSequence – Upgrade sequence for site collection

28 Actions for upgrading specific objects – IIS Web Sites – Databases – Site Collections – Web Applications – Servers Version attribute – Sorting upgrade actions – Specifies whether a upgrade action needs to run – Helps with resuming interrupted upgrades Action updates object schema with action version number on success

29 NarrowCIStage1and2 – Changes content indexes, drops and re-creates indexes for content databases UpgradeAllDocStreamsAndAllDocVersions – Where upgrade seems to hang at 18.67% – Moves documents from AllDocVersions table to AllDocStreams table UpgradeReghostAction – Resets site to site definition – Removes SPD customizations added to page

30

31 Communications Plan Training Plan Early Tester/Pilot Group Pre-Upgrade Activities Upgrade Activities Post-Upgrade Activities Ongoing Support Monitoring & Maintenance Yes, there are other things to consider.

32

33 Farm Survey – Stsadm –o preupgradecheck Web parts, features, setup files, language packs, custom solutions, orphan sites, orphan objects, database schema, event receivers SharePoint 2010 Production Farm Planning & Configuration – Move to Claims Migrate Users FBA (Re-configure Membership and Role Providers in web.config) – Disable Auto Workflow Cleanup If disabled in the 2007 environment make sure to disable in the 2010 environment or you may lose workflow associations when you upgrade – Load Test Production Visual Studio 2010 – Developer Dashboard On, Off, OnDemand – Diagnostic Providers – Health Data and Usage Collection – Caching BLOB, Object, Output

34 TEST, TEST, TEST!!! – test-spcontentdatabase Restore MOSS 2007 production databases to test for testing the preupgrade process Test database upgrade process in 2010 test farm – Helps with gathering metrics and catching any missing dependencies – Early Testers/Pilot Group Capture issues that will need to be resolved in Production as the result of user testing

35 Orphan Sites – Stsadm –o deletesite –id “guid” – Use stsadm –o enumallwebs to recover site id Orphan Objects – Stsadm –o databaserepair –deletecorruption – Stsadm –o deletecontentdb – Stsadm –o addcontentdb Database Schema – Stsadm –o mergecontentdbs Missing Features – Stsadm –o deactivatefeature –id “guid” – Use stsadm –o enumallwebs –includefeatures to determine where features are referenced

36 Missing Web Parts – Web Parts Maintenance Page (…default.aspx?Contents=1) to Remove Web Part – Use stsadm –o enumallwebs –includewebparts to determine where web parts are referenced Missing Setup Files – WinDiff or WinMerge – Deploy Solutions – Manually Copy Files 12 Hive and IIS Directory Differences – WindDiff or WinMerge Large Lists – Adjust custom views to display less than 5K items (configurable) Custom List Views – Adjust custom views to display less than 8 lookup columns (configurable) – Lookup and People/Group columns count as a lookup column

37 Verify Database Backups Custom Solutions – Remove or keep? Does SharePoint 2010 functionality remove the need for home grown solutions If you decide to keep do you upgrade or move as is? – Sandbox or Farm? Code only executes in a Site Collection (Sandbox) 3 rd Party Solutions – Remove or keep? Does SharePoint 2010 functionality remove the need for any 3 rd party solutions Branding – Reset vs. Re-create? If you decide to reset (gl-applytheme and gl-setmasterpage)

38 Move to a new URL? – InfoPath Data Connections – Office Client Application Data Connections – External Applications with Link Dependencies – Slide Library Links – Navigation – Portal Site Connection – Publishing Page Layout Links – List Item Links (gl-replacefieldvalues) – Current and Global Navigation (gl- replacenavigationurls)

39

40 Test-spcontentdatabase – Yes, run this again on production Mount-spcontentdatabase – V2V Upgrade – Don’t run more than 3 sessions at a time (~40% overhead) Upgrade-spcontentdatabase – B2B Upgrade – Resume interrupted V2V Upgrade Monitor Status – ULS Logs – Upgrade Status in CA Attach Once – Site Orphans Upgrade Windows and SLA’s

41 Grab a cup of Joe Get some sleep Get a massage Your only time to relax a little bit

42

43 Classic Mode to Claims – SPWebApplication.MigrateUsers($true) – IISRESET across WFE servers User Profiles and MySites – move-SPProfileManagedMetadataProperty Multi-value properties to managed metadata database – update-SPProfilePhotoStore Update profile pictures – Convert private link to private tag http://my_site_url/_layouts/myquicklinks.aspx InfoPath Form Services – Administrator approved templates update-spinfopathadminfileurl – Updates InfoPath form links – Non-Administrator approved templates Form template links and data connections to SharePoint

44 Alerts – Not firing after upgrade Publishing Page Layout URL’s – STSADM –o gl-fixpublishingpagespagelayouturl Visual Upgrade – UIVersion = 3 or 4 – UIVersionConfigurationEnabled = true or false Adjust List Throttling Thresholds – List items per view – Lookup columns per view URL Redirection – Only if moving to new URL – IIS Redirect (http://newurl$V$Q)

45 Other Considerations – Update portal site connection (moving to new URL) – Don’t forget to run a full crawl – SharePoint Designer Settings – Site Quotas – Monitor performance – Re-enable Auto Workflow Cleanup Only if you disabled to begin with due to MOSS 2007 settings – Apply issue list resolutions from Test – XSLTViewerWebPart Replaces the ListViewWebPart – Style Formats for Tables in Content Editor Web Parts – Office Client Application Links – Site Collection Feature “Open Documents in Client Applications by Default” Not using Office Web Applications 2010 (OWA/WAC)

46 Verify Upgrade Status – Manage servers in farm – STSADM –o localupgradestatus – Upgrade logs – SharePoint Health Analyzer Resolve Upgrade Issues – PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures – Upgrade-spcontentdatabase

47

48 Database Operations – Update compatibility mode If moving from SQL 2005 or lower to SQL 2008 – Shrink databases (2 or more times) to remove unused space Can increase 50% or more as the result of the upgrade process – Re-index databases SQL side not SharePoint – Schedule database backups

49

50 WOW! There’s a lot of things to do. The actual upgrade is the easy part, its the pre-upgrade and post-upgrade activities that consume the most time and require the most effort Don’t be afraid

51

52 Supported Upgrade Paths – http://technet.microsoft.com/en-us/library/cc262747.aspx http://technet.microsoft.com/en-us/library/cc262747.aspx System Requirements – http://technet.microsoft.com/en-us/library/cc263322.aspx http://technet.microsoft.com/en-us/library/cc263322.aspx Affected Services – http://technet.microsoft.com/en-us/library/cc263403.aspx http://technet.microsoft.com/en-us/library/cc263403.aspx – http://technet.microsoft.com/en-us/library/ee731990.aspx http://technet.microsoft.com/en-us/library/ee731990.aspx Upgrade Object Model – http://msdn.microsoft.com/en-us/library/ms441632.aspx http://msdn.microsoft.com/en-us/library/ms441632.aspx Perform Database Attach Upgrade – http://technet.microsoft.com/en-us/library/cc303436.aspx http://technet.microsoft.com/en-us/library/cc303436.aspx – http://technet.microsoft.com/en-us/library/cc303434.aspx http://technet.microsoft.com/en-us/library/cc303434.aspx

53 Upgrade Resource Centers – http://technet.microsoft.com/en-us/sharepoint/ee517214 http://technet.microsoft.com/en-us/sharepoint/ee517214 – http://msdn.microsoft.com/en-us/sharepoint/ee514557 http://msdn.microsoft.com/en-us/sharepoint/ee514557


Download ppt "Jacob Wilson Principal Consultant, Neudesic MCTS, MCITP, MCPD, MCM (Well, Almost) I heart SharePoint!"

Similar presentations


Ads by Google