Upgrade MatchPoint 4.0.x to 5.0
The migration process of MatchPoint version 4.0.x to MatchPoint version 5.0 follows the migration path from SharePoint 2013 to SharePoint 2016 as specified by Microsoft.
The migration process for upgrades from MatchPoint 4.0.x versions to MatchPoint 5.0 requires following steps:
- Update to the latest 4.0.x MatchPoint version on the SharePoint 2013 environment.
Execute the Pre-Upgrade powershell script to remove features that are no longer available in MatchPoint 5. Note, that this causes errors on the SharePoint 2013 installation!
- Put the SharePoint 2013 farm and the databases into read-only mode and back up the content and the service application databases.
- Install SharePoint 2016.
- Restore a copy of the SharePoint 2013 databases to the SQL Server instance on the SharePoint Server 2016 farm and set the databases to read-write.
- Configure / create / upgrade the same service applications you had on SharePoint 2013 on SharePoint 2016.
- Create a web application for each web application that existed in the SharePoint 2013 environment.
- Install MatchPoint version 5.0 by adding and deploying the required
MatchPoint solutions package files:
- Microsoft.Deployment.Compression.wsp
- Newtonsoft.Json.wsp
- Colygon.MatchPoint.wsp
- Colygon.MatchPoint.TaggingService.wsp
- Optional: Colygon.MatchPoint.Samples.wsp (if it was deployed on SharePoint 2013)
- Optional: Colygon.MatchPoint.Solutions.wsp (if it was deployed on SharePoint 2013)
- Optional: Install & configure MatchPoint Content Enrichment Web Service.
- Restart the SharePoint timer service
restart-service sptimerv4
- Attach & upgrade the SharePoint 2013 content Databases
(
Mount-SPContentDatabase
Cmdlet)- Note: Use the paramter
SkipSiteUpgrade
so the sites are not upgarded directly!
- Note: Use the paramter
- Activate the following features on the web applications:
- Colygon.MatchPoint.Core.Infrastructure
- Colygon.MatchPoint.Tagging.Inheritance
- Upgrade all sites to SharePoint 2016.
For example by using:
Get-SPSite -Limit All | Upgrade-SPSite -VersionUpgrade –Unthrottled
- Reactivate the Colygon.MatchPoint.Core.Administration feature on the
MatchPoint Instance site collection.
(
Enable-SPFeature -Identity cde85a0c-4b3d-4ac8-b9db-4c805ca7358d -Url <url> -Force
) - Install and activate MatchPoint Tagging service farm feature:
Install-SPFeature –Path Colygon.MatchPoint.Tagging.Service
Enable-SPFeature -Identity Colygon.MatchPoint.Tagging.Service
- Create Tagging Service Applications:
- Attach the SharePoint 2013 Tagging Service database to MS SQL server.
- Create a new Tagging Service Application in SharePoint 2016 Central Administration.
- Specify the database name of the attached database in the "Database" section of the "Create new MatchPoint Tagging Service Application" dialog.
- Repeat this step for every Tagging Service Application.
- Install managed properties by using:
Add-MPManagedProperties
- Optional:
Add-MPContentEnrichmentManagedProperties
- Start a full crawl in the Search Service Application.
- Upgrade custom code that uses the MatchPoint API. The custom code needs to be compiled against the MatchPoint 5.0 DLL files.
Cleanup Steps:
- Remove the ListItemEventHandler configuration referencing the WorkflowListEventHandler version 4.0 and add a ListItemEventHandler configuration referencing the WorkflowListEventHandler version 5.0.
Please note that the same authentication mode must be used for the new web application. If this is not the case all user associations might be lost including site collection administrators and unexpected behavior might occur.
Upgrade MatchPoint Solutions
The MatchPoint solutions can be updated either automatically using the MatchPoint installer executable, or by using standard the SharePoint solution deployment mechanisms:
Update-SPSolution -Identity Colygon.MatchPoint.wsp
-LiteralPath C:\Colygon.MatchPoint.wsp
-GACDeploym
Update-SPSolution -Identity Colygon.MatchPoint.TaggingService.wsp
-LiteralPath C:\Colygon.MatchPoint.Tagging.Service.wsp
If you are using the MatchPoint installer, choose "Upgrade" (after System Check succeeded).
After MatchPoint has been upgraded, restart the IIS and the SharePoint TimerJob Service and every frontend server. Also, you need to reschedule the MatchPoint timer jobs:
Reschedule-MPTimerJobs -WebApplication <SPWebApplicationPipeBind>
Restart Tagging Service Instances
Open Central Administration. In Application Management -> Manage Services on Server, stop and start running Tagging Service on all servers.
Reactivate the instance administration feature
If MatchPoint was upgraded using the installer, this step can be skipped since it was already done by the installer.
Open a new PowerShell console – a previously used PowerShell console might use an application domain that has not loaded the upgraded MatchPoint assembly.
Execute the following PowerShell command for every MatchPoint instance site collection:
Enable-SPFeature -Url "<instance site url>" -Force -Identity
Colygon.MatchPoint.Core.Administration
Upgrading Custom Code
If custom code is deployed that uses interfaces of the MatchPoint API, it is required to recompile the code against the MatchPoint 5.0 assemblies. Any custom assemblies should be re-deployed to the environment after the migration has been executed. Note that it might be necessary to restart the "SharePoint 2016 Timer" service and to recycle the application pool of any web applications using MatchPoint functionality.