Wednesday, 22 June 2016

HMC Upgrade and Frame microcodes upgrades from HMC commanline

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1) updhmc - update code on the Hardware Management Console
This command performs the equivalent of the Install Corrective Service task under Licensed Internal Code Maintenance/HMC Code Update on the console.

A>The following command performs an update using a server and a viewable password.
#updhmc -t s -h hostname -u user1 -p password -f /tmp/Update1.zip

B>The following command performs an update using a server and a password prompt.
#updhmc -t s -h hostname -u user1 -i-f /tmp/Update1.zip

C>Updating the code on multiple HMCs using the remote command line

for i in 1 2 3 4 5 6 7    
do
    scp hmc_update.zip hscroot@hmc$i:/home/hscroot
done    

for i in 1 2 3 4 5 6 7    
do
    ssh hscroot@hmc$i “updhmc –t l –f /home/hscroot/hmc_update.zip –c –r"
    
done
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2) updlic - update Licensed Internal Code (LIC) of managed system

==============================================================
                                                         

No comments:

Post a Comment