Re: Update OpenNMS from 20.0.1 to 21.0.3 on CentOS 7
Jonathan Heard <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Jason,
The following pages might help you:
https://wiki.opennms.org/wiki/Upgrade_Guide:_20_to_21 (This isn't
really a guide but lists all the config files which change and known-issues)
Personally I've found upgrading OpenNMS to be a very painful and
laborious process - You'll need to keep backups of all your customised
XML configuration files from /etc/opennms and then re-apply those
changes once the new version is installed. If you're lucky it will be a
simple case of copying the old files back into place, but you then risk
losing useful and/or important default changes from the new version.
You'll almost certainly want to do a backup - this is documented here:
https://wiki.opennms.org/wiki/Backup_and_Restore
After updating the OpenNMS packages, the installer will take care of
updating the database etc...
${OPENNMS_HOME}/bin/install -dis (From:
https://docs.opennms.org/opennms/releases/21.0.3/guide-install/guide-install.pdf
)
In my personal opinion, I would not bother trying to upgrade but instead
would rebuild from scratch and apply any custom config. The setup I run
is fully automated using puppet - it took a fair bit of work but I just
build a new virtual machine, run puppet and then OpenNMS automatically
populates by doing a zone transfer from our DNS. Crucially in our case
we don't care about losing historic stats which may be a different
situation for you. As I write I'm upgrading from 21.0.2 to 21.0.5 in
exactly this way.
Hope this helps - Good luck!
Jonathan
On 09/04/18 20:46, Jason Burgess wrote:
> Hello,
>
> I'm fairly new to OpenNMS as well as Linux... I installed 20.0.1
> around maybe 8 months ago and I want to update it to the latest
> version. Unfortunately I'm not seeing any specific guides for this.
> It looks like I need to update PostgreSQL as well (I'm on 9.2 and
> would like to go to 10.x) but again, I'm not entirely sure how this
> making changes to the database could impact the installation.
> Is there a walkthrough I'm missing? If I do a Yum Update opennms,
> will that include the dependencies? Will it migrate the DB to the
> newer instance, leaving the data intact?
>
> Thank you.
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss