Upgrade Digital Access component from 6.0.5 or above
This article is valid for upgrades from Digital Access 6.0.5 or above to higher versions.
This article describes how to upgrade the Smart ID Digital Access component from version 6.0.5 and above to higher versions for single node appliance, as well as high availability or distributed setup. Once you are on 6.0.5 or above already using swarm, you can either upgrade to higher versions manually, or through the tgz file provided in the support portal.
Upgrade manually
Update the Digital Access tag in versiontag.yml under opt/nexus/docker-compose/ to the version you wish to upgrade. Check for exact versions in Digital Access docker image tags.
Run the start-all.sh script on the manager node (node on which admin service is running):
CODEsudo bash opt/nexus/scripts/start-all.sh
This will take time since the start-all.sh script will download the respective (only the ones that are running in that specific node and not all) new Digital Access images on all the nodes.
Upgrade using scripts from support portal
Prerequisites and preparations
Make sure there is a backup/snapshot of the machine before starting the upgrade.
Make sure that the docker-compose folder is the present under /opt/nexus with current tags in versiontag.yml. If it is not present, copy the folder from upgrade/docker-compose to /opt/nexus/. Also, delete the upgrade folder before unzip of new scripts.
For upgrade to versions 6.10.0 and above, download DA-<version>.tgz on the manager node (the node where the administration service is running) and extract the tar file.
CODEtar -xf DA-6.10.0.tgz
For previous releases, download upgrade.tgz to the manager node (the node where the administration service is running) and extract the tar file.
CODEtar -xf upgrade.tgz
The upgrade script pulls the respective script on all nodes. To reduce the downtime, download the images in advance, before running the upgrade. See step 4 below.
Optional: Pull images before running upgrades.
The upgrade script would pull respective images on all nodes. If you want to have a lesser downtime, you can download the images in advance before running the upgrade.
Follow step 3 for all other nodes as well.
Run the script pull_image.sh on all nodes. (In case of offline upgrade, copy the images to the machine and load.)
CODEsudo bash upgrade/scripts/pull_image.sh
The pull_image script will download all images on all nodes. Delete the ones not required manually.
Upgrade system
Run upgrade script
To upgrade the system, run the upgrade script on the manager node (the node on which the administration service runs):
Run the upgrade script with this command line option:
CODEsudo bash upgrade/scripts/upgrade.sh --manager
The upgrade.sh script will not delete the previous Digital Access docker images. It is recommended that you delete previous/unused Digital Access docker images from the nodes manually.
To start the services manually, in case services fails to start automatically after upgrade, use the start-all.sh script on the manager node:
CODEsudo bash /opt/nexus/scripts/start-all.sh