HMC

 View Only
  • 1.  ezh or eezh on HMC

    Posted Wed October 18, 2023 04:25 PM

    Is anyone currently using ezh or eezh on their HMC? If so, what version and patch level are you on?  The most recent fix patch for V10 disables sed which ezh/eezh use.



    ------------------------------
    Matthew Opoka
    ------------------------------


  • 2.  RE: ezh or eezh on HMC

    Posted Mon November 06, 2023 06:15 AM

    I'm using version 2.2. I sent you email last Friday In the attached .txt file there is version 2.3, where I removed all dependencies to sed



    ------------------------------
    Esa Kärkkäinen
    ------------------------------



  • 3.  RE: ezh or eezh on HMC

    Posted Tue November 07, 2023 10:29 AM

    Hello,

    i am using ezh rel 1.2 and i'm planning to start using eezh but i can't find any release later that 2.1.

    Could you please share download link or informations?

    Many thanks



    ------------------------------
    Roberto Celeste
    ------------------------------



  • 4.  RE: ezh or eezh on HMC

    Posted Tue November 07, 2023 11:06 AM

    Hello,

    You can get version 2.2. from Matthew Opokas GitHub page https://github.com/opokam/eezh 

    FWIW There is only one difference between 2.1 and 2.2 and that is "backuplpars" function that outputs commands to recreate all LPARs, in same fashion as lparclone does for a single LPAR.



    ------------------------------
    Esa Kärkkäinen
    ------------------------------



  • 5.  RE: ezh or eezh on HMC

    Posted Tue November 21, 2023 06:01 AM
    Edited by Esa Kärkkäinen Tue November 21, 2023 06:13 AM

    I didn't see any updates at Matthews GitHub page.

    I've attached two files to this post.

    The version 2.3 does not use sed at all and it has a number of white space changes.

    The version 2.2.1 that has been modifed just enought that it works, with the sed limitations imposed in certain HMC fixes.

    I've done more tests on the version 2.3, the 2.2.1 not so much.

    Your mileage may vary.



    ------------------------------
    Esa Kärkkäinen
    ------------------------------

    Attachment(s)

    sh
    eezh_v2.3.sh   41 KB 1 version
    sh
    eezh_v2.2.1.sh   34 KB 1 version


  • 6.  RE: ezh or eezh on HMC

    Posted Mon December 11, 2023 09:20 AM

    Esa,

    Thank you.  I will review and add them to github.

    Matthew



    ------------------------------
    Matthew Opoka
    ------------------------------



  • 7.  RE: ezh or eezh on HMC

    Posted Tue November 21, 2023 05:56 PM

    Hi,

    I suggest you register on IBM's RFE portal and share your opinions.

    https://ibm-power-systems.ideas.ibm.com/ideas/HMC-I-436

    ---------------------------------

    OUSSAMA NAZIH

    ---------------------------------



    ------------------------------
    OUSSAMA NAZIH
    ------------------------------



  • 8.  RE: ezh or eezh on HMC

    Posted Mon March 04, 2024 04:35 AM

    The fix for the sed command is now available in the latest service pack for HMC.

    PTF MF71553 HMC V10 R3 M1051.0 - for 7063 Hardware or vHMC for PowerVM (5765-HMB)

    https://download4.boulder.ibm.com/sar/CMA/HMA/0c1ag/1/MF71553.readme.html

    -- Fixed an issue causing the sed command to fail when a command argument contains a dash.



    ------------------------------
    JORGE SILVESTRE
    ------------------------------



  • 9.  RE: ezh or eezh on HMC

    Posted Thu August 08, 2024 11:41 AM

    Unfortunately this is not the case in latest HMC version.

    username@hostname:~> lshmc -V
    "version= Version: 10
     Release: 3
     Service Pack: 1060
    HMC Build level 2406191052
    MF71690 - HMC V10R3 M1060
    MF71698 - iFix for HMC V10R3 M1060
    ","base_version=V10R3
    "
    username@hostname:~> echo foo|sed -e 's/foo/bar/'
    bash: -e s/foo/bar/: restricted: cannot specify command or options in command names
    username@hostname:~> echo foo|sed 's/foo/bar/'|sed 's/bar/baz/'
    baz
    username@hostname:~> which sed
    /usr/hmcrbin/sed
    username@hostname:~> head -1 /usr/hmcrbin/sed
    #!/bin/bash

    FWIW the above mentioned IBM RFE has 25 votes.



    ------------------------------
    Esa Kärkkäinen
    ------------------------------