HMC Upgrade using network images
01. Download the appropriate HMC V7 network images and put them on an FTP server.
02. Verify that the following files have been downloaded:
initrd.gz, bzImage, disk1.img, disk2.img, and disk3.img
03. On the HMC, you must first save upgrade data by running the following commands:
3a. To save data to both DVD and disk:
mount /media/cdrom
saveupgdata -r diskdvd
3b. To save to disk alone:
saveupgdata -r disk
04. Next, copy the files over to the bootable disk partition on the HMC from FTP server
4a. getupgfiles -h remote_hostname -u --passwd -d
Note: use -s to use sftp instead of ftp.
4b. If you want to see the progress of copy process, run the following command
while true; do ls -la /hmcdump; sleep 30; done
05. After the files are copied over, run the following command:
chhmc -c altdiskboot -s enable --mode upgrade
Now the HMC is ready to be rebooted and automatically upgraded with the code copied to the bootable disk partition.
06. Finally, reboot the HMC and start the upgrade.
hmcshutdown -r -t now
01. Download the appropriate HMC V7 network images and put them on an FTP server.
02. Verify that the following files have been downloaded:
initrd.gz, bzImage, disk1.img, disk2.img, and disk3.img
03. On the HMC, you must first save upgrade data by running the following commands:
3a. To save data to both DVD and disk:
mount /media/cdrom
saveupgdata -r diskdvd
3b. To save to disk alone:
saveupgdata -r disk
04. Next, copy the files over to the bootable disk partition on the HMC from FTP server
4a. getupgfiles -h remote_hostname -u
Note: use -s to use sftp instead of ftp.
4b. If you want to see the progress of copy process, run the following command
while true; do ls -la /hmcdump; sleep 30; done
05. After the files are copied over, run the following command:
chhmc -c altdiskboot -s enable --mode upgrade
Now the HMC is ready to be rebooted and automatically upgraded with the code copied to the bootable disk partition.
06. Finally, reboot the HMC and start the upgrade.
hmcshutdown -r -t now
0 comments:
Post a Comment