SharePoint Practice



Migrate from SharePoint 2010 to SharePoint 2013 - Step by StepMake sure your SharePoint 2010 farm is up-to date:?Its highly recommended that you have latest service packs/patches installed on your SharePoint 2010 farm before proceeding with migration. Download Patches/Service packs from:? your existing SharePoint 2010 environment?-Assess current environment and take an inventory of all customizations. Document farm configuration settings in SharePoint Server 2010?Refer this check list:?25 Things to Document before You Start SharePoint Migration. can also use codeplex tool:? Upgrade Work Sheets: Use upgrade worksheets from Microsoft to document your source environment. Download upgrade worksheets at:? the Authentication to Claims:?Claims authentication is the default authentication in SharePoint 2013. Many dependent services (like Office Web Apps) require Claims authentication in SharePoint 2013. So before migration convert your SharePoint 2010 web applications from Classic mode (which is default in SharePoint 2010) to Claims. Technet Reference:?, If you have "Forms" authentication, make sure its configured in your target farm before migration.?Cleanup Before Migration?- Clean up an environment before an upgrade to SharePoint 2013 - This includes deleting unused sites/site collections, Removing unused features and solutions, Delete orphaned users and sites, Cleanup old document versions, Removing features which are not supported by SharePoint 2013 (such as Web Analytics). Technet Reference:? recommended that you run database consistency check before taking database backup from SharePoint 2010 farm.Migration Steps Summary:Create new SharePoint 2013 Farm, Setup necessary configurations.Backup - Restore SharePoint 2010 Content Databases to SharePoint 2013's SQL Sever (or perform a detach-attach process)Verify content databases by running:?Test-SPContentDatabase?from SharePoint 2013 farm.Attach Content Databases to SharePoint 2013 web application by running:?Mount-SPContentDatabaseUpgrade Site Collections to move them into SharePoint 2013.Step 1. Create New SharePoint 2013 Farm:Install and configure new SharePoint 2013 farm. All farm configurations should be setup as in source SharePoint 2010 Farm, including: All necessary configurations like AAM, Email settings, Managed pats, etc. Install any 3rd party software, language packs, custom features and solutions you had in your SharePoint 2010 farm into your new SharePoint 2013 Farm. Create web application(s) to SharePoint 2013 environment as in your existing SharePoint 2010 farm.As we are going to use the existing content database from SharePoint 2010, Delete the default content database associated with your new web application. If you failed to delete the web application's root site database, you will get "Orphaned Sites" issue on running?Test-SPContentDatabase?cmdlet as part of migration process. This is because the root site collection exists in both content databases and leads to conflict!Alright, This article assumes new SharePoint 2013 Farm is already installed and configured.Step 2. Backup - Restore SharePoint 2010 Content Databases to SharePoint 2013 SQL Sever:??Backup SharePoint 2010 content databases, Restore them into SharePoint 2013's SQL Server instance.Identify and take a list of your source content databases either from Central Administration (Central Administration >> Application Management >> Manage Content Databases )Or use this PowerShell cmdlet to retrieve all content databases of a particular web application:?1Get-SPContentDatabase -WebApplication "<Web App URL>" | Select NameOptionally, you can Setting SharePoint Content databases to read-only before taking backup. But why? because you may want users to continue using SharePoint 2010, same time preventing any data in-consistency on content migrated to SharePoint 2013. To do so: Go to SQL Management Studio >> database properties >> Options >> Set Database Read-only to "True".Backup Databases from SharePoint 2010 SQL Server:Log-in to SQL Server box of your SharePoint 2010 FarmOpen SQL Server Management Studio, Expand Databases nodeRight Click your content database, Choose Tasks >> BackupSet the backup type to "FULL", specify the backup destination and click on "OK" to start backup processWait for the backup to complete.Repeat this procedure for All content databases of desired SharePoint 2010 web applications.Restore Database on SharePoint 2013's SQL box:Next step is to Restore all databases taken from SharePoint 2010 to SharePoint 2013 SQL Server.Copy all required databases backup files to your target SharePoint 2013's SQL Server.?Open SQL Server Management Studio Right click databases node >>Click Restore DatabaseSpecify the source as "Device" and Click on the "..." button to add backup files. Click on "Add" button to locate backup files.Once done, Click on "OK" to return to the restore window.In Destination section , you can type new database name in Database field if you wish to rename your database.Click on "OK" button to start restore process. Wait for the restore successful message.Once restored, Go to Database properties, Click on Options Tab, Set Database Read-only to False. (If you made it read-only before taking backup!)Step 3. Verify content databases with Test-SPContentDatabase:?No more STSADM -o PreUpgradeCheck and its replaced with the PowerShell cmdlet:?Test-SPContentDatabase. So we got to execute?Test-SPContentDatabase?cmdlet which scans content databases of the provided web application and addresses any issues found.Syntax:?1Test-SPContentDatabase -Name <Database name> -WebApplication? <Web-App-URL>E.g.?1Test-SPContentDatabase -Name "SP2013_Operations_Content" -WebApplication ""This would report potential issues such as: Missing Features & Solution dependencies, Orphaned Sites, wide Lists, etc. Resolve Migration issues reported by Test-SPContentDatabase.Test All Content Databases and produce ReportLets execute Test-SPContentDatabase for all Content Databases:??123456789101112131415161718Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue?#Array to hold Content Databases to Test$ContentDBS= ("SP2010_IntranetRoot_Content", "SP2010_Sales_content", "SP2010_Operations_Content")?#Web Application to Host$WebAppURL = ""?#Loop through each web web applicationForeach ($DB in $ContentDBS)?{?????"Checking Content Database - " + $DB | Write-Host -ForegroundColor Green???????"Report to Content Database: $($db)" |? Out-File -Encoding default -FilePath $("D:\DBCheck.csv") -Append??????#Test Content Database and output report to a CSV file??????Test-SPContentDatabase -Name $DB -WebApplication $WebAppURL | ConvertTo-Csv -NoTypeInformation | Out-File -Encoding default -FilePath $("D:\DBCheck.csv") -Append???}This script gives nice report in CSV format for easier analysis. To troubleshoot upgrade issues reported, use? the upgrade log and deploy any missing components and re-run Test-SPContentDatabase cmdlet to verify again. Make sure?UpgradeBlocking?is false to move further!Step 4. Attach Content Databases to SharePoint 2013 by running: Mount-SPContentDatabaseAfter fixing all issues reported by Test-SPContentDatabase, we can start attaching content databases to SharePoint 2013 web application. Remember: Always mount the root site collection's database first! Also, if you migrating My sites, Migrate My Site Host First!?1Mount-SPContentDatabase -name "SP2013_Operations_Content" -DatabaseServer "G1-SP2013-DB01." -WebApplication "" -confirm:$falseOnce mounted the content database to web application successfully, The site collection is accessible in SharePoint 2010 Mode!Step 5. Upgrade Site Collections to move them into SharePoint 2013.One more step to complete our migration: Upgrading site collections.By default, after migrating from SharePoint 2010 to SharePoint 2013, All migrated site collections will be on SharePoint 2010 format, retaining its old look and feel and other functionalities. We've to explicitly migrate all site collections to SharePoint 2013.This can be done by Site collection administrators by clicking links from upgrade reminder banner.At Site Collection Level, you can make use of Site Collection Health Checkup:New in SharePoint 2013, Site collection Administrators can perform health checkup at site collection level before upgrading site collections from SharePoint 2010 mode to SharePoint 2013! Navigate toSite Settings >> Site Collection Administration?Click on?Site collection health checks?(Or use PowerShell?Test-SPSite -identity <URL>)Site collection health checkup report gives customized files, missing galleries, missing Content Types, content type conflicts, missing site templates, unsupported language packs, etc. You can repair some of the issues by running:?Repair-SPSite -identity <URL>Deferred site collection upgrade?- Its a replacement for Visual Upgrade feature (Once site collection is upgraded, can't be rolled back). SharePoint 2013 shipped with files to Support SharePoint 2010. Not just user interface but actual SharePoint functionality itself. E.g. You can find 14 folder on SharePoint 2013 installation. So all files will still be maintained. E.g. Features, Event Receivers, Solutions can be deployed on 14 hive, etc. So, almost all of your existing SharePoint 2010 customizations should just work fine.?You will see a banner on top of Site collections now!?To upgrade the site collections: Click on "Start now" link on the banner (You can get there by going to Site Settings >> Site Collection Upgrade as well.)Confirm the site collection UpgradeWe can monitor the upgrade progress with SiteUpgrade.aspx page, which provides a link to an upgrade log for troubleshooting purposes. From here, you can either start the actual upgrade or create a preview site.SharePoint Farm Administrators can do it through bulk through PowerShell script:?1Upgrade-SPSite -identity "" -VersionUpgradeWe can upgrade all site collections under the specific web application with PowerShell cmdlet:??12#To upgrade all site collections in a Content DatabaseGet-SPSite -contentdatabase <content database name> -limit All | Upgrade-SPSite -versionUpgradeOnce upgrade completed successfully, Verify Your site collection is with all new SharePoint 2013 features.Get Upgrade Status:Upgrade can be time consuming where there is a large number of site collections?exists on the given content database. Get the Status of? upgrade from "Upgrade Status" page in central administration page (Central Admin >> Upgrade and Migration >> Check upgrade status )!?Or use the PowerShell script:??1Get-SPSiteUpgradeSessionInfo -contentdatabase "<Content DB Name>" -showInProgress -showCompleted -ShowFailedSites will be in locked state until upgrade completed.That's all, We are completed now! As a best practice, Review event logs and ULS logs after migration completed successfully!!Here is our SharePoint 2010 site:Here is the SharePoint 2010 site migrated with SharePoint 2013:The Final site after site collection upgrade:Additional Things to Consider:You can try the Demo Upgrade with Evaluation Site Collection:Demo upgrade allows to get the SharePoint 2013 preview of existing site collection by making a copy. You can try it by clicking "Try a Demo Upgrade" link either from "Upgrade Reminder banner " or by going toSite Settings >> Site Collection Admin?Site collection upgrade, click on Try a demo upgradeSite collection admin receives an email when timer job “Create upgrade Evaluation Site Collections” creates a site collectionFarm administrators can request an Evaluation Site Collection using PowerShell:?1Request-SPUpgradeEvaluationSite -identity <Site Collection URL>This Provisions a temporary site collection with SharePoint 2013's look and feel to validate your site collection to get the preview of your site collection on SharePoint 2013. Remember, the evaluation site collection expires after 30 days, and gets auto deleted!Remember, while upgrading: you can't downgrade! Meaning, you can't upgrade from SharePoint Server to SharePoint Foundation or You can't upgrade from SharePoint Server Enterprise to Standard version!Disable Self Service UpgradeIn some cases, you may want to disable self service upgrade on specific site collections, for e.g. You may want to disable upgrade on heavily customized site collections. We can disable upgrade which hides the "upgrade Reminder" bar at the top of the site collection eventually.?1234#Get the site collection$Site = Get-spsite ""#Disable Upgrade options from UI$Site.AllowSelfServiceUpgrade = $false ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download