This document will highlight some key aspects of the upgrade process of the current Opmantek Applications.
Requirements to upgrade
To be able to upgrade you need to have the following version installed on your system.
Application | Version |
---|
NMIS 9 | 9.1.0G or earlier version |
opCharts 4 | 4.1.3 or earlier version |
opConfig 4 | 4.1.1 or earlier version |
opEvents 3 | 3.1.0 or earlier version |
opHA 3 | 3.1.2 or earlier version |
opReports 4 | 4.1.1 or earlier version |
- Check the products release notes
- Has anything been deprecated
- Check compatibility with other OMK apps
Please check our Product Compatibility Page (Product Compatibility) - Has a dependency changed,
- Has licensing been updated
- Test in a non production system
- Create a test environment
- Have you got custom modifications or template changes
- Have you got a test plan and steps to perform a rollback in your production environment
Verify a successful upgrade
How to restore from a failed upgrade
All opModule installers create a backup of /usr/local/omk prior to the installer running PROVIDED you answered the following question early in the installation procedure in the affirmative:
- Do you want to perform a backup of your installation directory?
- Default answer for automated install is 'Yes'.
This is the process to use if you need to roll back from the installer using this backup:
service opeventsd stop
service opconfigd stop
service opchartsd stop
service omkd stop
/usr/local/omk/bin/checkomkdaemons .sh status
cd ~
mkdir temp
tar -xvf omk-backup-YYYY-MM-DD.tgz -C ~ /temp
unalias cp
cp -R ~ /temp/ * /usr/local/omk
service opeventsd start
service opconfigd start
service opchartsd start
service omkd start
/usr/local/omk/bin/checkomkdaemons .sh status
|
Ref: Restore Backup after Install
IMPORTANT STEP:
You also need to run the installer for each previously application that was installed in order to downgrade properly and have the initd and systemd services restored too.
A couple things to remember -
- Each run of an opModule installer creates a new backup file. However, since they all use the same name only the most recent will be maintained. If you are installing several packages you should rename each backup before running the next.
- This process overlays the backup into the /usr/local/omk directory and DOES NOT replace it.
Licences
There is no need to request a license update, as the licenses are continuing to be valid with this upgrade.