OpenNMS Migration

To Do:

  1. Staging directory structure is:

    File Tree of Lingo Onms Diff Staging

  2. Download Onms 1.12.9 deb without dependencies & place in ~/onms/1.12.9/debs .
    for name in ${Packages}
    do
    wget https://debian.opennms.org/dists/opennms-1.12/main/binary-amd64/${name}
    done

    List of Onms 1.12.9 deb packages:   Onms-1.12.9.debs
  3. Download Onms 29.0.10 (29.0.8 currently installed) & place in ~/onms/29.0.10/debs
    for name in ${Packages}
    do
    wget  https://debian.opennms.org/dists/opennms-29/main/binary-amd64/${name}
    done


    List of Onms 29.0.10 Debian Packages: Onms-29.0.10.debs
  4. Request list of installed pkgs from Mike

       rpm -qa >>list-of-rpm-pkgs.txt
    yum list installed >>list-of-yum-pkgs.txt

    Old OpenNMS installed rpm list: rls-rpmlist
    Old OpenNMS installed yum-pkgs: rls-yumlist

    New OpenNMS installed rpm list: dvm-rpmlist
    New OpenNMS installed yum list: dvm-yumlist

  5. Install only Onms pkgs from each version

    1. upload dvm.opt.tar.bz2 & rls.opt.tar.bz2 to ~/onms/
    2. create ~/onms/dvm , ~/onms/rls & untar respective tar.bz2 archives
    3. compare list of packages in 1.12.9 repository with rls installed packages
    4. install debs without dependencies for each version, create tar & pipe to ~/onms/clean-install-1.12.9 & ~/onms/clean-install-29.0.10 and uninstall debs after each tar pipe.
  6. Identify and remove all binary files from ~/onms/clean-install-*
  7. Run contextual diffs on all configurable files of ~/onms/clean-install-*
  8. Document files clean-install-* differences & produce sed scripts if needed
  9. Identify and remove all binary files from ~/onms/lingo-current/*
  10. Run contextual diffs on all configurable files of ~/onms/lingo-current/*
  11. Document lingo-current/* files differences & produce sed scripts if needed
  12. Create report & MOP
  13. Create & deliver archive of config files 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.