upgrading to sharepoint 2010 - teched middle east

56

Upload: joel-oleson

Post on 09-May-2015

3.234 views

Category:

Technology


5 download

DESCRIPTION

From Planning to exploring the methods. We take a look at SharePoint 2010 upgrade and look at the new features and options to better understand what the options are. Contributions: Sean Livingston

TRANSCRIPT

Page 1: Upgrading to SharePoint 2010 - Teched Middle East
Page 2: Upgrading to SharePoint 2010 - Teched Middle East

(OFS302) Upgrading to SharePoint 2010

Muhanad OmarSharePoint ConsultantDevosis

Joel OlesonSharePoint ArchitectQuest Softwarehttp://sharepointjoel.com

Page 3: Upgrading to SharePoint 2010 - Teched Middle East

9+ Year SharePoint Veteran

5 Years in MS IT & Online2 Years in SharePoint Product TeamProduct Architect for Deployment Advisor

Sr. SharePoint ArchitectSharePoint Product Architect & Strategy @ Quest

Who is SharePoint Joel?

Page 4: Upgrading to SharePoint 2010 - Teched Middle East

Meet Mo!

Page 5: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade Cycle: OverviewLearn• Requirements/

prerequisites• Upgrade methods• Downtime mitigation• Common issues

Prepare• Document environment• Manage customizations• Plan upgrade strategy• Make items upgradable

Test• Build test farms

• Use real data• Evaluate techniques• Find issues early

Implement• Build/upgrade farms• Deploy customizations• Minimize downtime• Monitor progress

Validate• Upgrade event failures• UI/UX issues• Data issues

Page 6: Upgrading to SharePoint 2010 - Teched Middle East

• 64 bit only• Operating System• SQL server

• In-Place• Database Attach• Content• Profile• Project

• WID to SQL Migration

• Missing dependencies• UI changes• Lack of space• Forms Authentication

Providers

• Read-only content databases• Parallel upgrades:

• Multiple temporary farms• Parallel database attach

• AAM redirection

Upgrade Cycle: Learn

Prerequisites

Upgrade methods

Common issues

Downtime mitigation

Page 7: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade Cycle: Prepare

Plan upgrade strategy

Farm upgrade order

Order of operations

Downtime limits/mitigate

Rollback process

Hardware upgrades

Space requirements

Spring cleaning

Document environment

Farm structure/hierarchy

Language packs

Customizations

Manage Customizations

Identify customizations

Collect customizations

Make items upgradable

Solutions

Features

Site definitions

Web parts

Page 8: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade Cycle: Test

Build Test Farms• Use real data (copies of entire databases):

• To identify trouble areas• To determine upgrade performance

• Use similar hardware if possible

Evaluate Techniques• Upgrade process• Downtime mitigation• Troubleshooting/Validation• Determine and test mitigations before upgrade

Find Issues Early

Page 9: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade Cycle: Implement

Build/upgrade farms• Services farm• Content farm

Minimize downtime• Use read only with fallback

environment• Build for upgrade parallelism

Deploy customizations• Use Solutions

whenever possible

Monitor progress• Watch upgrade status indicators• Ensure upgrade process

is on schedule

Page 10: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade Cycle: Validate

Upgrade event failures

Review logs to identify issue

Implement fixes

Restart/resume upgrade

Data issues

Orphaned items/database

corruption

Hidden column data

Connectivity issues to data sources

UI/UX issues

Ghosting issues

UI Version issues

XHTML compliance issues

Page 11: Upgrading to SharePoint 2010 - Teched Middle East

Learning from PreUpgradeCheck

Page 12: Upgrading to SharePoint 2010 - Teched Middle East

SharePoint PreUpgradeCheck Report

Information & Configuration

• Content Sources & Start addresses

• Farm & Search Topology

• Servers• Upgrade Types• AAMs, Large Lists &

Libraries

ImportantIssues and Dependencies

• Site Definition (referenced & missing)

• Installed Language Pack• Features (referenced &

missing)• Custom List Views &

Custom Field Types, Web.Config entries

Page 13: Upgrading to SharePoint 2010 - Teched Middle East

PreUpgradeCheck Failed Report (snippets)

Page 14: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade Overview

Drill Down on Binary Upgrade Methods

Windows PowerShell Upgrade CmdletsApproaches to Upgrade

