Live update cannot be executed from console

Live Update cannot be executed from 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 is the command that will be used to update the software so it cannot be run on vterm. The process of LKU will involve creation of surrogate partition and transferring the workload to it so the vterms will get closed once the surrogate partition is give controls and the old partition is removed from the system.

Below is the error we get when we try running geninstall -kp on v-terminal

# 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): 52
  Total operation time(in seconds): 3768

  << 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-013 FAILED: live update cannot be executed from console.
1430-290 FAILED: /dev/vty0 is opened by processes preventing their checkpoint: 8913386 (ksh)
     These processes must be stopped before performing a Live Update.

  << 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.


The geninstall -kp preview should be run on telnet or in background so that session will not get impacted

# 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): 2617

  << 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.
*******************************************************************************


By running geninstall -kp command on telnet or in background we will not get the failure of live update cannot be executed from console.