PowerVM

  • 1.  VIOS Maintenance Validation - command line?

    Posted Mon May 10, 2021 03:56 AM
    Hi,
    is it possible to do this new VIOS Maintenance Validation on the HMC command line?

    Kind Regards, Nico

    ------------------------------
    Nico Schaarschmidt
    ------------------------------


  • 2.  RE: VIOS Maintenance Validation - command line?

    Posted Mon May 10, 2021 03:59 AM
    Hi,

        VIOS Maintenance validation is supported via GUI and Rest API. Please see Rest API documentation at https://www.ibm.com/docs/en/9040-MR9/p9ehl/apis/ValidateMaintenanceReadiness_VirtualIOServer.htm

    Thanks.

    ------------------------------
    Hariganesh Muralidharan
    Cognitive Systems Management Architecture
    IBM
    ------------------------------



  • 3.  RE: VIOS Maintenance Validation - command line?

    Posted 9 days ago
    Hi Hari,

    Validate VIOS Maintenance Readiness and Prepare puts the vSCSI VTDs, SEA, and vNIC backing devices to defined state as expected.
    What is the correct way to bring them all back available?
    I did a VIOS reboot and was partially successful.  VTDs and vNICs came back online but the SEA rested in standby mode
    Manual intervention for SEA chdev -dev entX -attr ha_mode=sharing brings them back alive.
    Thanks for your help.
    CHers Patrick

    ------------------------------
    Patrick Hügli
    ------------------------------



  • 4.  RE: VIOS Maintenance Validation - command line?

    Posted 8 days ago

    Hi Patrick,

       Yes, the prepare VIOS Maintenance puts the vSCSI/vFC in defined state and changes the SEA mode to standby. Once the prepare is done and any further steps are done in the VIOS - like update/upgrade, a reboot of the VIOS should bring back the vSCSI/vFC to available state. For SEA, you have to change the mode again - it can now be done from the HMC itself (System ->  Virtual Network -> Network Bridges in the GUI).  For vNIC, you can failover back using the hmc command chhwres with V10 R1 M1010 (Eg:- chhwres -r virtualio -m <system name> -o so --rsubtype vnicbkdev -p <target VIOS>).  Hope this helps !

    Thanks.



    ------------------------------
    Hariganesh Muralidharan
    Cognitive Systems Management Architecture
    IBM
    ------------------------------