IBM Support

Model 7063/ppc: Upgrading the HMC from Version 8.8.7.0 to V9R1

Troubleshooting


Problem

This document provides instructions to upgrade the HMC from Version 8.8.7 to Version 9 Release 1 Maintenance 910 (V9 R1 M910) for M/T 7063

Resolving The Problem

These instructions apply to ppc based HMCs (model 7063 or vHMC on POWER). They are not intended for x86 based vHMC or model 7042. For upgrade information for Model 7042, vHMC on x86 see http://www.ibm.com/support/docview.wss?uid=nas8N1022499

Diagnosing The Problem

This release is out of service support, and the document will not be updated.
Before you begin this Upgrade, please note,
 
The HMC can no longer be updated directly from public.dhe.ibm.com.  HMC update is supported directly from Fix Central by using SFTP option or by staging the updates on a local server. 
 
The getupgfiles command will no longer support connecting to public.dhe.ibm.com directly.  Instead, first download the network upgrade files from Fix Central or from public.dhe.ibm.com using ftps or https and place them on a local FTP server.

Prerequisites


Prior to upgrading, complete the following:

1. Verify HMC model is compatible with V9R1

HMC V9 R1 M910 supports the following HMC models:

· Open Power : 7063-CR1

2. Verify HMC minimum level and that the "Upgrade iFix" is applied.


HMC 8.8.7 + mandatory fix (MH01706/MH01707) or supersede.

3. Review/repair and close all service events
See https://www.ibm.com/support/pages/preparing-upgrade-or-install-hmc

4. Reboot the HMC

If the HMC has not been restarted recently, you should restart before you begin the upgrade. To reboot, either:
- Use the GUI task HMC Management > Console Management > Shut Down or Restart the Management Console > Restart HMC then click OK.
OR
- Use the CLI hmcshutdown -r -t now

5. Verify Server Model and Firmware are compatible

All managed servers must be a POWER7 or later model. Management of POWER6 and older servers is not supported by HMC V9 Attempts to manage POWER6 and older servers will result in a connection state
of Version Mismatch and connection_error_code “Connection not allowed".

Click here for a complete list of supported combinations of HMC V9 code levels and server firmware levels. While the HMC can perform basic management tasks and upgrades on down level servers, servers below the supported level should be updated soon after the HMC upgrade is complete.

6. Review the readme

The Readme file/release notes for HMC V9 R1.0 Recovery Media and mandatory fix can be found in IBM Fix Central at
https://download4.boulder.ibm.com/sar/CMA/HMA/07hbb/8/MH01735.readme.html

7. Server managed by dual (redundant) HMCs require that both HMCs be upgraded to the same release

If two HMCs manage the same server, both HMCs must be at the same version, release and maintenance level.

Tab navigation

Network

Instructions for upgrading from a network server
This section describes how to perform the upgrade over the network instead of from Recovery DVD. The network upgrade can be done using ftp, sftp or nfs protocol. If the HMC does not have direct internet access the network upgrade files can be staged on a local server (see "Using a local server" below).

Restricted Shell Access

This upgrade method requires restricted shell command line access.

From the local HMC, select HMC Management > Console Management > Open a Restricted Shell Terminal

From a remote location, restricted shell is available through the ssh protocol. For information on how to access HMC command line remotely see http://www.ibm.com/support/docview.wss?uid=nas8N1022259.

Step 1: Save Profile Data

Perform a Save Profile Data for each managed system to save an additional copy of partition/profile configurations. For dual HMCs managing the same server this step is only needed on the upgrade of the first HMC. It cannot be run on HMC with a server in "version mismatch - save area version mismatch" state.
At the command prompt, enter the following command tol save profile data for all servers:
lssyscfg -r sys -F type_model*serial_num | while read machine; do bkprofdata -m "$machine" -f Beforeupgrade$(date +%Y%m%d) ; done

Step 2: Save Upgrade Data