Dev - Feature UpgradeVisual UpgradePatch ManagementDowntime Mitigation Processes:

Parallel Upgrade PipelinesContent DB Upgrade with AAM Redirection

ImprovedUpgrade Status ReportingUpgrade LoggingRead-only DB SupportSimplified Upgrade Methods

RemovedGradual UpgradeSide By Side Installation

Page 15: Upgrading to SharePoint 2010 - Teched Middle East

64 bit SQL Server 2008

Why Upgrade?Engine optimizationsFILESTREAM support for Remote Blob Storage (RBS)

Why Enterprise?Backup compression (faster and smaller)High Availability

Mirroring enhancements with built in support in SharePoint 2010!

Transparent database encryption

Page 16: Upgrading to SharePoint 2010 - Teched Middle East

Insight on Upgrade

Binary UpgradeIn Place - New Timeout, Resume on failuresDatabase Attach - New Parallel, Progress Indicator

Visual UpgradeSeparate processDelegation by default

Binary Upgrade

Visual Upgrade

Page 17: Upgrading to SharePoint 2010 - Teched Middle East

Test-SPContentDatabase

Page 18: Upgrading to SharePoint 2010 - Teched Middle East

Attaching Database to SP2010 Farm

Page 19: Upgrading to SharePoint 2010 - Teched Middle East

Binary Upgraded Site: Preview Visuals – Sneak Peak Screenshot

Page 20: Upgrading to SharePoint 2010 - Teched Middle East
Page 21: Upgrading to SharePoint 2010 - Teched Middle East

DB Attach with SharePoint 2010 Powershell

demo

Page 22: Upgrading to SharePoint 2010 - Teched Middle East

Drill Down on Upgrade Methods

Page 23: Upgrading to SharePoint 2010 - Teched Middle East

2010 MS Upgrade PhilosophyYou need to understand what MS was thinking

Detect issues earlyProvide O12 tools to adminsReport critical issues at start of upgrade

Keep the administrator informedNo data loss

Keep content and settingsMinimize downtime

Downtime mitigation processesContinue when at all possibleAbility to resume

Upgrade should not be catch 22

Page 24: Upgrading to SharePoint 2010 - Teched Middle East

In-Place UpgradeAll-at-once upgrade

Must upgrade the whole farm at one timeNo SP 2007 and SP2010 in same farmSchedule downtime

Simplest approach, but *most risky*!No going back

Resume Upgrade if problems occurRecommendations

Run Test-SPContentDatabase from SP 2010 farm against databasesDo a full farm backup before you start!

Page 25: Upgrading to SharePoint 2010 - Teched Middle East

Database Attach UpgradeSafer, Requires more planning (A good thing)Upgrade is done on a separate 2010 farm

Done database-by-database Can be used as 2 step gradual visual upgrade

Use Test-SPContentDatabase (PowerShell cmdlet) to test database firstTo attach

Upgrade-SPContentDatabase (PowerShell)Addcontentdb operation (STSADM)

Parallel database upgrades are possible

Page 26: Upgrading to SharePoint 2010 - Teched Middle East

Visual Upgrade

Stay in 2007 (default) or move to 2010 UI2010 ships 2007 Master pages and CSSUI Preview capability

Farm admin or site admin controlledWeb level setting

Some items not 2007 UI compatibleMy site hostPWA site collectionReport Server web parts

Page 27: Upgrading to SharePoint 2010 - Teched Middle East

UI Upgrade

Migrating to SharePoint 2010:All content will migrate overNo changes required to site content or branding

SharePoint 2007 / 3.0 style UI is retainedExisting master pages & page layouts are used

Manually migrate to SharePoint 2010 UIRibbon, Improved Site Settings, AJAXVisual Upgrade

Page 28: Upgrading to SharePoint 2010 - Teched Middle East

Tactical Insights

Page 29: Upgrading to SharePoint 2010 - Teched Middle East

Customizations TestingWill it work after upgrade?

Structural Compatibility

User Interface and (x)HTML Compatibility

OM/Contract Compatibility

Custom Site Definitions

Custom Features

Custom CSS

Custom JavaScript

Custom Web Parts

CustomSearch

Provider or Security Trimmer

Custom Authenticatio

n Providers

Custom Services

Modified OOB Site

Definitions

Modified Databases

Modified OOB Features

Page 30: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade TestingWhat are you looking for in a test?

