IBM HMC Upgrades
I have been upgrading all our Hardware Management Consoles (HMC) to v8 r8.7.0 with Service Pack 1 and thought I would share the upgrade procedure. All the HMCs were running v8 R8.6.0 with Service Pack 1.
Download the files from IBM.
http://www14.software.ibm.com/webapp/set2/sas/f/netinstall/home.html
Download the iFix files.
http://www-01.ibm.com/support/docview.wss?uid=nas8N1022257
Anonymous IBM FTP Server: public.dhe.ibm.com
File Location: /software/server/hmc/fixes
x86 Files: HMC_Update_V8R870_SP1_x86.iso and MH01748_x86.iso
Copy the files to the NIM server.
Target Folder for Upgrade Files: /export/lpp_source/HMC_Software/HMCv8r870-Upgrade
Target Folder for iFixes and Service Pack: /export/lpp_source/HMC_Software/HMCv8r870-UpgradeFixes
Confirm the file size and check sum
# ls -l
total 7081024
-rw-r--r-- 1 rouser other 1139548160 31 Jan 09:05 base.img
-rw-r--r-- 1 rouser other 2446524416 31 Jan 09:11 disk1.img
-rw-r--r-- 1 rouser other 55 31 Jan 09:11 hmcnetworkfiles.sum
-rw-r--r-- 1 rouser other 5389328 31 Jan 12:49 img2a
-rw-r--r-- 1 rouser other 34015945 31 Jan 12:49 img3a
# cat hmcnetworkfiles.sum
51561:img3a
21434:disk1.img
03187:img2a
55366:base.img
# sum img3a disk1.img img2a base.img
51561 33219 img3a
21434 2389184 disk1.img
03187 5264 img2a
55366 1112840 base.img
# ls -l
total 9677768
-rw-r--r-- 1 autoexp other 2478442496 01 Feb 14:55 HMC_Update_V8R870_SP1_x86.iso
-rw-r--r-- 1 autoexp other 2476572672 01 Feb 15:02 MH01748_x86.iso
# sum HMC_Update_V8R870_SP1_x86.iso MH01748_x86.iso
32297 2420354 HMC_Update_V8R870_SP1_x86.iso
26367 2418528 MH01748_x86.iso
HMC Update
nim1:/# ssh -e @ hscroot@10.1.1.1
Last login: Tue Jan 30 13:50:34 2018 from 10.2.2.2
Save the upgrade data.
hscroot@hmc1:~> saveupgdata -r disk
hscroot@hmc1:~> echo $?
0
Create a backup.
Note the backup can take around 30 minutes and produces no output.
hscroot@hmc1:~> bkconsdata -r sftp -h 10.3.3.3 -u rouser --passwd password \
-d /export/mksysb/HMC_BACKUPS/${HOSTNAME}/
Confirm backup.
nim1:/export/mksysb/HMC_BACKUPS# ls -l hmc1
total 7544016
-rw-r--r-- 1 rouser other 3862311266 30 Jan 13:32 HMCBackup_20180130.130041.tgz
Get the upgrade files.
Note the following command is all on one line.
hscroot@hmc1:~> getupgfiles -r sftp -h 10.3.3.3 -u rouser --passwd password \
-d /export/lpp_source/HMC_Software/HMCv8r870-Upgrade
Set the HMC to upgrade mode.
hscroot@hmc1:~> chhmc -c altdiskboot -s enable --mode upgrade
Reboot the HMC.
hscroot@hmc1:~> hmcshutdown -r -t now
Note: You will be logged off and the upgrade can take up to 20 minutes to complete.
Broadcast message from root@hmc1 (Wed Jan 31 13:41:04 2018):
The system is shutting down for reboot now.
hscroot@hmc1:~> Connection to 10.1.1.1 closed by remote host.
Login and Confirm.
nim1:/# ssh -e @ hscroot@10.1.1.1
hscroot@hmc1:~> date
Wed Jan 31 14:07:25 AEDT 2018
hscroot@hmc1:~> lshmc -V
"version= Version: 8
Release: 8.7.0
Service Pack: 0
HMC Build level 1709071101
","base_version=V8R8.7.0
"
Apply Service Pack 1.
Note the following command is all on one line.
hscroot@hmc1:~> updhmc -t sftp -h 10.3.3.3 -u rouser --passwd password \
-f /export/lpp_source/HMC_Software/HMCv8r870-UpgradeFixes/HMC_Update_V8R870_SP1_x86.iso
The corrective service file was successfully applied. A mandatory reboot is required but was not specified on the command syntax.
Reboot the HMC.
Note: This reboot may take up to 10 minutes.
hscroot@hmc1:~> hmcshutdown -r -t now
Broadcast message from root@hmc1 (Thu Feb 1 15:18:02 2018):
The system is shutting down for reboot now.
Connection to 10.1.1.1 closed by remote host.
Login and Confirm SP1.
nim1:/# ssh -e @ hscroot@10.1.1.1
hscroot@hmc1:~> lshmc -V
"version= Version: 8
Release: 8.7.0
Service Pack: 1
HMC Build level 1712090351
MH01725 - HMC 870 Service Pack 1 Release [x86_64]
","base_version=V8R8.7.0
"
Apply MH01748 Fixes.
Note the following command is all on one line.
hscroot@hmc1:~> updhmc -t sftp -h 10.3.3.3 -u rouser --passwd password \
-f /export/lpp_source/HMC_Software/HMCv8r870-UpgradeFixes/MH01748_x86.iso
The corrective service file was successfully applied. A mandatory reboot is required but was not specified on the command syntax.
Reboot the HMC.
Note: This reboot may take up to 10 minutes.
hscroot@hmc1:~> hmcshutdown -r -t now
Broadcast message from root@hmc1 (Thu Feb 1 04:32:16 2018):
The system is shutting down for reboot now.
Connection to 10.1.1.1 closed by remote host.
Connection to 10.1.1.1 closed.
Login and Confirm SP1 and iFix.
hscroot@hmc1:~> lshmc -V
"version= Version: 8
Release: 8.7.0
Service Pack: 1
HMC Build level 1801241712
MH01725 - HMC 870 Service Pack 1 Release [x86_64]
MH01748 - Required fix for HMC V8R8.7.0 SP1 [x86_64]
","base_version=V8R8.7.0
"
Set the Date and Time.
Modify the date and time if needed. Format is MMDDhhmm
hscroot@hmc1:~> chhmc -c date -s modify --datetime 02011543
The Customize Date/Time request completed successfully. Please reboot the HMC.
Reboot the HMC.
hscroot@hmc1:~> hmcshutdown -r -t now
Broadcast message from root@hmc1 (Thu Feb 1 15:45:16 2018):
The system is shutting down for reboot now.
Connection to 10.1.1.1 closed by remote host.
Login and Confirm HMC is okay.
Login and confirm the HMC is okay.
Run some system checks to verify connections to your Power Servers.
hscroot@hmc1:~> lssyscfg -r sys -F name,state
hscroot@hmc1:~> lssyscfg -m PowerFrame -r lpar -F name,state,os_version,rmc_state
hscroot@hmc1:~> lssysconn -r all