This topic explains how to upgrade a ThingWorx eMessage Connector to version 1.2.7. Click the title to expand each of the following sections, in the order in which they appear here:
Upgrading the eMessage Connector involves installing a new instance of the Connector. Upgrading the Connector also means installing the new versions of the extensions in your ThingWorx Axeda Compatibility Package on your ThingWorx Platform. Before you begin the upgrade, here are some best practices to follow:
• Before upgrading the eMessage Connector and extensions, you need to export any entities from ThingWorx Platform that were created for use with the Connector. Upgrade the ThingWorx Platform next.
• Copy any site-specific configuration values from the existing installation configuration to the new installation configuration file. Do not just copy over the existing emessage-ha-sample.conf file.
• After importing the Axeda Compatibility Extension into ThingWorx Platform, import your exported entities and re-run the permissions services, as explained in
Setting Up Permissions and Visibility for the eMessage Connector. The required permissions are not automatically re-applied when importing your exported entities because the entities are installed as new entities, not as upgraded entities, when you are using this method of upgrading the platform.
All of the extensions in the ThingWorx Axeda Compatibility Package have been upgraded to work in a ThingWorx High Availability Clustering environment. This includes the Axeda Compatibility Extension (ACE), Connection Services Extension (CSE), Remote Access Extension (RAE), ThingWorx Utilities Core Extension, and ThingWorx Utilities Software Content Management (SCM) Extension.
To upgrade the extensions provided in the Axeda Compatibility Package, v.1.3.x, involves these steps:
1. Make sure that you exported any entities that you have created using the entities in the extension.
2. Uninstall the existing extension.
4. Import your entities back into the platform.
Here are the instructions for upgrading the ThingWorx eMessage Connector to v.1.2.7 (ACP v.1.3.1):
a. Select the Product Family, THINGWORX CONNECTION SERVICES.
b. On the download page for the ThingWorx Connection Services Product Family, the releases are numbered by the related release of ThingWorx Platform. To upgrade, expand the Release 9.0 node.
c. Expand the node, ThingWorx Axeda Compatibility Package, and then the node, Most Recent Datecode.
d. Select the Axeda-Compatibility-Package-1-3-1 file and click HTTPS to download the distribution bundle.
2. Extract the downloaded zip file to an appropriate location.
4. Open the decrypted configuration file.
5. If TLS is used for connections between the eMessage Agent devices and the eMessage Connector, convert the JKS keystore to a PKCS#12 keystore.
| If you must continue using a JKS keystore, set the cx-server.protocol.ssl.key-store.type property to jks in the configuration file and skip the rest of this step. Using a JKS keystore is discouraged because it is less secure format than PKCS#12. |
b. In the configuration file, update the cx-server.protocol.ssl.key-store.file property in the configuration file to point to the PKCS#12 keystore.
c. If the password has changed, update the cx-server.protocol.ssl.key-store.password property in the configuration file.
6. Migrate any site-specific settings from your existing emessage-ha-sample.conf file. If you have been using the file transfer capabilities, you must specify the location for file downloads. The following table lists additional settings that you may want to migrate and the help topic that explains them:
Settings | Help Topic |
---|
Location for file downloads REQUIRED | |
Location for file uploads REQUIRED | |
Any additional configuration for file transfers | |
Property settings for Remote Access | |
Property settings for metrics reporting | |
7. Save the configuration file.
11. Ensure that the extensions provided with the Axeda Compatibility Package, v.1.3.1, have been imported to the ThingWorx Platform. For assistance, refer to
Importing the Extensions (CSE, RAE, and ACE) in this Help Center.
13. If you have not already done so, shut down the old eMessage Connector.
15. Verify that the eMessage Connector successfully connected to ThingWorx by confirming it appears in the ThingWorx Composer list of Connection Servers. In ThingWorx Composer, click the
icon (Monitoring menu) and then select
Connection Servers to display the page.