Opsview Knowledge Center

OS and Opsview Upgrades

Learn how to perform an OS and Opsview upgrade at the same time

It is possible to upgrade your OS at the same time as Opsview Monitor. This section covers any extra steps or processes you may need to follow for a successful upgrade.

Ubuntu 12.04 LTS to Ubuntu 14.04 LTS OS and Opsview upgrade:

  1. Upgrade your OS first by following the Ubuntu documentation: https://help.ubuntu.com/community/UpgradeNotes.

    WARNING: This will disable Opsview repositories and may uninstall Opsview Monitor packages with its dependencies (eg. mysql-server)

  2. Re-enable Opsview repositories.

  3. Refresh Opsview repositories

    sudo apt-get update
    
  4. Re-install the opsview package

    sudo apt-get install opsview-watchdog
    sudo apt-get install opsview-timeseries-lib opsview-timeseries opsview-timeseries-enqueuer opsview-timeseries-rrd
    sudo apt-get install opsview libapache2-mod-auth-tkt-prefork-opsview
    
  5. Modify site configuration files as apache2 gets upgraded to version 2.4 on Ubuntu 14.04

    sudo mv -v /etc/apache2/sites-enabled/opsview /etc/apache2/sites-enabled/opsview.conf
    
  6. Restart Apache

    sudo /etc/init.d/apache2 restart
    

Ubuntu 14.04 LTS to Ubuntu 16.04 LTS OS and Opsview upgrade:

  1. Read the Ubuntu 16.04 LTS Release notes for the upgrade process of Ubuntu 14.04 to 16.04 upgrade: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes

    WARNING: Please make sure you have read the release notes carefully, as Ubuntu 16.04 has changes which affect Opsview, e.g (perl version 5.22 and mysql version 5.7) and introduction of systemd to manage services **

    WARNING: This will disable Opsview repositories and may uninstall Opsview packages with its dependencies (eg. mysql-server)

    Mysql is not upgraded automatically. This means that after the Opsview upgrade the database will work as is and will remain on version 5.5.0

    Although if you have decided to upgrade mysql to version 5.7 please be aware that mysql 5.7 uses strict mode by default; this mode needs to be disabled.

  2. Re-enable Opsview repositories.

  3. Refresh package repositories:

    sudo apt-get update
    
  4. Re-install Opsview packages:

    sudo apt-get install opsview-watchdog
    sudo apt-get install opsview-timeseries-lib opsview-timeseries opsview-timeseries-enqueuer opsview-timeseries-rrd
    sudo apt-get install opsview libapache2-mod-auth-tkt-prefork-opsview
    

OS and Opsview Upgrades

Learn how to perform an OS and Opsview upgrade at the same time