OPC Router Upgrade to v4.25 or newer Best Practices
In addition to new features, add-ins, and more, there were major changes to the licensing and database backend of OPC Router starting with v4.25. This FAQ provides guidelines for upgrading and addresses some commonly asked questions at the bottom of this FAQ. If you are upgrading from any version older than 4.25, please review and consider these best practices for best results.
Before you Start
Before you upgrade from v4.18 or older to the new version you MUST make sure consider the following:
- Your OPC Router license must be on support to get access to version 4.25 or newer. If on support the license will available in the new OPC Router Licensing Portal. We recommend logging into the portal and adding your license to ensure you have access to the current version. If you are not sure if your license is on support you can contact us to see if you qualify for the free upgrade or if you will need to renew Support & Maintenance first.
-
You must make backup of your current OPC Router database (see step 1 below).
- Review the Special Considerations section of this FAQ. For example, users of Dynamic Template Instances, an advanced feature, will need to do extra planning and preparation.
1 - Backing up First
-
To create a backup go to 'File -> Create backup'.
-
Take note of the path to the backup and click 'Create'
2 - Installing the Upgrade
-
Stop the OPC Router Service.
-
Start the Installer
-
It will first install two prerequisites that are bundled into the installer package
-
Visual C++ 2015-2019 Redistr (x64)
-
.NET 5.0
-
-
Last it will prompt you to install OPC Router.
3 - Migrating the Database
Automatic Migration
-
Click 'Yes, Automatic' and the Automatic Migration should complete shortly.
Manual Migration
-
For Manual Migration, click 'Yes, user defined'.
-
If you have exported your OPC Router Project you can import here.
-
Specify the path of your OPC Router database (default path is "C:\Program Files\inray\OPC-Router4\SQLLocalDB\Data"). You should have a group of *.ldf and *.mdf files.
-
Click 'Continue'
-
You will be presented with a Summary and can click 'Start migration'
4 - Activating your License
5 - Testing and Backup Again
Once you are satisfied the system is working well, make another backup, label it clearly and store it somewhere other than the machine where OPC Router is running.
Special Considerations
Dynamic Templates
If you are using Dynamic Templates, you will need to specify an external Microsoft SQL Server database because OPC Router converts it's internal database to the NoSQL MongoDB when V4.25 is installed and removes the old SQL database instance. You need that new SQL instance to store the dynamic template instances information. SQL Express is an acceptable solution.
You MUST export your data for Dynamic Templates from your existing OPC Router internal database BEFORE you upgrade. Doing that requires expertise with SQL Management Studio, which your IT team should have and be able to assist you with.