Offline upgrade of OP5 Monitor with an ISO file

Overview

If your OP5 Monitor system lacks internet connectivity, you can upgrade by downloading our latest ISO image or tarball. The image files contain all dependencies required to upgrade OP5 Monitor to the specified version in the file name. Example: op5-System-7.4.1708-Monitor-7.4.3-20180612-0748.iso

A note on major upgrades

When upgrading through our online repos, there are mechanisms in place to block an automatic, major upgrade. There are no such mechanisms when upgrading offline with ISO files. If you are moving between major versions, make sure you have adequate backups and snapshots in place to roll back. There are no supported downgrade paths for OP5 Monitor.

Prerequisites

  • General knowledge of common Linux command line tools.
  • ISO image file of the version of OP5 Monitor you want to upgrade too available in the OP5 Monitor servers file system.

Upgrade procedure

Mount the ISO image file in the file system:

# mkdir -p /media/cdrom
# mount -o loop op5-System-7.4.1708-Monitor-7.4.3-20180612-0748.iso /media/cdrom/

On versions of OP5 Monitor prior to 7.2.8, you will need to execute two additional commands:

# yum --disablerepo=* --enablerepo=*media* update op5-release
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

In some cases in can be useful to clean out old data. Use this for troubleshooting.

# yum --enablerepo=* clean all

Upgrade the system from the mounted ISO-file:

# yum --disablerepo=* --enablerepo=*media* update

You will now get a summary of all packages that will be updated or installed for dependencies, answer: yes

Is this ok [y/N]: y

The upgrade process will take a few minutes.

Your system is now updated to the version specified in the filename of the ISO-image file.

Upgrading from version 7 to 8

When upgrading through online yum repos, this upgrade will not happen automatically and requires an additional package to be installed to trigger the upgrade. This is not the case when using the ISO file. Simply mount the ISO with version 8 and upgrade through yum in a regular manner to move between the major releases. Ensure you have proper backup procedures in place, as there are no supported downgrade paths for.