Unified Node Topology: Upgrade a Multinode Environment with the ISO and Template#
Note
When upgrading from VOSS-4-UC 18.1.3, refer to Upgrading from 18.1.3 to Current Release - Summary.
Upgrading to release 21.1 requires a system on 19.x, with security updates completed. The upgrade includes:
an upgrade to the underlying operating system to Ubuntu 18.04.4.
the installation of a new cluster check command available from the 21.1 ISO by running app install check_cluster.
While template installation and 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.
You can follow the progress on the Admin Portal transaction list.
When upgrading from CUCDM 11.5.3 Patch Bundle 2 or VOSS-4-UC 18.1 Patch Bundle 2 and earlier, re-import specified CUC models according to your current version. Refer to the final upgrade procedure step.
Tasks that are marked Prior to Maintenance Window can be completed a few days prior to the scheduled maintenance window so that VOSS support can be contacted if needed and in order to allow for reduce down time.
If any Microsoft integrations exist in VOSS Automate pre-upgrade, then the existing device connections configured for Microsoft Entra ID will not be automatically migrated to MS Graph and will have to be manually migrated to MSGraph prior to the upgrade to 21.3.
Note
Microsoft changed the name of Azure Active Directory to Microsoft Entra ID in August 2023.
Service Providers who are operating with release 19.3.4 of the Cisco-Microsoft Adaptation should contact VOSS Global Services first.
The MS Graph connection configuration requires additional details, which must be obtained prior to upgrade. Please see the VOSS Automate Configuration and Sync and Microsoft Configuration Setup topics in the Core Feature Guide.
Ensure MicrosoftTenant, MSTeamsOnline and MSGraph instance have the same name by renaming instances.
If you have FIPS enabled on your system, the before continuing with the upgrade, see:
Upgrading from Release 19.3.x with FIPS enabled.
The standard screen command should be used where indicated. See: Using the screen command.
Download Files and Check (Prior to Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
VOSS files: https://voss.portalshape.com > Downloads > VOSS Automate > XXX > Upgrade Download
Two transfer options: Either using SFTP:
Or using SCP:
Verify that the
Verify that the original
|
Security and Health Check Steps (Prior to Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
Verify that the primary node is the active primary node at the time of upgrade. database config Ensure that the node on which the installation will be initiated has the Example output <ip address>:27020:
priority: <number>
stateStr: PRIMARY
storageEngine: WiredTiger
Validate the system health. Carry out the following (19.x only):
Note If you run cluster status after installing the new version of cluster check, any error message regarding a failed command can be ignored. This error message will not show after upgrade.
|
Schedules, Transactions and Version Check (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
Run cluster check and verify that no warnings and errors show. 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:
|
|
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 (Maintenance Window). Version Record the current version information. This is required for upgrade troubleshooting.
|
Pre-Upgrade Steps (Maintenance Window)#
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. Optional: If a backup is also required, use the backup add <location-name> and backup create <location-name> commands. For details, refer to the Platform Guide. |
Description and Steps |
Notes and Status |
---|---|
After restore point creation and before upgrading: validate system health and check all services, nodes and weights for the cluster:
|
The following step is needed if own private certificate and generated SAN certificates
are required and the The steps below are needed to check if a CSR private key exists but no associated signed certificate is available. Request VOSS support to run on the CLI as for LST in /opt/platform/apps/nginx/config/csr/*;
do openssl x509 -in $LST -text -noout >/dev/null
2>&1 && SIGNED="$LST"; done
echo $SIGNED
If the mv /opt/platform/apps/nginx/config/csr/ /opt/platform/apps/nginx/config/csrbackup
|
Upgrade (Maintenance Window)#
Note
By default, the cluster upgrade is carried out in parallel on all nodes and without any backup in order to provide a fast upgrade.
Description and Steps |
Notes and Status |
---|---|
It is recommended that the upgrade steps are run in a terminal opened with the screen command. Verify that the ISO has been uploaded to the On the primary unified node:
Note: If the system reboots, do not carry out the next manual reboot step. When upgrading from pre-19.1.1, an automatic reboot should be expected. Manual reboot only if needed:
If node messages:
Since all services will be stopped, this takes some time. Close screen: |
All unused docker images except selfservice
and voss_ubuntu
images
will be removed from the system at this stage.
Post-Upgrade, Security and Health Steps (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
On the primary unified node, verify the cluster status:
|
|
Check for needed security updates. On the primary node, run:
If one or more updates are required for any node, run on the primary Unified 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. |
|
To remove a mount directory cluster run all app cleanup |
|
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. |
Database Filesystem Conversion (if required, Maintenance Window)#
Important
This step is to be carried out only if you have not converted the file system before.
To check if the step is not required:
Run drives list and ensure that the LVM storage shows for all converted database nodes under
Volume Groups
. If the output of the drives list command containsdm-0 - mongodb:dbroot
, the step is not required. Refer to the drives list command output example below.
The database convert_drive command provides parameters that allow for a flexible upgrade schedule in order to limit system downtime.
When the database convert_drive command is run, the voss-deviceapi
service will be stopped first and started after completion. The command
should therefore be run during a maintenance window while there are no
running transactions.
The procedure and commands in this step depend on:
your topology
latency between data centers
upgrade maintenance windows - Window 1 to Window 3 represent chosen maintenance windows.
First inspect the table below for guidance on the commands to run according to your configuration and preferences.
Run all commands on the primary unified node:
Ensure states of database nodes are not DOWN - otherwise the command will fail
database config (
stateStr
is notDOWN
)Ensure database weights are set and have 1 maximum weight - otherwise the command will fail
database weight list (one
weight
value is maximum)
For 2 and 3 maintenance windows: after the upgrade (prior to Windows 2 and 3), only nodes with converted drives will generate valid backups.
For example, if the primary drive is converted, backups from the primary node can be used to restore the database. If there is a database failover to the highest weight secondary node that was not converted, it will not be possible for backups to be generated on that secondary node until the drive is converted.
Topology |
Window 1 |
Window 2 |
Window 3 |
Commands (DC = valid data center name) |
Description |
---|---|---|---|---|---|
multinode |
Y |
database convert_drive primary database convert_drive secondary all |
Recommended for a system with latency < 10ms. |
||
multinode |
Y |
Y |
Window 1: database convert_drive primary Window 2: database convert_drive secondary all |
Can be used for a system with latency < or > 10ms. Allows for smaller maintenance windows. Cluster is not available during maintenance windows. |
|
multinode |
Y |
Y |
Y |
Window 1: database convert_drive primary Window 2: database convert_drive secondary <first DC> Window 3: database convert_drive secondary <second DC> |
Can be used for a system with latency > 10ms. Allows for smaller maintenance windows. Cluster is not available during maintenance windows. |
Description and Steps |
Notes and Status |
---|---|
Database Filesystem Conversion step Shut down all the nodes. Since all services will be stopped, this takes some time.
|
In the example below, dbroot/dm-0
shows under Volume Groups
, Logical volumes
$ drives list
Used disks and mountpoints:
sdc1 - services:backups
dm-0 - mongodb:dbroot
Unused disks:
none - if disks have been hot-mounted, it may be necessary to reboot the system
Unused mountpoints:
services:SWAPSPACE
Volume Groups
voss - 10.0 GB free, 60.0 GB total
Physical volumes:
sdd1
Logical volumes:
dbroot/dm-0 - 50.0 GB
Database Schema Upgrade (Maintenance Window)#
Important
When upgrading from 19.X or earlier, please refer to the VOSS-4-UC 21.1 Release Changes and Impact document for details on model and workflow changes. Customizations related to these changes may be affected by this step.
Description and Steps |
Notes and Status |
---|---|
It is recommended that the upgrade steps are run in a terminal opened with the screen command. On the primary unified node:
Check cluster status
|
Template Upgrade (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
It is recommended that the upgrade steps are run in a terminal opened with the screen command. On the primary unified node:
|
The following message appears:
Running the DB-query to find the current environment's
existing solution deployment config...
Python functions are deployed
System artifacts are imported.
Note
In order to carry out fewer upgrade steps, the updates of instances of the some models are skipped in the cases where:
data/CallManager
instance does not exist as instance indata/NetworkDeviceList
data/CallManager
instance exists, butdata/NetworkDeviceList
is emptyCall Manager AXL Generic Driver and Call Manager Control Center Services match the
data/CallManager
IP
The template upgrade automatically detects the deployment mode: “Enterprise”, “Provider with HCM-F” or “Provider without HCM-F”. A message displays according to the selected deployment type. Check for one of the messages below:
Importing EnterpriseOverlay.json
Importing ProviderOverlay_Hcmf.json ...
Importing ProviderOverlay_Decoupled.json ...
The template install automatically restarts necessary applications. If a cluster is detected, the installation propagates changes throughout the cluster.
Description and Steps |
Notes and Status |
---|---|
Review the output from the app template command and confirm that the upgrade message appears: |
Deployment summary of PREVIOUS template solution
(i.e. BEFORE upgrade):
-------------------------------------------------
Product: [PRODUCT]
Version: [PREVIOUS PRODUCT RELEASE]
Iteration-version: [PREVIOUS ITERATION]
Platform-version: [PREVIOUS PLATFORM VERSION]
This is followed by updated product and version details:
Deployment summary of UPDATED template solution
(i.e. current values after installation):
-----------------------------------------------
Product: [PRODUCT]
Version: [UPDATED PRODUCT RELEASE]
Iteration-version: [UPDATED ITERATION]
Platform-version: [UPDATED PLATFORM VERSION]
Description and Steps |
Notes and Status |
---|---|
|
|
For an unsupported upgrade path, the install script stops with the message: Upgrade failed due to unsupported upgrade path.
Please log in as sysadmin
and see Transaction logs for more detail.
You can roll back as per the guidelines for the infrastructure on which the VOSS Automate platform is deployed. |
|
If there are errors for another reason, the install script stops with a failure message listing the problem. Contact VOSS support. |
|
Verify the
|
|
Post upgrade migrations: On a single node of a cluster, run:
|
Data migrations that are not critical to system operation can have significant execution time at scale. These need to be performed after the primary upgrade, allowing the migration to proceed whilst the system is in use - thereby limiting upgrade windows.
A transaction is queued on VOSS Automate and its progress is displayed as it executes.
Description and Steps |
Notes and Status |
---|---|
Check cluster status and health
|
Post Template Upgrade Tasks (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
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`` 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 Admin Portal and check the information contained in the About > Version menu. Confirm that versions have upgraded.
where |
|
|
|
|
Restore Schedules (Maintenance Window)#
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 option if you do not wish to execute schedules overlapping the maintenance window, but only execute thereafter. Schedules enabled on the CLI:
|
Release Specific Updates (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
When upgrading from CUCDM 11.5.3 Patch Bundle 2 or VOSS-4-UC 18.1 Patch Bundle 2 and earlier, re-import the following from all CUCM devices, since this upgrade deleted obsolete CUC timezone codes from the VOSS Automate database:
Note: This is a once off data migration step. If this was performed previously when upgrading to 19.1.x, then it does not have to be repeated. |
|
After upgrading, obtain and install the following patch according to its accompanying MOP file, where XXX matches the release.:
Note: This is a once off data migration step. If this was performed previously when upgrading to 19.x, then it does not have to be repeated. |
|
Re-import the following from all CUCM devices:
For steps to create a custom data sync, refer to the chapter on Data Sync in the Core Feature Guide. Note: This is a once off data migration step. If this was performed previously when upgrading to 19.1.x, then it does not have to be repeated. |
|
User Management migration updates default authentication types on SSO Identity Providers. If an SSO Identity Provider exists at the provider hierarchy level, the default authentication settings:
will not allow any non-SSO user logins (typically local administrators). The solution is to log in as higher level administrator account (full access) and set the SSO Identity Provider:
Please refer to the SSO Identity Provider: Field Reference topic in the Core Feature Guide. |
|
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:
|
When upgrading to release 21.3, users of Microsoft apps should select each Microsoft Tenant (
relation/MicrosoftTenant
) in the Admin GUI and click Save on it without making any changes.This step is required so that VOSS Automate can communicate with the Tenant post upgrade.
Log Files and Error Checks (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
Inspect the output of the command line interface for upgrade errors,
for example 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 Admin Portal as system level administrator, go to Administration Tools > Transaction and inspect the transactions list for errors. |
Licensing (outside, after Maintenance Window)#
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 unified node CLI.
|
Upgrading from 18.1.3 to Current Release - Summary#
Below are the summarized steps to upgrade from 18.1.3.
The steps require the necessary scripts, templates and ISOs to be in the
media/
directory.For details on the specific commands, refer to the corresponding steps above.
For general usage of commands to carry out tasks, refer to the Platform Guide.
Command and task sequence |
Comment |
---|---|
|
no service mismatch, all nodes ok |
|
check for disks over 90% full |
|
ensure all unified nodes have a weight, and are in a good state: primary, secondary,arbiter |
manual check |
stop / check for transactions running, stop where possible |
external task |
create restore point as per the guidelines for the infrastructure on which the VOSS Automate platform is deployed. |
|
refer to steps details above |
|
refer to steps details above |
|
refer to steps details above |
external task |
create restore point as per the guidelines for the infrastructure on which the VOSS Automate platform is deployed. |
|
refer to preliminary and upgrade steps details above; |
|
refer to steps details above |
|
make sure all databases are in the correct state |
|
Run the convert_drive command with parameters according to the table at: Database Filesystem Conversion section. |
|
refer to steps details above |
|
refer to steps details above |