A Save Upgrade Data task must be done to preserve information on the HMC before performing the upgrade. You must upgrade immediately after the Save Upgrade Data task. If you restart the HMC again without doing the upgrade, you must log in and run the Save Upgrade Data task (to harddrive) again before performing the upgrade.
 
a. Prepare media to use for Save Upgrade Data. You will need a USB flash drive.

USB flash drive must be formatted FAT32 with a single partition and it cannot be password protected. Plug the flash drive into a USB port on the front of the HMC. Wait until you hear 3 beeps (or approximately 1 minute) for the HMC to detect the flash drive.

Note: Save Upgrade Data will overwrite any existing save upgrade data on the media. It will not overwrite any Backup Management Console Data already on the media.
 
b. Use the following command specifying "diskusb" for USB flash drive.
saveupgdata -r diskusb.
 
c. Wait for the Save Upgrade Data task to complete. If the task fails, contact your next level of support before proceeding. If the Save Upgrade Data task is successful, the following optional procedure can be performed to verify the data:

1. Mount the media:

Run the command lsmediadev to determine the mount point of the USB flash drive. In the example below, USB flash drive is /media/sda1
device=/dev/cdrom,mount_point=/media/cdrom,type=1,description=CD/DVD
device=/dev/fd0,mount_point=/media/floppy,type=2,description=internal diskette drive
device=/dev/hda,type=6,description=internal hard disk drive
device=/dev/sda1,mount_point=/media/sda1,type=3,description=USB flash memory device

Run the command mount (for example, mount /media/sda1 for USB flash drive)

2. Run the command ls –l using the same mount point as in Step 1 above. - "Example" ls -l /media/sda1

3. Verify that there are five tar files with the following names:

ACMSaveData.tar
RSCTSaveUpgrade.tar
SaveCCFWUpgradeData.tar
SaveHSCSystemUpgradeData.tar
SaveProfileDataUpgrade.tar

If any of these tar files are missing, contact your next level of support.

4. Issue the command umount using the same mount point as in Step 1 above.

Note: The Save Upgrade Data will be saved to the hard drive on the HMC as well as the media. The Save Upgrade Data on the media is used only to recover from an unexpected error under the direction of support personnel.

 
d. Once the Save Upgrade Data task is successful, remove the USB flash drive.

Step 3: Upgrade the HMC to 9.1.0
 
a. Download the V9.1.0 network upgrade files to the HMC.
To upgrade from a local server instead of direct from the IBM FTP site, refer to "Using a local server" section at the bottom of this page.

Open Restricted Shell (or ssh session) and type the following command:

getupgfiles -h public.dhe.ibm.com -u anonymous --passwd anonymous -d /software/server/hmc/network/v910/ppc

The parameters of the getupgfiles command:
 
-h The host name or IP address of the remote FTP server.
-u The user ID to log into the remote site.
--passwd The password to log into the remote site. If this option is omitted, you will be prompted for the password.
-d The directory on the remote site that contains the upgrade files.

The following files will be downloaded to the directory indicated:
File name Description Destination Size BSD Checksum
img2a kernel image /hmcboot 19399968 21020
img3a Ram Disk file system /hmcboot 37445549 28226
base.img Base Image /hmcboot 1075986432 32763
disk1.img Base HMC Image and Service Doc /hmcdump 2966663168 43244
hmcnetworkfiles.sum checksums /hmcdump 55 n/a

While the download is running, there is no indication of progress in the restricted shell. To monitor progress, open another restricted shell session and monitor the files and file sizes. For example the following command will loop indefinitely querying the file sizes every 30 seconds: while true; do ls -l /hmcdump ; ls -l /hmcboot ; sleep 30; done (Use ctl+c to end).
Once the files have all been downloaded successfully, the getupgfiles command returns to the command prompt and the ls -l command will no longer list the files in the directory as the target directories are unmounted.
 
b. Set the HMC to do the next reboot from the special location on the hard drive where the downloaded V9 files are stored by typing the following command:

chhmc -c altdiskboot -s enable --mode upgrade

