Re: Update OpenNMS from 20.0.1 to 21.0.3 on CentOS 7

Craig Gallen <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
Hi 
The Eclipse IDE also has compare functionality like Meld which can ignore whitespace in XML. I use eclipse to help me with upgrades. Also it can be very helpful to use GIT to version control changes on your etc directory. Eclipse can do diffs between git branches or tags. So you can use it to see what changes you have made to a virgin config and what changes there are between versions of OpenNMS.
Crsig

On April 17, 2018 4:54:55 AM GMT+01:00, James Zuelow <[email protected]> wrote:
>>I've found that if you have any customised XML configuration files
>that would get overwritten by the upgrade, they are not replaced, but
>rather, the new file that would
>
>>overwrite the old is named <filename>.rpmnew, and that all you need to
>do is to find all the .rpmnew files, and compare with your original. 
>Then it is just a case of
>
>>merging the differences.  It gets tricky when there has been a change
>to the default config files that is only a formatting change to make
>the format of the default config
>
>>files match that which would be generated when updating via the web
>interface.
>
>
>Meld is a really useful tool in this circumstance.
>
>
>It highlights the changes for you and you can quickly see the
>difference between formatting changes and substantive changes.  You can
>also copy your local changes over with a click of a button.  It is
>pretty slick for merging files after an upgrade.
>
>
>This isn't as onerous as it used to be, and I often don't have to merge
>any files at all.  When I do, normally Meld lets me spend only a few
>minutes migrating to new configs.
>
>
>James Zuelow

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.