live update cannot be executed from console

Problem / Failure:


LKU Preview or the Validation generally fails with the error message "live update cannot be executed from console". The reason for the above error is you are executing the LKU preview on the virtual terminal console. 



# 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.isst.aus.stglabs.ibm.com
  HMC: 9.x.x.x
  user: hscroot
  Blackout time(in seconds): 15
  Total operation time(in seconds): 9209
  << 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: 13238776 (lvupdatePreview)
     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.
#
#



Solution:


Solution to the error message "live update cannot be executed from console" is close the virtual terminal and enable the telnet and try running the LKU preview over the telnet it will succeed .

rmvterm is the command to close the vterm of IBM AIX Logical Partition and should be executed from the hardware management console.

hscroot@myhmc:~> rmvterm -m system -p partition01
Close command sent
hscroot@myhmc:~>

And re run the LKU command on the telnet session after closing the terminal that was open.



# 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.isst.aus.stglabs.ibm.com
  HMC: 9.x.x.x
  user: hscroot
  Blackout time(in seconds): 16
  Total operation time(in seconds): 12595
  << 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.
*******************************************************************************




Conclusion:

LKU preview command completed successfully

Post a Comment

0 Comments