Note: Remove any USB flash drive that contains HMC Backup Management Console Data prior to performing a network upgrade. Failure to remove the drive will result in failed network upgrade.
 
c. Reboot the HMC using one of the following methods:

Option 1. HMC GUI: HMC Management > Console Management > Shut Down or Restart the Management Console > Restart HMC then click OK
Option 2. Restricted shell command: hmcshutdown -t now -r

Note: The initial reboot can take 30-45 minutes. Do not reboot or power off; wait for the boot to complete. IBM is investigating a rare issue where the HMC upgrade may indefinitely hang at "Processing SaveHSCSystemUpgradeData.tar ....." If the HMC stays at "Processing SaveHSCSystemUpgradeData.tar ....." for more than one hour please contact IBM support for further problem determination.
 
d. At the Hardware Management Console login prompt, log in using your user ID and password.
 
Once the HMC reboots, the installation starts and typically takes about an hour. After the installation of V9.1.0 is complete, you should be able to remotely access the HMC again.
 
e. Install the required fixes for V9.1.0 using the link provided below.
Optional: Using a local server

1. Use FTP to do a binary download of the upgrade files from the IBM server to a directory on a local server:

IBM Server: public.dhe.ibm.com/software/server/hmc/network/v910/ppc
Files:
img2a
img3a
base.img
disk1.img
hmcnetworkfiles.sum

2. Verify the download Use a BSD checksum tool to verify that the checksum of each file matches the expected checksum documented in the table above.
3. Perform the upgrade as described above. However, in Step 1, modify the getupgfiles command to point to your local FTP server. For example:

getupgfiles -h myserver -u myuserid --passwd mypassword -d /mydirectory

DVD

Instructions for upgrading from DVD media

This section shows how to use the BMC console viewer to upgrade using a remote virtual DVD. An external USB DVD drive can be used instead of remote virtual media. You may need to connect the USB DVD drive to an external power source or use a USB Y cable to connect to an extra USB port to provide sufficient power to the DVD drive.

Step 1: Download the Recovery DVD image Download the HMC Version 9.1.0 Recovery DVD: HMC_Recovery_V9R1M910_1_ppc.iso
External USB DVD drive: Burn the .iso as an image to DVD-R media or order the HMC Version 9.1.0 Recovery DVD MH01735

Step 2: Save Profile Data
Use one of the following options to perform a Save Profile Data for each managed system to save an additional copy of partition/profile configurations.
For dual HMCs managing the same server this step is only needed on the upgrade of the first HMC. It cannot be run on HMC with a server in "version mismatch - save area version mismatch" state.
Option 1: Use HMC GUI interface
 
a. Expand Resources, then All Systems
b. Select the first managed system by checking the box in front of the server name.
c. Under Actions select View All Actions > Legacy > Manage Partition Data > Backup.
d. In the Profile Data Backup window, type a name for the backup file, and click OK.
e. You will get a popup window that the profile data has been backed up. Click OK.
Repeat a through e for each additional system managed by this HMC. Once you have a partition data backup for each managed system, continue with Step 3.
 
Option 2: Use restricted shell command line

At the command prompt, enter the following command which will save profile data for all servers:
lssyscfg -r sys -F type_model*serial_num | while read machine; do bkprofdata -m "$machine" -f Beforeupgrade$(date +%Y%m%d) ; done

Step 3: Save Upgrade Data

A Save Upgrade Data task must be done to preserve information on the HMC before performing the upgrade. You must upgrade immediately after the Save Upgrade Data task. If you restart the HMC again without doing the upgrade, you must log in and run the Save Upgrade Data task again before performing the upgrade.
a. Prepare media to use for Save Upgrade Data. You will need a USB flash drive.

USB flash drive must be formatted FAT32 with a single partition and it cannot be password protected. Plug the flash drive into a USB port on the front of the HMC. Wait until you hear 3 beeps (or approximately 1 minute) for the HMC to detect the flash drive.

Note: Save Upgrade Data will overwrite any existing save upgrade data on the media. It will not overwrite any Backup Management Console Data already on the media.
 
