Modular Cluster Topology: Upgrade a Multinode Environment with the Delta Bundle#
Note
While system upgrade takes approximately two hours at a single site, this may vary in accordance with your topology, number of devices and subscribers. Adjust your upgrade maintenance window to allow for your configuration.
The standard screen command should be used where indicated. See: Using the screen command.
Determine the Primary database and application node in a Modular Cluster Topology#
Important
All upgrade steps are to be run from the primary application node. Where it is necessary to run database node commands from this application node, the primary database node IP will be passed in as a parameter with the command.
In order to run the commands for the upgrade on the nodes with the appropriate roles, determine:
The primary application node
The primary database node
Log in on a node in your modular cluster.
To find the primary application node in the cluster:
$ cluster run all cluster primary role application
Record the node entry where
is_primary: true
, for example:---------- VOSS-UN-1, ip=192.168.100.3, role=webproxy,application, loc=cpt is_primary: true
To find the primary database node in the cluster:
$ cluster run all cluster primary role database
Record the node entry IP where
is_primary: true
, for example:---------- VOSS-UN-2, ip=192.168.100.4, role=database, loc=cpt is_primary: true
This IP address will be used in command parameters during upgrade.
Note
When the cluster run all primary role <role> command is run, web proxy nodes will return a failure - this can be ignored. For example:
---------- VOSS-WP-1, ip=192.168.100.9, role=webproxy, loc=cpt
Invalid command syntax - refer to help descriptions
Download Files and Check#
Description and Steps |
Notes and Status |
---|---|
VOSS files: https://voss.portalshape.com > Downloads > VOSS Automate > XXX > Upgrade Download Either using SFTP:
Or using SCP:
On the primary application node, verify that the
On the primary application node, verify that the original
|
Adaptations Check#
Description and Steps |
Notes and Status |
---|---|
Identify installed adaptations and determine any effect on the upgrade plan. If the release is accompanied by Upgrade Notes, refer to the details. |
Schedules, Transactions and Version Check#
Description and Steps |
Notes and Status |
---|---|
Turn off any scheduled imports to prevent syncs triggering part way through the upgrade. Two options are available: Individually for each job:
Mass modify:
Schedules enabled on the CLI: on the primary application node:
|
|
Check for running imports. Either wait for them to complete or cancel them:
|
|
Customized ``data/Settings`` If The modifications can be re-applied or exported JSON instances can be merged following the upgrade. See: Post Template Upgrade Tasks. Version Record the current version information. This is required for upgrade troubleshooting.
|
Pre-Upgrade, Security and Health Steps#
Description and Steps |
Notes and Status |
---|---|
Have the IP address available of the node determined to be the primary database node. Verify that the primary database node is the active primary node at the time of upgrade. On the primary application node, run: cluster run <primary db IP> database config From the output, ensure that the primary database node Example output <ip address>:27020:
priority: <number>
stateStr: PRIMARY
storageEngine: WiredTiger
Validate the system health on the primary application node: Verify cluster connectivity
Verify network connectivity, disk status and NTP.
If there is any sign of the paths below are over 80% full, a clean-up is needed to avoid risk of for example full logs occurring during upgrade. Clean-up steps are indicated next to the paths: / (call support if over 80%)
/var/log (run: log purge)
/opt/platform (remove any unnecessary files from /media directory)
/tmp (reboot)
On the primary application node, verify there are no pending Security Updates on any of the nodes:
|
|
As part of the rollback procedure, ensure that a suitable restore point is obtained prior to the start of the activity, as per the guidelines for the infrastructure on which the VOSS Automate platform is deployed. VOSS cannot guarantee that a restore point can be used to successfully restore VOSS Automate. If you cannot restore the application from a restore point, your only recourse is to reinstall the application. Optional: If a backup is also required
Backups for an application and web proxy type node are not required. A backup created on the secondary database node will include all the relevant data, excluding the web certificates. For details, refer to the Platform Guide. |
Description and Steps |
Notes and Status |
---|---|
Before upgrading, check all services, nodes and weights for the cluster on the primary application node. Make sure no services are stopped/broken. The message ‘suspended waiting for mongo’ is normal on the fresh database nodes.
Make sure all application nodes show.
Check that the database weights are set. It is critical to ensure the weights are set before upgrading a cluster. The command is run from the primary application node and is carried out on all database nodes
Example output: ---------- VOSS-UN-2, ip=192.168.100.4, role=database, loc=cpt
192.168.100.4:
weight: 70
192.168.100.6:
weight: 50
192.168.100.8:
weight: 30
---------- VOSS-UN-4, ip=192.168.100.6, role=database, loc=cpt
[...]
Verify the primary database node in the primary site and ensure no nodes are in the
‘recovering’ state (
|
Upgrade#
Description and Steps |
Notes and Status |
---|---|
On the primary application node:
Run (optionally with command parameters below):
The upgrade will also silently run an updated version of cluster check and the upgrade will fail to proceed if any error conditions exist. Fix before proceeding. Refer to the Platform Guide for details on the new version of the cluster check command. Run on the primary application node and use the primary database IP as parameter:
and verify the number of nodes are uneven, i.e. either 5 or 7. If not, run: cluster run <primary db IP> cluster provision role database Ensure an arbitrator shows when you run the command again: cluster run <primary db IP> database config (output shows: Note that during the upgrade, phone registration data is cleared. A message will
show in the log: |
Post-Upgrade, Security and Health Steps#
Description and Steps |
Notes and Status |
---|---|
On the primary application node, verify the cluster status:
|
|
If upgrade is successful, the screen session can be closed by typing exit in the screen terminal. If errors occurred, keep the screen terminal open for troubleshooting purposes and contact VOSS support. |
|
Check for needed security updates. On the primary application node, run:
If one or more updates are required for any node, run on the primary application node:
Note: if the system reboots, do not carry out the next manual reboot step. Manual reboot only if needed:
If node messages:
Since all services will be stopped, this takes some time. |
Post Template Upgrade Tasks#
Description and Steps |
Notes and Status |
---|---|
Restart the system from the command line if no reboot took place during the Post-Upgrade, Security and Health Steps. On the primary application node, run: cluster run notme system reboot and then system reboot |
|
Import ``device/cucm/PhoneType`` In order for a security profile to be available for a Call Manager Analog Phone,
the
SSO Login URL check if needed Verify the SSO Login URL if needed. Go to Single Sign On > SSO Identity Provider and ensure your URL matches the SSO Login URL value. Customized ``data/Settings`` For releases prior to 21.1, merge the previously backed up customized Support for VG400 and VG450 Analogue Gateways Before adding the VG400 or VG450 Gateway, the
Verify the upgrade Log in on the GUI and check the information contained in the About > Version menu. Confirm that versions have upgraded:
where If your web browser cannot open the user interface, clear your browser cache before trying to open the interface again. Verify that the web portal is configured to the required setting, either admin or classic. For further details on this setting, see Web Portal Configuration in the Platform Guide. |
|
|
Restore Adaptations#
Description and Steps |
Notes and Status |
---|---|
Restore and adaptations prior to upgrade. If the release is accompanied by Upgrade Notes, refer to the details on adaptation impact. |
Restore Schedules#
Description and Steps |
Notes and Status |
---|---|
Re-enable scheduled imports if any were disabled prior to the upgrade. Two options are available: Individually for each job:
Mass modify:
Note Select the Skip next execution if you do not wish to execute schedules overlapping the maintenance window, but only execute thereafter. Schedules enabled on the CLI. On the primary application node:
|
Release Specific Updates#
Description and Steps |
Notes and Status |
---|---|
When upgrading to release 21.3, users of Microsoft apps should after upgrade, select each
Microsoft Tenant ( This step is required so that VOSS Automate can communicate with the Tenant post upgrade. |
|
Only if the following step was not carried out when upgrading to Release 21.3-PB1: On the primary node, run:
|
Log Files and Error Checks#
Description and Steps |
Notes and Status |
---|---|
Inspect the output of the command line interface for upgrade errors. On the primary application node, use the log view command to view any log files indicated in the error messages, for example, run the command if the following message appears: For more information refer to the execution log file with
'log view platform/execute.log'
For example, if it is required send all the install log files in the
|
|
Log in on the GUI as system level administrator, go to Administration Tools > Transaction and inspect the transactions list for errors. |
Licensing after Delta Bundle Upgrade#
Description and Steps |
Notes and Status |
---|---|
From release 21.4 onwards, the deployment needs to be licensed. After installation, a 7-day grace period is available to license the product. Since license processing is only scheduled every hour, if you wish to license immediately, first run voss check-license from the primary application node CLI.
|