Optional:
# bkconsdata -r ftp -h [ftp host] -u [user] -d [directory]
# chsvcevent -o closeall # chhmcfs -o f -d 0 # hmcshutdown -t now -r
If you want to upgrade an HMC with recovery CD from command line, first download the netinstall packages from FTP site
On the IBM Web site: https://public.dhe.ibm.com/software/server/hmc/network/
hscroot@HMC:~> saveupgdata -r disk
hscroot@HMC:~> getupgfiles -r sftp -h 10.10.10.10 -u ftpuser --passwd xxxxxx -d /software/hmc hscroot@HMC:~> chhmc -c altdiskboot -s enable --mode upgrade hscroot@HMC:~> hmcshutdown -r -t now
The easiest way is to download all latest and recommended fixes, as iso images, and put it into an empty directory on an ftp server.
Using command line on the HMC:
updhmc -t sftp -h <ftpservername> -f </home/updates/corrrective_service.iso> -u <ftpusername> --passwd <ftppassword> -c -r
Or on the HMC web interface, go into Update, and click on the HMC Update button.
–> select Remote server
–> put the location on the ftp server, it will discover all available iso files
–> select one at time and start the update, first a SP if one available
–> you have to reboot between all updates
If on package failed to installed, it's maybe no more needed.