b. Save Upgrade Data can be performed using either HMC GUI or restricted shell command line.

Use the HMC GUI:
1) Select HMC Management. > Console Management
2) Select Save Upgrade Data.
3) Select media type USB flash drive, click Next, and then click Finish.

Use restricted shell command line:
Run the following command specifying "diskusb" for USB flash drive:
saveupgdata -r diskusb
 
c. Wait for the Save Upgrade Data task to complete. If the task fails, contact your next level of support before proceeding. If the Save Upgrade Data task is successful, the following optional procedure can be performed to verify the data:

1. Open a restricted shell terminal

Local HMC: Select HMC Management > Console Management > Open a Restricted Shell Terminal
Remotely: Log in via ssh.
2. Mount the media:

a. Run the command lsmediadev to determine the mount point of the USB flash drive. In the example below, USB flash drive is /media/sda1
device=/dev/cdrom,mount_point=/media/cdrom,type=1,description=CD/DVD
device=/dev/fd0,mount_point=/media/floppy,type=2,description=internal diskette drive
device=/dev/hda,type=6,description=internal hard disk drive
device=/dev/sda1,mount_point=/media/sda1,type=3,description=USB flash memory device

b. Run the command mount (for example, mount /media/sda1 for USB flash drive)

3. Run the command ls –l using the same mount point as in Step b above. - "Example" ls -l /media/sda1

4. Verify that there are five tar files with the following names:

ACMSaveData.tar
RSCTSaveUpgrade.tar
SaveCCFWUpgradeData.tar
SaveHSCSystemUpgradeData.tar
SaveProfileDataUpgrade.tar

If any of these tar files are missing, contact your next level of support.

5. Issue the command umount using the same mount point as in Step b above.


 
4. Once the Save Upgrade Data task is successful, remove the USB flash drive.

Step 4: Upgrade HMC to 9.1.0 (from Recovery DVD)
 
