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.  Remove yum and all dependant packages on AIX 7.1.3.3

    Posted Tue January 15, 2019 04:04 PM

    Originally posted by: RecoveryOne


    Was wondering what is the best way to remove yum from AIX and all dependent packages? rpm -e and go and cleanup everything?

     

    An issue was reported to me that hacmp startup fast path wasn't working. I've narrowed it down to yum, HACMP 7.1.3, and AIX 7.1.3.3.

     

    For testing, I set up a two node cluster, one node had yum installed from the yum.sh script. No other AIX or HA software levels have been tested.

    After installation was successful, ran smitty clstart and received this:

                                                                     +--------------------------------------------------------------------------+
                                                                     |                              ERROR MESSAGE                               |
                                                                     |                                                                          |
                                                                     | Press Enter or Cancel to return to the                                   |
                                                                     | application.                                                             |
                                                                     |                                                                          |
                                                                     |   1800-106 An error occurred:                                            |
                                                                     |                                                                          |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   error: incorrect format: unknown tag                                   |
                                                                     |   #when:how:broadcast:cllockd:clinfo                                     |
                                                                     |   -N:RO_hatest2:-b: :-i                                                  |
                                                                     |                                                                          |
                                                                     |                                                                          |
                                                                     | F1=Help                 F2=Refresh              F3=Cancel                |
                                                                     | F8=Image                F10=Exit                Enter=Do                 |
                                                                     +--------------------------------------------------------------------------+
    

    Before running yum.sh, smitty clstart gave the screen:

                                                                                                Start Cluster Services
    
    Type or select values in entry fields.
    Press Enter AFTER making all desired changes.
    
                                                            [Entry Fields]
    * Start now, on system restart or both                now                                                                                                                                                   +
      Start Cluster Services on these nodes              [RO_hatest2]                                                                                                                                           +
    * Manage Resource Groups                              Automatically                                                                                                                                         +
      BROADCAST message at startup?                       true                                                                                                                                                  +
      Startup Cluster Information Daemon?                 true                                                                                                                                                  +
      Ignore verification errors?                         false                                                                                                                                                 +
      Automatically correct errors found during           Interactively                                                                                                                                         +
      cluster start?
    

    Additional note: yum has been installed in a prod cluster with same version of AIX/hacmp hence forth my testing when this issue was brought to my attention. Sadly, yum and its packages were installed long after my retention settings in my TSM / NIM server, so all my backups's have yum ready to go.

    I seem to recall that the "error: incorrect format: unknown tag" was resolved in a later AIX level, however we are a little beholden to vendor supported versions of AIX and can't easily upgrade. And for some reason, I'm unable to find that document at this time. If memory servers me correctly it's AIX 7.1.4.3, but don't hold me to that.

     

    Thanks everyone

     

     

    ***EDIT So, it seems that fileset AIX-rpm-7.1.3.15-5.ppc may be the culprit. ran rpm -e AIX-rpm-7.1.3.15-5.ppc, and able to bring up smitty clstart.

    I will keep looking about.

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: Remove yum and all dependant packages on AIX 7.1.3.3

    Posted Wed January 16, 2019 02:07 AM

    Originally posted by: AyappanP


    Check out this (under known issues ) --> https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/README-yum

    You won't see this problem in the below AIX levels.

    AIX 61 TL9 SP6
    AIX 71 TL4
    AIX 72


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: Remove yum and all dependant packages on AIX 7.1.3.3

    Posted Wed January 16, 2019 08:15 AM

    Originally posted by: RecoveryOne


    AyappanP,

    Thank you.

    Thought it was at least AIX 7.1.TL4 and the changes to rpm fileset.

     

    Just one wouldn't think it would cause an issue with the smitty fastpath for hacmp startup.

    Well, i've a bit of cleanup work to do.

     

    Thanks again.

     


    #AIXOpenSource
    #AIX-Open-Source-Software