2.5. Upgrading Software

From time to time Clavister will release new cOS Stream software versions. All version releases are provided in the form of a single file with the filetype .upg and a filename indicating the target platform and version number. All releases are installed in the same way.

The following should be noted about new releases:

Applying a .upg Upgrade File

Applying an upgrade file requires the following steps:

For a high availability (HA) cluster, the above procedure is repeated on each cluster node but with some extra considerations. This is described further in Section 22.4, Upgrading an HA Cluster.

The Upgrade Command

The CLI upgrade command is used to install an already uploaded .upg file. For example, if the file uploaded with SCP is called cos_stream_4_00_02.upg, the upgrade command with example output would be:
System:/> upgrade cos_stream_4_00_02.upg

This will upgrade the system using cos_stream_4_00_02.upg
Are you sure you want to continue? [yes/no]: yes
|0%Validating                     |50%Extracting                   |100%
|||||||||||||||||||||||||
The CLI displays a progress bar consisting of lines which will gradually increase to 100% completion.

The following should be noted:

Managing Package Files

To check which .upg files have been uploaded and are available to be used with an upgrade, the following command is used:
System:/> upgrade -list
Wildcards cannot be used with the -list option.

To delete a package file, the following command can be used:

System:/> upgrade -delete <filename>

With the -delete option, the asterisk wildcard character ("*") can be used to represent filenames. For example, the delete all files:

System:/> upgrade -delete *.upg