Upgrading from Gateway 5.x
The Content Gateway software components are packaged as RPMs in the Swarm distribution bundles downloaded from the Downloads section on the DataCore Support Portal. Download the bundles for both Swarm 11 and Swarm 12 to verify all versions needed to step through a migration from an unsupported version of Elasticsearch are available.
Elasticsearch Migration
Gateway 6 and higher cannot work with Elasticsearch 2.3.3, so be ready to switch over to the new search index before upgrading Gateway. Perform a rolling upgrade to the new Elasticsearch, taking advantage of the fact that each Gateway does not switch to the new Elasticsearch cluster until it is rebooted if more than one Gateway exists.
Work with DataCore Support to plan well and avoid downtime. See How to Upgrade Swarm, Upgrading from Unsupported Elasticsearch.
Review the upgrade impacts and known issues for the release being upgraded. See Content Gateway Release Notes.
Complete the upgrade of the Swarm Storage cluster.
Complete the migration to Elasticsearch 6, so it is the primary search feed Gateway uses on restarting after upgrade. See Migrating from Older Elasticsearch.
(Load balancer users only) In the load balancer, disable traffic for the specific Gateway being upgraded. Allow traffic to continue flowing to the other Gateways.
Stop the Gateway service.
systemctl stop cloudgateway
Apply any operating system patches before upgrading the Gateway.
Upgrade the RPMs for Gateway, Swarm UI, and Content UI:
yum -y install caringo-gateway-VERSION.rpm yum -y install caringo-storage-webui-VERSION.rpm yum -y install caringo-gateway-webui-VERSION.rpm
Reload the systemd control scripts:
systemctl daemon-reload
Fall back and retry if the upgrade failed:
Revert the RPM back to Gateway 5.x.
Restart the Gateway that failed the upgrade.
Review and modify the
gateway.cfg
and the newlogging.yaml
configuration files in the/etc/caringo/cloudgateway
directory. See Gateway Configuration.gateway.cfg
In the [storage_cluster] section, update theindexerHosts
value in to the new Elasticsearch server.logging.yaml
Edit the Syslog block and change the protocol to TCP if the server supports TCP and it is desired.
The Gateway service does not automatically start after a system reboot, so re-enable the service if upgrading from version 5.2.1 or earlier.
Start the Gateway service:
(Load balancer users only) Re-enable client traffic to the newly upgraded Gateway in the load balancer.
Repeat the process for the remaining Gateways.
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.