sharepoint 2013 – the upgrade story

41
SHAREPOINT AND PROJECT CONFERENCE ADRIATICS ZAGREB, 11/28/2012 SharePoint 2013 – The Upgrade Story WICTOR WILÉN, CONNECTA AB SWEDEN

Upload: sharepoint-and-project-conference-adriatics

Post on 28-Nov-2014

6.280 views

Category:

Documents


0 download

DESCRIPTION

Speaker: Wictor Wilén; This session will cover what you need to do an upgrade from SharePoint 2010 to SharePoint 2013, You’ll learn the upgrade planning, methods and execution through a number of demos. During the session we will do a live upgrade from SharePoint 2010 to SharePoint 2013. We’ll also cover the Site Collection upgrade previews and health checks, which allows the site collection owner to determine when they are ready to move on to the new version.

TRANSCRIPT

Page 1: SharePoint 2013 – the upgrade story

SHAREPOINT AND PROJECT CONFERENCE ADRIATICS

ZAGREB, 11/28/2012

SharePoint 2013 – The Upgrade StoryWICTOR WILÉN, CONNECTA ABSWEDEN

Page 2: SharePoint 2013 – the upgrade story

sponsors

Page 3: SharePoint 2013 – the upgrade story

Wictor Wilén

• Senior SharePoint Specialist

• Connecta AB, Sweden

• Microsoft Certified Architect – SharePoint 2010

• Microsoft Certified Solutions Master – SharePoint

• Microsoft Certified Master – SharePoint 2010

• Microsoft Most Valuable Professional – SharePoint

• www.wictorwilen.se

• @wictor

Page 4: SharePoint 2013 – the upgrade story

Agenda

Requirements

Preparation

Upgrade Farm and Services

Upgrade Content Databases

Upgrade Sites – Deferred Site Collection Upgrade

…and some tips and tricks

Page 5: SharePoint 2013 – the upgrade story

Upgrade process

Requirements Prepare Test Upgrade Upgrade Farm Validate Eval Upgrades Upgrade Sites Validate

Page 6: SharePoint 2013 – the upgrade story

REQUIREMENTS

Page 7: SharePoint 2013 – the upgrade story

SharePoint 2013 Requirements

Understand the new Hardware and Software requirements for SharePoint 2013

You need a new set of hardware

• No V2V in-place upgrades anymore!

• Typically SharePoint 2013 requires more tin than SharePoint 2010

Operating System

• Windows Server 2008 R2

• Windows Server 2012

SQL Server

• SQL Server 2012 (SP1 for BI stuff)

• SQL Server 2008 R2 SP1

Internet Explorer 7.0 not longer a supported browser

Page 8: SharePoint 2013 – the upgrade story

Training

Make sure you get training on SharePoint 2013

• For your IT-pros

• For your Administrators

• For your End-users*

• For your Developers

• For your Consultants(!)

Learn PowerShell if you haven’t done it before!

Page 9: SharePoint 2013 – the upgrade story

PREPARATION

Page 10: SharePoint 2013 – the upgrade story

Plan

Make sure you have a plan – and understand it!

Communicate early!

• Inform the users about your plan

Always have a backup plan

Plan and communicate major changes

• URL’s (avoid if possible)

• UI – Metro – Modern UI

Page 11: SharePoint 2013 – the upgrade story

Survey your old farm

Check for this…

• Customizations and Solution packages (WSP)

• Service Applications

• Web Applications

• Databases

• Large lists

• Configurations

• Language Packs

• Infopath forms

• Proxy Groups

• …

Document it!

• There are some really nifty tools available for this!

Page 12: SharePoint 2013 – the upgrade story

Fix your old farm, even before considering

upgradeClaims!

• It’s better to convert to Claims before upgrading

• Test/Fix/Upgrade custom Claims Providers

• Document custom claims encodings!

Remove orphaned items

Remove deprecated things

• PowerPoint Broadcast sites

Remove stuff you don’t need

• Solutions

• Sites

Patch!

• CU June 2011 contains a MigrateUsers fix (post SP1 CU)