Upgrade IssuesDisk Full!!!Modified databasesCustomizationsAuthentication providersPoor dev practices

RecommendationsTest server side customizations & verify in both Visual Upgrade modesConsider preview environmentsSimilar hardware, Use real datasetsDon’t ignore warnings

Page 31: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade PerformanceWhy prediction is difficult

Database Shape Centric# Site Collections# Webs# Lists# Document VersionsDocument Versions Size# Documents# LinksOverall DB Size

Hardware CentricSQL Disk I/O per secondSQL Database to disk layoutSQL Temp DB optimizationsSQL CPU & MemoryWFE CPU & MemoryNetwork Bandwidth & latency

Page 32: Upgrading to SharePoint 2010 - Teched Middle East

Common Upgrade Failure Issues & Recovery1. Determine cause of failure

Status Page & Upgrade Logs:Error logFull upgrade log

Customizations Management Commands:Test-SPContentDatabasestsadm -o EnumAllWebs

2. Fix issue(s)Install missing or updated customizationsActivate missing services; farm, web app settings

3. Resume upgradeFarm upgrade commandContent database specific upgrade commandService specific upgrade commands

Page 33: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade InternalsMinutia and Nuances

V2V upgrade DBs set to simple recoveryDB growth during upgrade:

Versions and indexes; SQL logsShrink DBs after upgrade; not automatic

SQL timeouts:Removed command timeouts (query time)Retained connection timeouts

SetupPath fallback logicObject locking during upgrade:

Maintained in config DBAutomatic removal of stale locks (2 minutes)

Page 34: Upgrading to SharePoint 2010 - Teched Middle East

Upgrade Strategies

Page 35: Upgrading to SharePoint 2010 - Teched Middle East

Read-Only Content DatabasesReducing perceived downtime

Not just for upgrade or patchingManually initiated processRead-only locking:

Content remains staticSQL controls read-only lock statusSharePoint promotes SQL lock to site lockUI Trimming enforced by site lock

Upgrade copy of database on different farm

Page 36: Upgrading to SharePoint 2010 - Teched Middle East

Windows PowerShell Upgrade CmdletsTest-SPContentDatabase

Discover and Document issues 2007/2010Mount-SPContentDatabase

Initiate Content database B2B/V2V upgradeUpgrade-SPContentDatabase

Resume Content database B2B/V2V upgradeUpgrade-SPEnterpriseSearchServiceApplication

Search Service Application InstanceUpgrade-SPSingleSignOnDatabase

O12 SSO data to Secure Store database

Page 37: Upgrading to SharePoint 2010 - Teched Middle East

1. In Place - Binary Approach to Upgrade

PreUpgradeCheck

on SP2007

farm

Test In Place

Upgrade on 2nd Farm

Fix issues

Mount and

Resume Dbs w/

Powershell

Fix Upgrade

Errors

Visual Upgrade

Caution: Not recommended for most deployments…

Page 38: Upgrading to SharePoint 2010 - Teched Middle East

2. DB Attach - Binary Approach to Upgrade

PreUpgradeCheck

on SP2007

farm

Fix issues Upgrade Services

Test-SPContentDatabas

es

Add solutions

/Fix issues

Database Attach

Content Database

s

Visual Upgrade

Recommended for most deployments…

Page 39: Upgrading to SharePoint 2010 - Teched Middle East

Binary Approaches to Upgrade - Hybrid

Make a copy of

the farm

Detach all the

content databases

except root site

Upgrade Binaries

and Services with In Place

upgrade

Test-SPContentDatabases

Database Attach

Content Databases in Parallel

Visual Upgrade

Page 40: Upgrading to SharePoint 2010 - Teched Middle East

Downtime Mitigation Processes

Read-only databasesParallel upgrade farmsSingle farm, multiple upgrade sessionsContent database attach with AAM redirection

Page 41: Upgrading to SharePoint 2010 - Teched Middle East

SSP to Service App

Each SSP upgrades into:A Search service appA User Profiles service appAn Excel service appAn App Registry back-compat service app

New Services can be activated/added

Page 42: Upgrading to SharePoint 2010 - Teched Middle East

Visual Upgrade Capability

Stay in O12 UI (default) or move to O14 UIO14 ships O12 Master pages and CSSUI Preview capability

Farm admin or site admin controlledWeb level setting and OM

Some items not O12 UI compatible:My site hostPWA site collectionReport Server web parts

