Upgrade a Standalone 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.
From VOSS-4-UC 18.1 or CUCDM 11.5.3 onwards, the standard screen command should be used where indicated, and the reconnect parameter is available if needed:
- screen - start a new session
- screen -ls - show sessions already available
- screen -r [screen PID] - reconnect to a disconnected session
We recommend using the screen
command to avoid failures if the connection is interrupted whilst
running the command. If the connection is interrupted whilst running
the command in screen
then the session can be retrieved by first
listing the sessions PID currently running in screen:
screen -ls, and then reconnecting to the session using
screen -r [screen PID].
The version of screen used in VOSS-4-UC also supports the creation of a log file. If long-running commands will be run, the log file captures screen console output up to the session timeout. A message shows:
timed out waiting for input: auto-logout
To create a screen log file:
- Run screen and wait for screen to open.
- Press <Ctrl>-a then : (colon). This will enter screen command mode at the bottom of the console.
- Create your screen logfile in the
media/
directory:- In screen command mode, type logfile media/<screen-logfilename>.log
- Press <Enter>
- Press <Ctrl>-a and then H to start writing to the log file
- Run your commands.
If the screen session times out, you can obtain console output from the log file, for example:
$ sftp platform@<host>:media/<screen-logfilename>.log
Download Files and Check¶
Description and Steps | Notes and Status |
---|---|
VOSS SFTP server: Download Either using SFTP:
Or using SCP:
Verify that the
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. |
|
Run template customization audits at the The audit report includes custom model schema definitions as well as data, domain, and view instances created on the hierarchy node as a result of workflow execution. If the release is accompanied by Upgrade Notes, refer to the details.
View the audit report:
|
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:
|
|
Check for running imports. Either wait for them to complete or cancel them:
|
|
Record the current version information. This is required for upgrade troubleshooting.
|
Pre-Upgrade, Security and Health Steps¶
Description and Steps | Notes and Status |
---|---|
Validate the system health. diag health If there is any sign of the paths below are over 80% full, a clean-up is needed 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: security check |
|
Shutdown server and take snapshots from VMWare and then restart server: Use VMware snapshots. Consider the following;
Log into VMWare and take a snapshot. After the snapshot, restart:
Optional: If a backup is required in addition to the snapshot, 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¶
Description and Steps | Notes and Status |
---|---|
From VOSS-4-UC 18.1 or CUCDM 11.5.3 onwards, it is recommended that the upgrade steps are run in a terminal opened with the screen command.
Run (optionally with command parameters below):
From release 19.1.2 and later, the |
Post-Upgrade, Security and Health Steps¶
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. | |
Check for needed security updates.
If one or more updates are required, complete all the security updates.
Note: if the system reboots, do not carry out the next manual reboot step. Manual reboot only if needed:
|
Database Filesystem Conversion¶
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 database config and ensure that
the storage engine shows as
storageEngine: WiredTiger
. - Run drives list and ensure that the LVM storage shows for the
converted database node under
Volume Groups
.
The database convert_drive command provides parameters allows 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.
For a standalone system drive conversion, ensure the standalone
parameter is used.
Description and Steps | Notes and Status |
---|---|
Shut down. Since all services will be stopped, this takes some time.
Create a VMWare snapshot so that the system can easily be reverted in the case of a conversion error. Boot the system in VMWare. Stop transactions from being scheduled. Run:
|
Post Template Upgrade Tasks¶
Description and Steps | Notes and Status |
---|---|
Verify the upgrade: Log in on the GUI and check the information contained in the About > Extended Version menu. Confirm that versions have upgraded.
If your web browser cannot open the user interface, clear your browser cache before trying to open the interface again. |
|
|
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:
|
Log Files and Error Checks¶
Description and Steps | Notes and Status |
---|---|
Inspect the output of the command line interface for upgrade errors. 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. |