a.
Load the Recovery DVD
External USB DVD drive
1. Insert the USB drive (external power or Y-cable required)
2. Insert the Recovery DVD into the drive.
OR
(Remote user)
BMC Virtual media
Mount the iso image using BMC remote virtual media.
1. Log in to the BMC web interface (https://). Default login is ADMIN/ADMIN.
2. Select Remote Control.
3. Select Console Redirection.
4. Click Launch Console. Accept any java prompts.
5. In the Java™ iKVM Viewer, select Virtual Media > Virtual Storage.

6. Under Logical Drive Type, select ISO File.
7. Click Open Image and locate the Recovery ISO file on your system.
8. Press Plugin to mount the ISO file..
The rest of the instructions would be the same for Virtual Image, just select it from the Petitboot menu.
 
b. Reboot the HMC.
Click HMC Management > Console Management, then click the Shutdown or Restart menu option Select Restart HMC and click OK.
 
c.

At the Petitboot panel cursor up to halt the automatic boot. 

image-20180807114044-1

d.

Wait for the CD/DVD device to appear in the boot list (this may take up to a minute). 

Note:  If the device does not automatically appear within in one minute, select Rescan devices and hit enter to rescan.

After the CD/DVD option appears, cursor up to select the Install Hardware Management Console option that is located under CD/DVD. Press enter.

e. The HMC reads the media in the drive and displays the Hardware Management Console Install Wizard window. Highlight Next button (use tab/alt-Tab or arrow keys to move), and press Space bar or Enter to select.

Note: If the Save Upgrade Data (Step 3 above) was not performed, you will see a warning window that save upgrade data was not found on the hard drive. Cancel the upgrade, remove the recovery media from the DVD drive, reboot the HMC, complete Step 3 above to Save Upgrade Data, then start the upgrade process again.
 
f. Using tab or arrow keys to move the cursor and the space bar to select an option, select Upgrade to a new version (need asterisk on Upgrade to a new release as shown below):

( * ) Upgrade to a new version
( ) Install

Highlight Next button, and press Enter.

Note: If the Save Upgrade Data (Step 3 above) was not performed, you will see a warning window that save upgrade data was not found on the hard drive. Cancel the upgrade, remove the recovery media from the DVD drive, reboot the HMC, complete Step 3 above to Save Upgrade Data, then start the upgrade process again.
 
g. On Upgrade Confirmation screen, highlight Finish and press Enter to start the Upgrade process.
 
h. The HMC installs 9.1.0 from the media, restores the data preserved by the Save Upgrade Data task, and then completes the booting process.
Note: The initial reboot can take 30-45 minutes. Do not reboot or power off; wait for the boot to complete. IBM is investigating a rare issue where the HMC upgrade may indefinitely hang at "Processing SaveHSCSystemUpgradeData.tar ....." If the HMC stays at "Processing SaveHSCSystemUpgradeData.tar ....." for more than one hour please contact IBM support for further problem determination.
 
i. Select "Log on and launch the Hardware Management Console web application", then log in using your user ID and password.

USB Flash

Instructions for downloading the image and upgrading from USB media

Step 1: Obtain HMC 9.1.0 .iso image

a. Download the HMC Version 9.1.0 Recovery DVD: HMC_Recovery_V9R1M910_1_ppc.iso
b. Extract the .iso as a bootable image on USB-Flash media.
Note: The USB drive must be at least 4 GB. Certain USB drives might be too wide to fit properly into the USB port at the rear of the system. Test the fit of your USB drive before you proceed.
To create the bootable upgrade image on USB run the following linux command, from a LINUX PC:
dd bs=4M if=HMC_Recovery_V9R1M910_1_ppc.iso of=/dev/sdx status=progress && sync
where
sdx is the name of the USB drive on the LINUX PC
"HMC_Recovery_V9R1M910_1_ppc.iso" is the fully qualified path to the iso file.

Step 2: Save Profile Data

Use one of the following options to perform a Save Profile Data for each managed system to save an additional copy of partition/profile configurations.
For dual HMCs managing the same server this step is only needed on the upgrade of the first HMC. It cannot be run on HMC with a server in "version mismatch - save area version mismatch" state.
Option 1: Use HMC GUI interface
a. Expand Resources, then All Systems
b. Select the first managed system by checking the box in front of the server name.
c. Under Actions select View All Actions > Legacy > Manage Partition Data > Backup.
d. In the Profile Data Backup window, type a name for the backup file, and click OK.
e. You will get a popup window that the profile data has been backed up. Click OK.
Repeat a through e for each additional system managed by this HMC. Once you have a partition data backup for each managed system, continue with Step 3.

Option 2: Use restricted shell command line

At the command prompt, enter the following command which will save profile data for all servers:
lssyscfg -r sys -F type_model*serial_num | while read machine; do bkprofdata -m "$machine" -f Beforeupgrade$(date +%Y%m%d) ; done

Step 3: Save Upgrade Data

A Save Upgrade Data task must be done to preserve information on the HMC before performing the upgrade. You must upgrade immediately after the Save Upgrade Data task. If you restart the HMC again without doing the upgrade, you must log in and run the Save Upgrade Data task again before performing the upgrade.
 
a. Prepare media to use for Save Upgrade Data. You will need a USB flash drive.

USB flash drive must be formatted FAT32 with a single partition and it cannot be password protected. Plug the flash drive into a USB port on the front of the HMC. Wait until you hear 3 beeps (or approximately 1 minute) for the HMC to detect the flash drive.

Note: Save Upgrade Data will overwrite any existing save upgrade data on the media. It will not overwrite any Backup Management Console Data already on the media.
 
b. Save Upgrade Data can be performed using either HMC GUI or restricted shell command line.

Use the HMC GUI:
1) Select HMC Management. > Console Management
2) Select Save Upgrade Data.
3) Select media type USB flash drive, click Next, and then click Finish.

Use restricted shell command line:
Use the following command specifying "diskusb" for USB flash drive:
saveupgdata -r diskusb
 
