Adapted from material presented at this URL – http://channel9.msdn.com/Events/Project/2014/PC319
-
Tested and proven
-
Some things to watch out for, permissions on site collections and sites.
-
if run into any errors in scripts, or any messages about error, make sure to resolve.
-
Make sure all sites get upgraded, e.g. dont forget order of root then pwa.
-
Make sure PWA is not in backwards compatibility mode and if is, remove it, check out the Enterprise Global File, change it and check it in, http://technet.microsoft.com/en-us/library/gg502585(v=office.14).aspx and open the Enterprise Global file http://technet.microsoft.com/en-us/library/gg188104(v=office.14).aspx
-
Check your project server for issues that can cause the upgrade to fail http://technet.microsoft.com/en-us/library/ff603504(v=office.15).aspx#section4
-
This is the order below to run the commands, watch the channel9 above, great video!
Content Databases
- Check the SharePoint content Database that contains your Project Site data for errors that can cause upgrade to fail Test-SPContentDatabase
1 |
Test-SpContentDatabase -Name <ContentdbName> -WebApplication <URL> -ServerInstance <Alias or ServerName> |
- Attach and upgrade the SharePoint content Database Mount-SPContentDatabase
1 |
Mount-SPContentDatabase -Name <ContentdbName> -WebApplication <URL> -DatabaseServer <Alias or ServerName> -NoB2BSiteUpgrade |
- Take ownership of the site collection you want to upgrade Set-SPSite (make sure the correct accounts have site collection admin)
1 |
Set-SPSite -Identity <SiteCollectionName> -OwnerAlias <domain\samaccount> -SecondaryOwnerAlias <domain\samaccount> |
- Migrate users from windows classic authtentication to claims-based authentication (optional, in that needs to be done if the 2010 data was not claims)
1 |
(Get-SPWebApplication <SPWevAppPipeBind>).MigrateUsers($true) |
- Check the SharePoint site collection for issues that can cause upgrade to fail (aka upgrade blocking = true) Test-SPSite
1 |
Test-SPSite -Identity <URL> |
- Upgrade the SharePoint Site Upgrade-SPSite (upgrade the root “/” and then /pwa)
1 |
Upgrade-SPSite -Identity <URL> -VersionUpgrade |
Project Server Databases
- Consolidate your Project Server 2010 databases to a Project Project Web App Database Convertto-SPProjectDatabase
- You might have to login with the farm account to get this to run.
1 |
ConvertTo-SPProjectDatabase -WebApplication https://projectserver2013d.BeaversOil.com -Dbserver SharePointAlias -ArchiveDbname SPDEV_Project_Server_Archive -DraftDbname SPDEV_Project_Server_Draft -PublishedDbname SPDEV_Project_Server_Published -ReportingDbname SPDEV_Project_Server_Reporting -ProjectServiceDbname SPDEV_Project_WebAppDB |
- Attach your Project Web App database to the web application Mount-SPProjectDatabase
1 |
Mount-SPProjectDatabase -Name SPDEV_Project_WebAppDB -WebApplication https://projectserver2013d.BeaversOil.com -DatabaseServer SharePointAlias |
- Check your project web app database for errors Test-SPProjectDatabase
1 |
Test-SPProjectDatabase -Name SPDEV_Project_WebAppDB -DatabaseServer SharePointAlias |
- Upgrade your project web app database Upgrade-SPProjectDatabase
1 |
Upgrade-SPProjectDatabase -Name SPDEV_Project_WebAppDB -WebApplication https://projectserver2013d.BeaversOil.com -DatabaseServer SharePointAlias |
- Mount your Project web app instance Mount-SPProjectWebInstance
1 |
Mount-SPProjectWebInstance -DatabaseName SPDEV_Project_WebAppDB -SiteCollection https://projectserver2013d.BeaversOil.com/pwa -DatabaseServer SharePointAlias |
- Check your Project web app instance for errors Test-SPProjectWebInstance
- You may want to remove the format-table | more portion
1 |
Test-SPProjectWebInstance -Identity https://projectserver2013d.BeaversOil.com/PMO | format-table -Wrap | More |
- Upgrade your Project web app instance Upgrade-SPProjectWebInstance
1 |
Upgrade-SPProjectWebInstance -Identity https://projectserver2013d.beaversOil.com/pwa |
- Enable PWA features Enable-SPFeature
1 |
Enable-SPFeature -Identity pwasite -Url https://projectserver2013d.beaversOil.com/pwa |
Plan for the Upgrade to Project Server 2013 – http://technet.microsoft.com/en-us/library/ff603505(v=office.15).aspx