• CU April 2012– optimal CU, least impact during DB Attach

Page 13: SharePoint 2013 – the upgrade story

DEMO: CONVERT TO CLAIMS

Page 14: SharePoint 2013 – the upgrade story

Prepare new 2013 farm

Install SharePoint 2013 in a new farm

• Pre-reqs

• SharePoint 2013

• Language Packs

Do NOT use the Farm Configuration Wizard

• You should never do this anyway….

“Copy” farm-level configuration from old farm

• Don’t forget the custom claim encodings!

Install your old solutions/customizations into the new farm

•Install-SPSolution … -CompatibilityLevel “14,15”

• For custom code you can use SPSite.CompatibilityLevel

Page 15: SharePoint 2013 – the upgrade story

Backup databases

Content Databases

Service Applications

• Business Data Connectivity

• Managed Metadata

• PerformancePoint

• Search (only the Search Admin DB)

• Secure Store

• User Profile (Profile, Social and Sync DBs)

Page 16: SharePoint 2013 – the upgrade story

Restore databases

Restore the databases in the new farm

Do not yet remove the old databases!

You will do this many times!

Last time set old databases to read-only!

Page 17: SharePoint 2013 – the upgrade story

DEMO: BACKUP AND RESTORE A CONTENT DATABASE

Page 18: SharePoint 2013 – the upgrade story

TEST AND UPGRADE

Page 19: SharePoint 2013 – the upgrade story

Create New Service Applications

New Service Applications

• State Service

• App Management Service

• Work Management Service

• Machine Translation Service

• Access Services 2013

• PowerPoint Automation Service

Service Applications without (upgradeable) Databases

• Excel Services

• Visio Graphic Services

• Word Automation Service

Page 20: SharePoint 2013 – the upgrade story

Upgrade Service Applications

Create new Service Applications

• Use PowerShell – you will do this several times

• Reference the restored databases

• Make sure that you time all upgrades!

Create Service Application Proxies

Add Proxies to the correct Proxy groups

Page 21: SharePoint 2013 – the upgrade story

What about Service Farms?

Always upgrade Services Farms first

• SharePoint 2010 can consume services from a SharePoint

2013 Services farm

Only see this as an intermediate solution!

Page 22: SharePoint 2013 – the upgrade story

Upgrade Content Databases 1/2

Create a new Web Application

• Use Claims if you already converted to Claims

• Use Classic if you want to switch to claims later (PowerShell

only)

• Do convert and upgrade at the same time!

• Apply Web Application configuration (Blob cache, policies etc)

Use Test-SPContentDatabase

• Fix ALL warnings and errors

Page 23: SharePoint 2013 – the upgrade story

Upgrade Content Databases 2/2

Use Mount-SPContentDatabase

• Don’t forget the Super User and Super Reader

accounts!

• You can do several mounts in parallel

• Time it!

• Always do test mounts on production (like) hardware!

Page 24: SharePoint 2013 – the upgrade story

DEMO: TEST AND MOUNT A CONTENT DATABASE

Page 25: SharePoint 2013 – the upgrade story

SITE COLLECTION UPGRADE

Page 26: SharePoint 2013 – the upgrade story

Deferred Site Collection upgrade 1/2

No more Visual Upgrade

• Was just a fake upgrade

• The site was already upgraded

• Lots of UI problems

SharePoint 2013 can host real SharePoint 2010 sites

• Installation adds both 14 and 15 root folders

• Solutions can be deployed in 14 and/or 15 mode

• You can even create new 2010 mode sites

Page 27: SharePoint 2013 – the upgrade story

Deferred Site Collection upgrade 2/2

Site Collection owner can do the upgrade

• Another feature with huge cloud focus

Site Collection Health Check

Evaluation Sites

• Don’t forget to configure outgoing e-mail!

Throttling rules

• Application Pool

• Content Database

PowerShell cmdlets for the Farm Admins

• If the Site Collection owner refuses to upgrade

Page 28: SharePoint 2013 – the upgrade story

Site Collection Health Check

Check the health of the Site Collection

• Customized files

• Missing galleries

• Missing Site Templates