c. Wait for the Save Upgrade Data task to complete. If the task fails, contact your next level of support before proceeding. If the Save Upgrade Data task is successful, the following optional procedure can be performed to verify the data:

1. Open a restricted shell terminal

Local HMC: Select HMC Management > Console Management > Open a Restricted Shell Terminal
Remotely: Log in via ssh.
2. Mount the media:

a. Run the command lsmediadev to determine the mount point of the USB flash drive. In the example below, USB flash drive is /media/sda1
device=/dev/cdrom,mount_point=/media/cdrom,type=1,description=CD/DVD
device=/dev/fd0,mount_point=/media/floppy,type=2,description=internal diskette drive
device=/dev/hda,type=6,description=internal hard disk drive
device=/dev/sda1,mount_point=/media/sda1,type=3,description=USB flash memory device

b. Run the command mount (i.e., mount /media/sda1 for USB flash drive)

3. Run the command ls –l using the same mount point as in step b above - "Example" ls -l /media/sda1

4. Verify that there are five tar files with the following names:

ACMSaveData.tar
RSCTSaveUpgrade.tar
SaveCCFWUpgradeData.tar
SaveHSCSystemUpgradeData.tar
SaveProfileDataUpgrade.tar

If any of these tar files are missing, contact your next level of support.

5. Issue the command umount using the same mount point as in step b above

Note: The Save Upgrade Data will be saved to the hard drive on the HMC as well as the USB flash drive. The Save Upgrade Data on the media is used only to recover from an unexpected error under the direction of support personnel.

 
d. Once the Save Upgrade Data task is successful, remove the USB flash drive.
 

Step 4: Upgrade HMC to 9.1.0 (from Bootable USB)

Do the following at the HMC interface to upgrade the HMC by means of the Bootable USB.
 
a. Insert V9.1.0 formatted USB flash drive.
 
b. Reboot the HMC
Click HMC Management > Console Management, then click the Shutdown or Restart the Management Console option Select Restart HMC and click OK.
 
c. When the Petitboot menu is displayed, select the Install Hardware Management Console option that is located under USB. Press enter.
d. The HMC reads the media in the drive and displays the Hardware Management Console Install Wizard window. Highlight Next button (use tab/alt-Tab or arrow keys to move), and press Space bar or Enter to select.

Note: If the Save Upgrade Data (Step 3 above) was not performed, you will see a warning window that save upgrade data was not found on the hard drive. Cancel the upgrade, remove the recovery media from the DVD drive, reboot the HMC, complete Step 3 above to Save Upgrade Data, then start the upgrade process again.
 
e. Using tab or arrow keys to move the cursor and the space bar to select an option, select Upgrade to a new version (need asterisk on Upgrade to a new release as shown below):

( * ) Upgrade to a new version
( ) Install

Highlight Next button, and press Enter.
 
f. On Upgrade Confirmation screen, highlight Finish, and press Enter to start the Upgrade process.
 
g. The HMC installs V9 from the media, restores the data preserved by the Save Upgrade Data task, and then completes the booting process.

Note: The initial reboot can take 30-45 minutes. Do not reboot or power off; wait for the boot to complete. IBM is investigating a rare issue where the HMC upgrade may indefinitely hang at "Processing SaveHSCSystemUpgradeData.tar ....." If the HMC stays at "Processing SaveHSCSystemUpgradeData.tar ....." for more than one hour please contact IBM support for further problem determination..
 
h. Select "Log on and launch the Hardware Management Console Web application", then log in using your user ID and password.

[
Install the required fixes for V9 HMC

To obtain and apply the corrective service updates for V9, refer to document
http://www.ibm.com/support/docview.wss?uid=nas8N1022537


7063 Firmware updates can be found in fix central at https://www-945.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~powerHWmgmtConsole&product=ibm/power/7063CR1&release=MC825&platform=All&function=all

[{"Product":{"code":"SSB6AA","label":"Power System Hardware Management Console Physical Appliance"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"HMC","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
23 August 2023

UID

nas8N1022504