HMC Update

HMC update

HMC update is a process of updating the hmc from lower software version to higher software version with in the release. The purpose of update will be to apply corrective service packages, security patches, fix bugs and add new features. Update process requires a reboot step

HMC update command is below

Using ftp

updhmc -t ftp -h ftp.server.ip.address -u ftp_user --passwd ftp_password -f /ftp_absolute_path_to_updatefile.iso -r

Where ftp is type of file transfer
           ftp.server.ip.address is ip address of ftp server
           ftp_user if ftp user id
           ftp_password is ftp user password (optional to provide in command line)
           ftp_absolute_path_to_iso_file.iso is the ftp path to iso file
           -r signifies reboot after download and instalation of build is complete (Warning : HMC will reboot)

Using nfs

updhmc -t nfs -h nfs.server.ip -l /hmc/images -f HMCVersionNumber/updatefile.iso

Where nfs is type of file transfer
           nfs.server.ip is ip address of nfs server
           /hmc/images if nfs path to multiple hmc branch version
           HMCVersionNumber/updatefile.iso is the relative path to updateiso file

HMC will take 30 minutes to come up and will reboot to the latest  version of hmc and can be verified with "lshmc -V" command before and after the reboot


HMC Upgrade

Upgrade is a process of upgrading the hmc software version from one release to another release. Upgrade process requires multiple steps saving the upgrade data, downloading the upgrade packages, changing the hmc boot partition disk and finally reboot step.

1. Save the upgrade data to disk

saveupgdata -r disk

2. Download the network install files from ftp server

getupgfiles -h ftp.server.ip.address -u ftp_user --passwd ftp_password -d /absolute_path_to_network_install_builds

3. Create partition boot disk 

chhmc -c altdiskboot -s enable --mode upgrade

4. Reboot the hmc

hmcshutdown -r -t now

HMC takes more then 30 minutes to come up and will reboot to the latest  version of hmc and can be verified with "lshmc -V" command before and after the reboot