Page 43: Upgrading to SharePoint 2010 - Teched Middle East

Visual Upgrade Caution

No Visual backward compatible UI for My SitesDatabase Attach into My Site HostIn place upgrade your My Site Host

Other Services UI may be impactedProject Web Access site collectionReporting Server web parts

Page 44: Upgrading to SharePoint 2010 - Teched Middle East

Depreciation

Performance Point – Included in SharePoint 2010 Enterprise My Site Host Redesign – No visual upgrade for my sites Side by Side Installation - Gradual Upgrade SSP Admin UI – Any work you did on either the SSP Admin Site Collection or the Central Admin site has changed. Admin task list and other task lists Document Discussions is deprecated. Not very common.Deprecated Templates

SSP Admin SiteGreat Plains (STSPKPL (Plus Pack)

Page 45: Upgrading to SharePoint 2010 - Teched Middle East

What about Custom Site Definitions?Most custom site definitions from v3 should continue to work unmodified while in v3 UI mode of Visual Upgrade. However depending on what is in that site definition, a person may still want to do more featurization or other definition refactoring, which is where the upgrade definition file comes in handy. As always, test the existing definition against an upgraded server in both UI modes

Q&A with Sean http://bit.ly/sitedef

- Sean Livingston, Upgrade PM

Page 46: Upgrading to SharePoint 2010 - Teched Middle East

Dev - Feature Upgrade CapabilityOptional CapabilityVersion Ranging for B2B or V2V UpgradesDeclarative Feature Upgrade Activities:

ApplyElementManifestsAddContentTypeFieldMapFile

Custom Code Feature UpgradeCustomUpgradeAction ActivitySPFeatureReceiver.FeatureUpgradingAssembly in GAC

Page 47: Upgrading to SharePoint 2010 - Teched Middle East

What can I do today to prepare?

Work towards 64-bit server environmentsUpgrade to Service Pack 2 (SP2)Review and identify your customizationsCleanup as much as possibleVerify custom solutions work and deploy in 2010Optimize your large listsOptimize your content databasesRun PreUpgradeCheck that’s part of SP2

Page 48: Upgrading to SharePoint 2010 - Teched Middle East

ISV Upgrade/Migration Solutions

Quest Tech Preview of Migration Manager2003 to 2010 with post Migration SyncPremigration assessment for duration

Freeware: Check out the Free Quest Reporting Solution http://www.quest.com/reportsforsharepointYou can also find Solutions from: Metalogix, Tsunami & AvePoint

Page 49: Upgrading to SharePoint 2010 - Teched Middle East

Quest Solutions for SharePoint Site Administrator for SharePoint Understand, manage and secure your SharePoint environment

Migration Manager for SharePoint SharePoint to SharePoint migration

File Migrator for SharePoint File shares to SharePoint migration

Recovery Manager for SharePointGranular SharePoint recovery for enterprise-level needs

Quest Web Parts Enable rapid development of SharePoint applications

Public Folder Migrator for SharePointExchange Public Folders to SharePoint migrationNotes Migrator for SharePointNotes application content to SharePoint migration

Quest SQL Server Solutions Maximize SQL Server performance while simplifying tasks and providing visibility and control

Page 51: Upgrading to SharePoint 2010 - Teched Middle East

Learn More about SharePoint 2010

Information forIT Pros

at TechNethttp://MSSharePointITPro.com

Information forDevelopers

at MSDNhttp://MSSharePointDeveloper.com

Information forEveryone

http://SharePoint.Microsoft.com

Page 52: Upgrading to SharePoint 2010 - Teched Middle East

question & answer

Page 53: Upgrading to SharePoint 2010 - Teched Middle East

www.microsoft.com/teched

Sessions On-Demand & Community

http://microsoft.com/technet

Resources for IT Professionals

http://microsoft.com/msdn

Resources for Developers

www.microsoft.com/learning

Microsoft Certification & Training Resources

Resources

Page 54: Upgrading to SharePoint 2010 - Teched Middle East

Related Content

Breakout Sessions (session codes and titles)

Interactive Theater Sessions (session codes and titles)

Hands-on Labs (session codes and titles)

Hands-on Labs (session codes and titles)

Page 55: Upgrading to SharePoint 2010 - Teched Middle East

Complete an evaluation on CommNet and enter to win an HTC HD2!

Page 56: Upgrading to SharePoint 2010 - Teched Middle East

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.