Upgrade a Single Node Cluster Environment with the ISO and Template#
Important
Before starting the upgrade, ensure that the hardware version of each of your virtual machines (VMs) is at least version 11, compatible with ESXi 6.0 and up, and that your host CPU supports AVX (Advanced Vector Extensions).
A
check cluster
command in the Automate pre-upgrade steps checks for AVX support. To ensure that AVX support is added to the VMs, you’ll need to upgrade the compatibility of the VM in vCenter.Before upgrading to release 24.1:
Install
EKB-21455-21.4.0_patch.script
first. Refer toMOP-EKB-21455-21.4.0_patch.pdf
.Server Name: https://voss.portalshape.com
Path: Downloads > VOSS Automate > 24.1 > Upgrade > ISO
MOP: MOP-EKB-21455-21.4.0_patch.pdf
Patch File: EKB-21455-21.4.0_patch.script
Before upgrading to release 24.1, ensure that an additional 70 GB disk is available for the Insights database.
See: Adding Hard Disk Space and VOSS Automate Hardware Specifications.This disk is needed to assign to the
insights-voss-sync:database
mount point. See: Mount the Insights disk (outside, after Maintenance Window).Before upgrading to release 24.1, ensure that sufficient time is allocated to the maintenance window. This may vary in accordance with your topology, number of devices and subscribers.
The information below serves as a guideline VOSS support can be contacted if further guidance is required:
Cluster upgrade: 4h
Template install: 2.5h
For a 500K Data User system (13Mil RESOURCE documents), the expected
upgrade_db
step is about 12h.For a 160K Data User system (2.5Mil RESOURCE documents), the expected
upgrade_db
step is about 2.5h.You can follow the progress on the Admin Portal transaction list.
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.
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 Either using SFTP:
Or using SCP:
Verify that the
Verify that the original
|
Security and Health Steps single node cluster (Prior to Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
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
|
Validate the system health#
Important
Before starting the upgrade, ensure that the hardware version of each of your virtual machines (VMs) is at least version 11, compatible with ESXi 6.0 and up, and that your host CPU supports AVX (Advanced Vector Extensions).
A
check cluster
command in the Automate pre-upgrade steps checks for AVX support. To ensure that AVX support is added to the VMs, you’ll need to upgrade the compatibility of the VM in vCenter.Follow all of the steps in the table, in the order presented.
Description and Steps |
Notes and Status |
---|---|
Verify there are no pending Security Updates: security check |
|
Carry out the following:
If there is any sign of the paths below are over 80% full, a clean-up is needed, for example to avoid risk of 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)
Verify there are no pending Security Updates. 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.
|
Version Check (Prior to Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
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 single node cluster (Maintenance Window). Version Record the current version information. This is required for upgrade troubleshooting.
|
Pre-Upgrade Steps single node cluster (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
Choose an option:
Create a restore point and then restart server. 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. If you cannot restore the application from a restore point, your only recourse is to reinstall the application. When the backup is complete and you do not need the restore point for restore activities, you can remove it. After the restore point has been created, restart. Optional: If a backup is required in addition to the restore point, 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 |
---|---|
Before upgrading, check all services: Make sure no services are stopped/broken. The message ‘suspended waiting for mongo’ is normal on a fresh node.
Verify the node is not in the ‘recovering’ state (
|
Upgrade single node cluster (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.
For systems upgrading to 24.1 from 21.4.0 - 21.4-PB5:
The VOSS platform maintenance mode will be started automatically when the cluster upgrade command is run. This prevents any new occurrences of scheduled transactions, including the 24.1 database syncs associated with insights sync. For details on insights sync, see the Insights Analytics topic in the Platform Guide.
The cluster maintenance-mode stop command must however be run manually after the maintenance window of the upgrade: End of the Maintenance Window and Restoring Schedules.
For details on the VOSS platform maintenance mode, see the Maintenance Mode topic in the Platform Guide.
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:
All unused docker images except Note: If the system reboots, do not carry out the next manual reboot step. To remove a mount directory cluster run all app cleanup Manual reboot only if needed:
If node messages: Since all services will be stopped, this takes some time. Close screen: Log in on the primary database node and run cluster run database app status.
If the report shows
|
Note
In order to carry out fewer upgrade steps, the updates of instances of 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
Post-Upgrade, Security and Health Steps single node cluster (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
Verify the 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. |
|
Complete all the security updates.
The docker images Note: If the system reboots, do not carry out the next manual reboot step . Manual reboot only if needed:
|
Database Schema Upgrade single node cluster (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.
|
Template Upgrade single node cluster (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.
|
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.
The template upgrade automatically detects the deployment mode, either “Enterprise” or “Provider”. A message displays according to the selected deployment type. Check for one of the messages below:
Importing EnterpriseOverlay.json
Importing ProviderOverlay.json ...
The template install automatically restarts necessary applications.
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 restore to the backup or rollback/revert to the restore point made before the upgrade. |
|
If there are errors for another reason, the install script stops with a failure message listing the problem. Contact VOSS support. |
|
Post upgrade migrations:
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 status and health
|
Post Template Upgrade Tasks single node cluster (Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
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 If your web browser cannot open the user interface, clear your browser cache before trying to open the interface again. |
|
|
|
As part of the new Dashboard functionality introduced in the 24.1 release, cloned access profiles for admin users need to be updated at the provider level hierarchy. Read/create access is required for data models listed below. To manage access to these models, refer to the topic on Access Profiles in the Core Feature Guide. data/BusinessAdminBaseLookups
data/BusinessAdminCallPickupGroupsLookups
data/BusinessAdminContactCenterExpressLookups
data/BusinessAdminHeadsetLookups
data/BusinessAdminHuntGroupsLookups
data/BusinessAdminNumberManagementLookups
data/BusinessAdminPexipConferenceLookups
data/BusinessAdminPhoneLookups
data/BusinessAdminSiteManagementLookups
data/BusinessAdminSubscriberLookups
data/BusinessAdminVoicemailLookups
|
Log Files and Error Checks single node cluster (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. |
End of the Maintenance Window and Restoring Schedules#
Description and Steps |
Notes and Status |
---|---|
|
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 on the CLI. 1. Obtain the required license token from VOSS. 2.
|
Mount the Insights disk (outside, after Maintenance Window)#
Description and Steps |
Notes and Status |
---|---|
On the primary unified node, assign the For example, if Unused disks:
sde
then run the command
on each unified node where the drive has been added. Sample output (the message below can be ignored on release 24.1:
$ drives add sde insights-voss-sync:database
Configuration setting "devices/scan_lvs" unknown.
Configuration setting "devices/allow_mixed_block_sizes" unknown.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
71ad98e0-7622-49ad-9fg9-db04055e82bc
Application insights-voss-sync processes stopped.
Migrating data to new drive - this can take several minutes
Data migration complete - reassigning drive
Checking that /dev/sde1 is mounted
Checking that /dev/dm-0 is mounted
/opt/platform/apps/mongodb/dbroot
Checking that /dev/sdc1 is mounted
/backups
Application services:firewall processes stopped.
Reconfiguring applications...
Application insights-voss-sync processes started.
If the initial management of dashboards on the GUI and use of VOSS Wingman is required prior to the first scheduled sync of data to this database, the full-sync and full-transaction sync processes can be run manually after upgrade. For details, refer to the Manual Sync topic in the Insights Analytics section of the Platform Guide. |