Method of Procedure (MOP) for 24.2-PB1 Installation#
Dependencies#
Release 24.2
To upgrade to release 24.2, refer to the Release 24.2 Upgrade Guide with ISO and Template
If you are upgrading from release 24.1 on either AWS or the MS Azure cloud platform, then install
EKB-21407-24.1.0_patch.scriptfirst:Server Name: https://voss.portalshape.com
Path: Downloads > VOSS Automate > 24.1 > Patches
Patch Directory: EKB-21407-24.1.0_patch
Patch File: EKB-21407-24.1.0_patch.script
The supported upgrade paths for this Patch Bundle Upgrade:
24.2>24.2-PB1
Patch Overview#
Patch Name:
24.2.PB1-Delta-Bundle-patch.scriptFeatures Included: See release notes for detail.
SHA256 Checksum: The value in
24.2.PB1-Delta-Bundle-patch.script.shaavailable in the download location.
Important Information:#
When installing
24.2.PB1-Delta-Bundle-patch.script, database index migration on large scale systems may take a significant amount of time. This occurs during the database index migration phase, indicated via the following console output,Installing patch 13 of 23 - voss-deviceapi_delta_install.script. Migration times can be substantial: on a system with 10 million resources, it may take up to 2 hours. This migration initiates at console outputMigrating database indexes, and completes at console outputMigrating database indexes: SUCCESS:Migrating database indexes Migrating database indexes: SUCCESS
Microsoft customers: Ensure that you have the latest version of Windows PowerShell installed. For details, refer to Run PowerShell proxy server setup script in the Automate Core Feature Guide.
We recommend taking snapshots of all nodes that are part of the cluster before applying the patch - to be used for rollback if needed. See Rollback in this document.
Adaptations: We recommend verifying the compatibility of any installed adaptations with this patch bundle in a lab before installing in production.
Some adaptations might need to be re-installed post patch bundle installation.
If you have a Microsoft-only environment and an existing number inventory, a rebuild of the number inventory may be needed.
If you have a Webex Calling environment and an existing number inventory, a rebuild of the number inventory may be needed.
Contact VOSS to verify and assist in carrying out this step.
It is recommended that commands in installation steps are run in a terminal opened with the screen command.
Ensure that you perform any mandatory post-upgrade patch installs (if required) for all deployment types.
If you’re going to be provisioning Cisco VG410 Gateway, you will need to re-import the
device/cucm/GatewayTypemodel to support this new VG410 Gateway after upgrading to this release.
Download Location#
The 24.2-PB1 Patch is available here:
Server Name: https://voss.portalshape.com
Path: Downloads > VOSS Automate > 24.2
Folder: 24.2-PB1
Patch File:
24.2-PB1-Delta-Bundle-patch.script
The MOP is available at https://documentation.voss-solutions.com/release_24.2-PB1/html/MOP-24.2-PB1-Delta-Bundle-patch.pdf
Install Procedure for a Unified Node Topology#
Download Patch Script and Check#
Note
It is recommended that the file download is done prior to the maintenance window.
Download the following file
24.2-PB1-Delta-Bundle-patch.script
to the media folder on the primary unified node.
Verify SHA256 checksum#
To verify SHA256 checksum for the patch, run the following command on the node the script was downloaded to:
Command :
system checksum media/24.2-PB1-Delta-Bundle-patch.scriptExpected: The value in
24.2.PB1-Delta-Bundle-patch.script.shaavailable in the download location.
Pre-Installation, Version Check#
To check the version pre-install:
Log in to the Admin Portal GUI.
Verify the information contained in the menu About > Version > Release.
The release version should be 24.2
Pre-Installation, Security and Health Steps#
Place the system in maintenance mode to suspend any scheduled transactions. Scheduled transactions that are in progress, will be allowed to complete.
For details on this command, refer to the System Maintenance Mode topic in the Platform Guide.On an application node of the system, run:
cluster maintenance-mode startYou can verify the maintenance mode status with:
cluster maintenance-mode statusVerify that the primary database node is the active primary node at the time of upgrade. On the Primary Unified Node, run:
database configThis is to ensure that the node on which the installation will be initiated, has the:
stateStrparameter set to PRIMARYhighest
prioritynumber (highest priority number could vary depending on cluster layout).
Example output
<ip address>:27020: priority: <number> stateStr: PRIMARY storageEngine: WiredTiger
Validate the system health.
On the primary unified node, run:
cluster statusVerify network connectivity, disk status, NTP and that there are no pending Security Updates.
On the primary unified node, run:
cluster checkcluster run all diag diskIf 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 unified node, run:
cluster run all security checkIf there are pending Security Updates, then:
On the primary unified node, run:
cluster run all security updateShutdown servers and take snapshots from VMWare or Azure VHD, as applicable.
On the primary unified node, run:
cluster run notme system shutdownThen after 1 minute: run:
system shutdown
Patch Installation#
On the primary unified node, run:
screenapp install media/24.2-PB1-Delta-Bundle-patch.script
Note
Before the patch installation starts, the user is prompted to:
Continue with the installation.
Append the
--forceparameter to remove this prompt.Delete or keep the patch script in the
mediadirectory after installation.Append the
delete-on-successparameter with ayes|novalue to the command to remove this prompt.
To remove all prompts, use the command and parameters:
app install media/24.2-PB1-Delta-Bundle-patch.script delete-on-success yes --force
Close screen:
Ctrl-a \
Post-Upgrade, Security and Health Steps#
On the primary node, verify the cluster status:
cluster status
On each node verify security updates, reboot, network connectivity, disk status and NTP.
cluster check
If there are pending Security Updates, then run security update on all nodes. On the primary node, run:
cluster run all security update
Reboot all nodes:
cluster run notme system reboot
(If node messages:
<node name> failed with timeoutare displayed, these can be ignored.)system reboot
Since all services will be stopped, this takes some time.
End the system maintenance mode.
On an application node of the system, run:
cluster maintenance-mode stopYou can verify the maintenance mode status with:
cluster maintenance-mode statusFor details on this command, refer to the System Maintenance Mode topic in the Platform Guide.
Install Procedure for a Modular Cluster Topology#
Download Patch Script and Check#
Note
It is recommended that the file download is done prior to the maintenance window.
Download the following file
24.2-PB1-Delta-Bundle-patch.script
to the media folder on primary application node.
To check for this node:
Log in on a node in your modular cluster.
To find the primary application node in the cluster:
$ cluster run application 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
Verify SHA256 checksum#
To verify SHA256 checksum for the patch, run the following command on the node the script was downloaded to:
Command :
system checksum media/24.2-PB1-Delta-Bundle-patch.scriptExpected: The value in
24.2.PB1-Delta-Bundle-patch.script.shaavailable in the download location.
Pre-Installation, Version Check#
To verify the version pre-install:
Log in to the Admin Portal GUI.
Check the information contained in the menu About > Version > Release.
The release version should be 24.2.1
Pre-Installation, Security and Health Steps#
Place the system in maintenance mode to suspend any scheduled transactions. Scheduled transactions that are in progress, will be allowed to complete.
For details on this command, refer to the System Maintenance Mode topic in the Platform Guide.On an application node of the system, run:
cluster maintenance-mode startYou can verify the maintenance mode status with:
cluster maintenance-mode statusVerify that the primary database node is the active primary node at the time of upgrade.
Have the IP address available of the node determined to be the primary database node. To find the primary database node in the cluster:
$ cluster run database 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: trueThis IP address will be used in command parameters during upgrade.
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
Upgrade from the output, ensure that the primary database node ``stateStr`` parameter is set to **PRIMARY and it has the highest
priority:<number>(highest priority number could vary depending on cluster layout).Example output
<ip address>:27020: priority: <number> stateStr: PRIMARY storageEngine: WiredTiger
Validate the system health.
On the primary application node, run:
cluster statusVerify network connectivity, disk status, NTP and that there are no pending Security Updates.
On the primary application node, run:
cluster checkcluster run all diag diskIf 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, run:
cluster run all security checkIf there are pending security updates, then:
On the primary application node, run:
cluster run all security updateThen reboot all nodes:
cluster run notme system reboot(If node messages:
<node name> failed with timeoutare displayed, these can be ignored.)system rebootSince all services will be stopped, this takes some time.
Shutdown servers and take snapshots from VMWare or Azure VHD, as applicable.
On the primary application node, run:
cluster run notme system shutdownThen after 1 minute: run:
system shutdown
Patch Installation#
On the primary application node, run:
screenapp install media/24.2-PB1-Delta-Bundle-patch.script
Note
Before the patch installation starts, the user is prompted to:
Continue with the installation.
Append the
--forceparameter to remove this prompt.Delete or keep the patch script in the
mediadirectory after installation.Append the
delete-on-successparameter with ayes|novalue to the command to remove this prompt.
To remove all prompts, use the command and parameters:
app install media/24.2-PB1-Delta-Bundle-patch.script delete-on-success yes --force
Close screen:
Ctrl-a \
Post-Upgrade, Security and Health Steps#
On the primary application node, verify the cluster status:
cluster status
On each node verify Security Updates, reboot, network connectivity, disk status and NTP.
cluster check
If there are pending Security Updates, then run security update on all nodes. On the primary application node, run:
cluster run all security update
Reboot all nodes:
cluster run notme system reboot
(If node messages:
<node name> failed with timeoutare displayed, these can be ignored.)system rebootSince all services will be stopped, this takes some time.
End the system maintenance mode. On an application node of the system, run:
cluster maintenance-mode stopYou can verify the maintenance mode status with:
cluster maintenance-mode statusFor details on this command, refer to the System Maintenance Mode topic in the Platform Guide.
Install Procedure for a Single Node Cluster Environment#
Download Patch Script and Check#
Note
It is recommended that the file download is done prior to the maintenance window.
Download the following file
24.2-PB1-Delta-Bundle-patch.script
to the media folder on the single node.
Verify SHA256 checksum#
To verify SHA256 checksum for the patch, run the following command on the node the script was downloaded to:
Command :
system checksum media/24.2-PB1-Delta-Bundle-patch.scriptExpected: The value in
24.2.PB1-Delta-Bundle-patch.script.shaavailable in the download location.
Pre-Installation, Version Check#
To check the version pre-install:
Log in to the Admin Portal GUI.
Check the information contained in the menu About > Version > Release.
The release version should be 24.2.1
Pre-Installation, Security and Health Steps#
Place the system in maintenance mode to suspend any scheduled transactions. Scheduled transactions that are in progress, will be allowed to complete.
For details on this command, refer to the System Maintenance Mode topic in the Platform Guide.On an application node of the system, run:
cluster maintenance-mode startYou can verify the maintenance mode status with:
cluster maintenance-mode statusVerify that the primary database node is the active primary node at the time of upgrade.
On the single node, run:
database configThis is to ensure that the node on which the installation will be initiated, has the:
stateStrparameter set to PRIMARYhighest
prioritynumber (highest priority number could vary depending on cluster layout).
Example output
<ip address>:27020: priority: <number> stateStr: PRIMARY storageEngine: WiredTiger
Validate the system health.
On the single node, run:
app statusVerify network connectivity, disk status, NTP and that there are no pending Security Updates.
On the single node, run:
diag diskIf 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 single node, run:
security checkIf there are pending Security Updates, then run:
security updateThen reboot:
system rebootSince all services will be stopped, this takes some time.
Shutdown servers and take snapshots from VMWare or Azure VHD, as applicable.
Run:
system shutdown
Patch Installation#
On the single node, run:
screenapp install media/24.2-PB1-Delta-Bundle-patch.script
Note
Before the patch installation starts, the user is prompted to:
Continue with the installation.
Append the
--forceparameter to remove this prompt.Delete or keep the patch script in the
mediadirectory after installation.Append the
delete-on-successparameter with ayes|novalue to the command to remove this prompt.
To remove all prompts, use the command and parameters:
app install media/24.2-PB1-Delta-Bundle-patch.script delete-on-success yes --force
Close screen:
Ctrl-a \
Post-Upgrade, Security and Health Steps#
Verify Security Updates, reboot, network connectivity, disk status and NTP.
On the single node, run:
app statusdiag disksecurity check
If there are pending Security Updates, then run security update.
On the single node, run:
security update
Reboot.
On the single node, run:
system reboot
Since all services will be stopped, this takes some time.
End the system maintenance mode. On the application node of the system, run:
cluster maintenance-mode stopYou can verify the maintenance mode status with:
cluster maintenance-mode statusFor details on this command, refer to the System Maintenance Mode topic in the Platform Guide.
Post-Checks#
Generic System Tests:
Ensure all services are running on all nodes using
app status.Log in to Administration Portal, go to About > Version > Patches and ensure that ‘24.2 Delta Bundle 1’ is displayed.
Log in to the Administration Portal of all the nodes using an administrator account.
Log in to the Self-service Portal of all the nodes using a Self-service account.
Rollback#
A VMWare or Azure VHD snapshot of Automate instance is taken under the maintenance window, just before the upgrade activities start. If rollback is needed during the same change window as the upgrade, use the VMware snapshot to revert Automate to its original state and bring the services back.