No valid authentication with an HMC console

Live Kernel Update failed with No valid authentication with an HMC console

LKU is a process to update the AIX Kernel with ifix, technology levels (TL) and service packs (SP) live without rebooting the AIX Operating System. For more  information about the LKU refer here



Geninstall validation requires partition to exchange keys with hmc so that there will be operations of LKU takes place. If the keys are not exchanged then the LKU validation will fail.

# geninstall -kp

*******************************************************************************
Live Update PREVIEW:  Live Update operation will not actually occur.
*******************************************************************************

+-----------------------------------------------------------------------------+
                    Pre-Live Update Verification...
+-----------------------------------------------------------------------------+
Verifying environment...done
Verifying /var/adm/ras/liveupdate/lvupdate.data file...done
Computing the estimated time for the live update operation...done
Results...

EXECUTION INFORMATION
---------------------
  LPAR: partition01
  HMC: 9.x.x.x
  user: hscroot

  Blackout time(in seconds): 51
  Total operation time(in seconds): 2852

  << End of Information Section >>

+-----------------------------------------------------------------------------+
                    Live Update Requirement Verification...
+-----------------------------------------------------------------------------+

INFORMATION
-----------
INFO: Any system dumps present in the current dump logical volumes will not be available after live update is complete.

  << End of Information Section >>

FAILURES
--------
1430-246 FAILED: No valid authentication with an HMC console.
     Use the 'hmcauth -l' command to check the HMC authentication.
     If needed, run 'hmcauth' command to authenticate with HMC.
     Check that the attributes of 'hmc' stanza in the lvupdate.data match the hmcauth values.


  << End of Failure Section >>

+-----------------------------------------------------------------------------+
                    Live Update Preview Summary...
+-----------------------------------------------------------------------------+
1430-218 The live update preview failed.

*******************************************************************************
End of Live Update PREVIEW:  No Live Update operation has actually occurred.
*******************************************************************************
0503-125 geninstall:  The lvupdate call failed.
Please see /var/adm/ras/liveupdate/logs/lvupdlog for details.
#

Exchange keys 

Exchange the keys between the partition and the hmc. Run hmcauth command to key exchange between AIX partiton and HMC hmc.fully.qualified.domain.name.com using hscroot user

# hmcauth
Enter HMC URI: hmc.fully.qualified.domain.name.com 
Enter HMC user name: hscroot
Enter HMC password: 
#

After hmcauth is perform run the LKU Validation


# geninstall -kp

*******************************************************************************
Live Update PREVIEW:  Live Update operation will not actually occur.
*******************************************************************************

+-----------------------------------------------------------------------------+
                    Pre-Live Update Verification...
+-----------------------------------------------------------------------------+
Verifying environment...done
Verifying /var/adm/ras/liveupdate/lvupdate.data file...done
Computing the estimated time for the live update operation...done
Results...

EXECUTION INFORMATION
---------------------
  LPAR: partition01
  HMC: 9.x.x.x
  user: hscroot

  Blackout time(in seconds): 50
  Total operation time(in seconds): 2130

  << End of Information Section >>

+-----------------------------------------------------------------------------+
                    Live Update Requirement Verification...
+-----------------------------------------------------------------------------+

INFORMATION
-----------
INFO: Any system dumps present in the current dump logical volumes will not be available after live update is complete.

  << End of Information Section >>

+-----------------------------------------------------------------------------+
                    Live Update Preview Summary...
+-----------------------------------------------------------------------------+
The live update preview succeeded.

*******************************************************************************
End of Live Update PREVIEW:  No Live Update operation has actually occurred.
*******************************************************************************

With this the issue of No valid authentication with an HMC console will be fixed