• Unsupported Language Pack References

• Unsupported MUI References

PowerShell cmdlets

• Test-SPSite –Identity <URL>

• Repair-SPSite –Identity <URL> [-RuleId <GUID>]

Page 29: SharePoint 2013 – the upgrade story

Upgrade Evaluation sites

Site Collection owner can request an Evaluation Site

• Request-SPUpgradeEvaluationSiteCollection –Identity <URL>

A real copy of the Site Collection

Limitied lifetime

• Default 30 days

• $wa.DaysToExpire = <days>

• $site.EvaluationExpiry

Can be done several times

When Eval site is ok, the original site can be upgraded

Page 30: SharePoint 2013 – the upgrade story

Upgrade and Eval Site configurations

Web Application settings

• $wa.UpgradeReminderDelay

• $wa.UpgradeMaintenanceLink

• $wa.SendSiteUpgradeEmails

• $wa.AllowSelfServiceUpgradeEvaluation

• …

Self Service Site Collection Upgrades

• $site.AllowSelfServiceUpgrade

• …

Compatibility settings (Web Application)

• $wa.CompatibilityRange

Page 31: SharePoint 2013 – the upgrade story

Do the Site Collection upgrade

Site Collection Owner

• Site Settings > Site Collection Administration > Upgrade this Site Collection

• Check Upgrade Status

Farm Administrator

• Upgrade-SPSite –Idenitity <URL> -VersionUpgrade [-Unthrottled] [-QueueOnly]

Page 32: SharePoint 2013 – the upgrade story

The Upgrade queue

Site upgrades are placed in a queue

• First in, first out..

Check the queue using:

• Get-SPSiteUpgradeSessionInfo –ContentDatabase <ID> –ShowInProgress –ShowCompleted -ShowFailed

Check a site using:

• Get-SPSiteUpgradeSessionInfo –Site <URL>

Remove a site from the queue

• Remove-SPSiteUpgradeSessionInfo –Identity <URL>

Page 33: SharePoint 2013 – the upgrade story

Site Upgrade throttling

Web Application Setting

• $wa.SiteUpgradeThrottleSettings.AppPoolConcurrentUpgradeSessionLimit

• $wa.SiteUpgradeThrottleSettings.UsageStorageLimit

• $wa.SiteUpgradeThrottleSettings.SubwebCountLimit

Content Database Setting

• $db.ConcurrentSiteUpgradeSessionLimit

Page 34: SharePoint 2013 – the upgrade story

DEMO: SITE COLLECTION HEALTH CHECK AND UPGRADE

Page 35: SharePoint 2013 – the upgrade story

Upgrading My Site Host and My Sites

Always update the My Site Host first!

• My Sites cannot be upgraded before the My Site Host

• My Sites will automatically be upgraded when users hit

them

• Upgraded My Sites is required for new Social features

Page 36: SharePoint 2013 – the upgrade story

Other things worth to notice…

Upgrade logs now in ULS format!

Site Collection Maintenance Log

• New catalog in the Site Collection

Page 37: SharePoint 2013 – the upgrade story

Some bonus stuff, that even a dev can

appreciate…

Get-SPUpgradeActions

• Shows all upgrade actions in the farm

Get-SPPendingUpgradeActions

• Shows all pending upgrades for a given root

object

•Get-SPFarm | Get-SPPendingUpgradeActions -Recursive

Page 38: SharePoint 2013 – the upgrade story

THAT WASN’T TO HARD, RIGHT?

AND WE DIDN´T USE STSADM ONCE!

Page 39: SharePoint 2013 – the upgrade story

Summary

Plan, plan, plan…

Prepare for Claims Based AuthN, now!

Test, test, test…

Content Database Attach is the only upgrade method!

Let the Site Collection Administrators do the job

Better control of upgrade and transition period

Page 40: SharePoint 2013 – the upgrade story

questions?

WWW.WICTORWILEN.SE

@WICTOR

Page 41: SharePoint 2013 – the upgrade story

thank you.

SHAREPOINT AND PROJECT CONFERENCE ADRIATICS

ZAGREB, 11/28/2012