Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Update DNF in phase 7 of IBM AIX v7.2 to v7.3 NIM migration

    Posted 24 days ago

    Hello,

    I am gloriously failing to update DNF as part of my NIM migration from AIX 7.2 to AIX 7.3.

    Most simply I've downloaded and unpacked dnf_bundle_aix_73.tar, and attempt to upgrade DNF using the supplied install_dnf.sh in my NIM phase 7 post installation script.

    I was wondering if anyone has successfully included updating DNF as part of an AIX v7.2 to v7.3 migration and, if so, what did you do to succeed?

    Cheers, Richard



    ------------------------------
    Richard Robak
    ------------------------------


  • 2.  RE: Update DNF in phase 7 of IBM AIX v7.2 to v7.3 NIM migration

    Posted 21 days ago

    Richard,

    Hi, Happy New Year😀

    I checked back through my notes and nimadm scripts to see what we did when moving from 7.1 direct to 7.3, below is a extract/summary:

    Within the "AIX73postmigration.sh" script (Phase 7), amongst other tasks, I added mkitab 'dnf:2:once:/directory/to/dnf_wrapper.sh' so that during the re-boot (to AIX 7.3) DNF was updated.

    Within dnf_wrapper.sh
     - Check network available to ensure LPAR is able to communicate to the wider environment
     - Run dnf.sh
     - Email resultant DNF log to the team

    Within dnf.sh
     - updtvpkg
     - ./dnf_aixtoolbox.sh -y 
     - updtvpkg
     - Installed / updated other rpm(s) as needed

    NOTE
    DNF is 32-bit on AIX 7.2 and earlier, so the move to 7.3 requires a re-install/update to force the 64-bit version to be installed.

    Hope that might be of some help.

    All the best, Steve



    ------------------------------
    Steve Munday
    AIX, IBMi, HMC, CMC, PowerVM, PowerVS, Ansible automation engineering
    ------------------------------



  • 3.  RE: Update DNF in phase 7 of IBM AIX v7.2 to v7.3 NIM migration

    Posted 14 days ago

    Steve - Clever, I like it. - Cheers, Richard



    ------------------------------
    Richard Robak
    ------------------------------



  • 4.  RE: Update DNF in phase 7 of IBM AIX v7.2 to v7.3 NIM migration

    Posted 20 days ago

    We are in the middle of patching and upgrades.  It looks like IBM is shifting RPMS from 32bit to 64bit.  Make sure you update your RPMs before you attempt to install new patches or upgrades.  The couple of systems I had to fix, I had to rip out python and a bunch of older RPMs before I could get the DNF bundle to work and complete the update. This year, I'm thinking about updating the RPMS more often to avoid these issues in the future.



    ------------------------------
    Vinny G
    ------------------------------