Parent Category: главный раздел
Category: AIX
Hits: 3054

Сначала устанавливаем критические fix через HMC.

Step 1: 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.

Option 1: Use HMC GUI interface

1.     Expand Systems Management, then select Servers.

2.     Select the first managed system by checking the box in front of the server name.

3.     Under Tasks, expand Configuration, then expand Manage Partition Data.

4.     Select Backup.

5.     In the Profile Data Backup window, type a name for the backup file, and click OK.

6.     You will get a popup window that the profile data has been backed up. Click OK.

7.     Repeat Steps 1 through 6 for each additional system managed by this HMC. Once you have a partition data backup for each managed system, continue with Step 2.

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 again before performing the upgrade.

1.     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.

2.     Use the following command specifying "diskusb" for USB flash drive.
saveupgdata -r diskusb.

3.     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:

a. Mount the media:

1. 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

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

b. Run the command ls –l using the same mount point as in Step b above.

c. 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.

d. 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 media. The Save Upgrade Data on the media is used only to recover from an unexpected error under the direction of support personnel.

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

5.     Сохраняем данные HMC

Step 3: Upgrade the HMC to 8.8.5

1.   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.

getupgfiles -h 170.225.15.112 -u anonymous --passwd anonymous -d /software/server/hmc/network/v8850

while true; do ls -l /hmcdump ; ls -l /hmcboot ; sleep 30; done


2.     Set the HMC to do the next reboot from the special location on the hard drive where the downloaded 8.8.5 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.

3.     Reboot the HMC using one of the following methods:

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

Note: The reboot will take approximately 45 minutes. During the reboot, the local session will display a list of environment variables for hmcmanager (last line is "END ENV" ) for 25 to 45 minutes without a screen change.
Do not reboot. or power off; wait for the boot to complete.

4.     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 V8.8.5 is complete, you should be able to remotely access the HMC again.

5.     Install the required fixes for V8.8.5 using the link provided below.