AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  SUMA and some fileset, eg. python

    Posted 4 days ago

    While checking if SUMA and/or PowerSC might fulfill our requirements for AIX patching I'm facing the issue that SUMA seems to miss some patches.

    In particular, for the LPP Source containing 7300-04-01 servicepack and run SUMA to download latest patches:

    suma -x -a Action=Download -a RqType=Latest -a FilterML=7300-04 -a DLTarget=7300-04

    eg, the acutal pyhton fix20 is not being downloaded, even if the downlevel filesets are in the lppsource.

    Is this a mistake / misunderstanding by me or a well known behavior? 



    ------------------------------
    Matthias Wulkow
    ------------------------------


  • 2.  RE: SUMA and some fileset, eg. python

    Posted 4 days ago

    Hi Matthias,

    short answer: it is well known behavior, not a mistake on your side, and the good news is that your SUMA command is actually doing its job correctly. The catch is that what you are looking for lives in a different distribution channel by design.

    SUMA's world is made of Technology Levels, Service Packs and "Latest", which means the latest SP level fileset updates for the TL you filter on. That is what the RqType parameter speaks, as the current AIX 7.3 documentation describes:
    https://www.ibm.com/docs/en/aix/7.3.0?topic=suma-service-update-management-assistant
    So with 7300-04-01 already in your lpp_source and no newer SP published for TL4 yet, RqType=Latest with FilterML=7300-04 has literally nothing newer to fetch in that channel. The command is fine, the channel is empty.

    The python fix you mention is a different animal: security content between service packs is shipped as INTERIM fixes, the signed fixNN tarballs published with the AIX security bulletins under aix.software.ibm.com/aix/efixes/security/, installed with emgr, and only later rolled into the next SP as regular fileset updates. Here is a recent python bulletin as an example of the pattern, with the advisory, the ifix packages and the verification steps:
    https://www.ibm.com/support/pages/security-bulletin-aix-affected-denial-service-cve-2024-50602-due-python
    SUMA never touches that channel. No RqType reaches it. So the fileset level fix for python will show up in SUMA only when the next SP for your TL ships with it inside.

    Which brings me to your actual evaluation question, because the complete AIX patching architecture is a combo, not a single tool:

    1.⁠ ⁠SUMA (standalone or through NIM) for the TL/SP cadence into your lpp_source. You have this working already.

    2.⁠ ⁠FLRTVC for the between-SP security gap: it compares each LPAR's installed filesets and ifixes against the FLRT vulnerability data and tells you exactly which fixNN packages are missing, with their URLs. It exists as the classic flrtvc script and as the ibm.power_aix.flrtvc Ansible module if you are automating. One current heads-up if you automate the download side: aix.software.ibm.com recently stopped answering plain http, so any tooling still following http URLs from the FLRT data breaks with connection refused. Force https.

    3.⁠ ⁠emgr to apply, NIM to distribute, and the discipline that ifixes are temporary by nature: they get superseded at the next SP, which SUMA then brings you, closing the loop.

    4.⁠ ⁠PowerSC TNC Patch Management is the managed umbrella over all of this: it is built around FLRT verification of the endpoints and maintains its own fix repository on the server side (pmconf init builds it, setup here: https://www.ibm.com/docs/en/powersc-standard/2.2.0?topic=tnc-setting-up-components). If you are evaluating PowerSC anyway, that component is the one designed to close exactly the gap you found, so I would test precisely this scenario against it: whether your PowerSC level pulls the security ifixes for your TL into its repository. Fair warning from the community trenches: some corners of the TNCPM documentation are thinner than they should be, so budget some hands-on time.

    If you share which exact fix or CVE you are chasing, whether NIM is in the picture, and which PowerSC edition and level you are evaluating, happy to get more concrete on the setup.

    Cheers
    Roberto



    ------------------------------
    Roberto Renna
    ------------------------------



  • 3.  RE: SUMA and some fileset, eg. python

    Posted 3 days ago

    Hi Roberto,

    I'm thank thankful for your detailed explanation, espicially looking at the role of suma and PowerSC. Indeed we have PowerSC, NIM and Suma in place and actual evaluate which setup might help us in automated AIX patching. 

    Best regards

    Matthias



    ------------------------------
    Matthias Wulkow
    ------------------------------



  • 4.  RE: SUMA and some fileset, eg. python

    Posted 2 days ago

    Hi Matthias,

    glad it helped, and the fact that you already own all three pieces changes the evaluation nicely: you are not choosing which tool to buy, you are choosing how to compose what you have. Here is how I would think about the target architecture, as a starting point for your evaluation.

    Layer one, the planned SP/TL cadence: SUMA on a schedule feeding your NIM lpp_source, NIM doing the staged rollout (alternate disk for the bigger jumps, so the rollback story stays clean). This layer is calendar driven, a few times a year, and it is the one you already master.

    Layer two, the continuous security layer between service packs: FLRTVC driven. The assessment compares each LPAR against the FLRT data and tells you which fixNN interim fixes are missing; the ibm.power_aix Ansible collection wraps assessment, download and controlled apply if you want it as code. This layer is event driven, bulletin by bulletin, and it is the one your original SUMA question showed was missing. One operational note if you automate the downloads: aix.software.ibm.com recently went https only, so make sure whatever tooling you use follows https URLs.

    Layer three, the umbrella you already pay for: PowerSC TNC. The TNC server verifies endpoints against FLRT data, TNCPM maintains the central fix repository (pmconf init builds it: https://www.ibm.com/docs/en/powersc-standard/2.2.0?topic=tnc-setting-up-components), and the clients report compliance. Since you are licensed anyway, this is the candidate for the managed and auditable version of layers one and two combined.

    So the real evaluation question becomes: pipeline style (SUMA plus NIM plus Ansible, maximum control, you build the compliance view yourself) versus managed style (TNC, central verification and reporting out of the box, one more moving part, and as discussed the documentation has thin corners). My suggestion for deciding: run a structured PoC on a handful of LPARs with TNC, and test exactly the three scenarios that matter to you: SP distribution, security ifix distribution (the precise gap you found with SUMA, so verify your PowerSC level pulls the fixNN packages into its repository), and the compliance reporting your auditors would consume. Two weeks of honest testing will tell you more than any datasheet.

    If you share roughly how many LPARs and TLs you manage, your PowerSC edition and level, whether Ansible is already in your toolchain, and what compliance reporting you need to produce, I am happy to sketch the target setup in more detail.

    Best regards, and good luck with the evaluation!

    Roberto



    ------------------------------
    Roberto Renna
    ------------------------------



  • 5.  RE: SUMA and some fileset, eg. python

    Posted 2 days ago

    Hi Matthias,

    glad it helped, and the fact that you already own all three pieces changes the evaluation nicely: you are not choosing which tool to buy, you are choosing how to compose what you have. Here is how I would think about the target architecture, as a starting point for your evaluation.

    Layer one, the planned SP/TL cadence: SUMA on a schedule feeding your NIM lpp_source, NIM doing the staged rollout (alternate disk for the bigger jumps, so the rollback story stays clean). This layer is calendar driven, a few times a year, and it is the one you already master.

    Layer two, the continuous security layer between service packs: FLRTVC driven. The assessment compares each LPAR against the FLRT data and tells you which fixNN interim fixes are missing; the ibm.power_aix Ansible collection wraps assessment, download and controlled apply if you want it as code. This layer is event driven, bulletin by bulletin, and it is the one your original SUMA question showed was missing. One operational note if you automate the downloads: aix.software.ibm.com recently went https only, so make sure whatever tooling you use follows https URLs.

    Layer three, the umbrella you already pay for: PowerSC TNC. The TNC server verifies endpoints against FLRT data, TNCPM maintains the central fix repository (pmconf init builds it: https://www.ibm.com/docs/en/powersc-standard/2.2.0?topic=tnc-setting-up-components), and the clients report compliance. Since you are licensed anyway, this is the candidate for the managed and auditable version of layers one and two combined.

    So the real evaluation question becomes: pipeline style (SUMA plus NIM plus Ansible, maximum control, you build the compliance view yourself) versus managed style (TNC, central verification and reporting out of the box, one more moving part, and as discussed the documentation has thin corners). My suggestion for deciding: run a structured PoC on a handful of LPARs with TNC, and test exactly the three scenarios that matter to you: SP distribution, security ifix distribution (the precise gap you found with SUMA, so verify your PowerSC level pulls the fixNN packages into its repository), and the compliance reporting your auditors would consume. Two weeks of honest testing will tell you more than any datasheet.

    If you share roughly how many LPARs and TLs you manage, your PowerSC edition and level, whether Ansible is already in your toolchain, and what compliance reporting you need to produce, I am happy to sketch the target setup in more detail.

    Best regards, and good luck with the evaluation!

    Roberto



    ------------------------------
    Roberto Renna
    ------------------------------