Sie sind auf Seite 1von 28

Copy Right 2008 by Hank Cen. All rights reserved.

IBM p5 Microcode Upgrade and Update via HMC

By Hank Cen

Copy Right 2008 by Hank Cen. All rights reserved.

Document Revision History


Version.Release 1.1 1.2 1.3 Date/Time March 19th, 2008 April 10th, 2008 July 28th, 2008 Author/Editor Hank Cen Hank Cen Hank Cen Comments Initial Version of Document Corrected minor errors and typos Revision with legal disclaimer

2008 by Hank Cen hankcen@hotmail.com All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical including photography, recording or any information storage or retrieval system without permission in writing from the publisher. Disclaimer: All the information presented in this document is provided on the basis of as is and is meant for reference purpose only without any expressed or implied warranty. Use of the information and its application in any form is sole discretion and responsibility of the user. The AUTHOR of this document is not responsible for any damage or loss arising out of use of information presented in this document.

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

Table of Contents
1 2 UPGRADE P5 SYSTEM FIRMWARE WITH HMC .................................................................................5 UPDATE P5 SYSTEM FIRMWARE WITH HMC................................................................................... 17

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

Conventions Used in this Document


Convention text bold [] ... $ DSN ITS . . . $ COPY $ RENAME Tools | Options | View Description Italicized text is used to emphasize a word or present new concepts. Bolded text indicates user input in examples. Brackets indicate that the enclosed item is optional. A horizontal ellipsis indicates that you can repeat the preceding items one or more times. A vertical ellipsis in an example indicates that not all lines are shown.

Text examples are enclosed in a box and appear in Courier New font, i.e., examples that do not portray a graphical user interface. This is a compressed notation commonly used in Windows examples. For example, Choose the Tools pull-down menu, select the Options menu item and then click on View.

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

1 Upgrade p5 System Firmware with HMC

Copy Right 2008 by Hank Cen. All rights reserved.

This document describes step by step on how to upgrade system firmware (microcode) on IBM p5 servers with HMC from either an FTP repository or a CD/DVD. In our example, the server to receive the firmware upgrade is called p5server50, a p5 hardware, type 9110-510, S/N 10-4455E. This method of upgrading firmware can also be applied to multiple servers who have connections to the same HMC. We will point out the case of multiple server upgrades in the following steps accordingly.

Pre-requisites: To ensure the system firmware is applicable to the hardware type. In our example, all the machine hardware type 9110-510, 9131-52A and 9133-55A are supported by system firmware 01SF240_320_201. To ensure the HMC level meets the minimum requirement for the system firmware upgrade. In our example, the HMC level is 6.12 that meets the recommended HMC level. The p5 servers to receive the firmware upgrade are connected to the HMC. In our example, the server p5server50 and others are connected to an HMC which is called p5-hmc. In case of obtaining new firmware files from FTP repository, the System Firmware files have to be downloaded and placed in a directory on a networked server where the HMC is able to FTP in to and get the firmware files from. In our example, the files for firmware 01SF240_320_201 are 01SF240_320_201.rpm and 01SF240_320_201.xml. They are stored in directory /opt/ccfw/data on a networked server called nimserver . In case of obtaining new firmware files from a CD/DVD, the CD/DVD contains the new firmware files has to be placed in the HMCs DVD drive. In our example, a DVD is cut with image sysimage.iso which contains System Firmware 01SF240_320_201. A valid uid to access directory /opt/ccfw/data on nimserver through FTP.

Firmware update procedure: 1. If you choose to obtain new firmware from an FTP site, make sure the firmware files are in place. In our example, login to server nimserver who contains new firmware files FTP access to confirm the two files are in place; they are 01SF240_320_201.rpm and 01SF240_320_201.xml.
$ cd /opt/ccfw/data $ pwd /opt/ccfw/data $ ls -l total 143928 -rwxrwxrwx 1 abelo -rwxrwxrwx 1 abelo -rwxrwxrwx 1 abelo $

system system system

15129137 Jan 03 13:46 01SF240_320_201.rpm 68757 Jan 03 13:46 01SF240_320_201.xml 58490880 Jan 03 16:12 SF240_320_BP240_214.iso

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

2.

To ensure the current firmware image level. Login to server p5server50 to find out the current firmware image level, machine type and S/N. And to confirm it is the right machine to upgrade.
$ uname -Mu IBM,9110-510 IBM,10648455E $ lsmcode -Ar sys0!system:SF225_096 (t) SF225_096 (p) SF225_096 (t) ent0!14108902.DV0210 ent1!14108902.DV0210 sisscsia0!44415255.050A008a cd0!IBM-RMBO002050.H106 hdisk0!ST37330.53313233.4335304B hdisk1!ST37330.53313233.4335304B ses0!00000000.7167 $

In case of multiple servers upgrades, login to each of the servers ahead of time to collect information such as machine type and S/N. Write them down on a paper.
p5server50 - IBM,9110-510 IBM,10648455E p5server52 - IBM,9110-510 IBM,106485FBE p5server53 - IBM,9110-510 IBM,106485F4E p5server54 - IBM,9110-510 IBM,106485F8E p5server55 - IBM,9110-510 IBM,10648451E p5server56 - IBM,9110-510 IBM,1064853AE p5server57 - IBM,9110-510 IBM,10648453E p5server58 - IBM,9110-510 IBM,10648444E p5server59 - IBM,9110-510 IBM,106485F0E

3.

In the HMC console to whom the server p5server50 connects, under the HMCs name, expand Licensed Internal Code maintenance, then select Licensed Internal Code Updates in the Navigation Area, then select Upgrade Licensed Internal Code to a new release.

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

4.

In the Target Object Selection box, select the type and S/N(s) that match your machines information collected above. Click on OK.

In the case of upgrading firmware on multiple servers, hold down CTRL key and click on the machines to select multiple servers.

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

5.

In Specify LIC Repository box, if you choose to obtain the firmware RPM files from an FTP site, select FTP site. Click on OK.

If you choose to obtain the new firmware from a CD/DVD, select DVD drive. Click on OK and skip over the next step.

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

6.

If you have chosen the FTP site, in FTP Site Access Information box, fill in FTP site name, User ID and Password for access to the FTP site. Click on OK.

7.

In Select LIC Level box, high-light the firmware level (in this example is 01SF240_320) and click on OK.

8.

In Select power off option box, select Power off automatically (shortest overall update time) and click on OK.

10

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

9.

Click on Accept to accept the Hardware management Console License Agreement.

IBM p5 Microcode Upgrade and Update via HMC

11

Copy Right 2008 by Hank Cen. All rights reserved.

10. Click on OK to confirm the action of upgrade of Licensed Internal Code.

In the case of upgrading firmware on multiple servers, you will see the following confirmation screen.

12

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

11. Click on OK to start install the new firmware.

12. The firmware upgrade is in progress It can take up to an hour to complete. Click on OK when the upgrade is complete and the OK button appears.

IBM p5 Microcode Upgrade and Update via HMC

13

Copy Right 2008 by Hank Cen. All rights reserved.

In the case of upgrading firmware on multiple servers, you will see the following progress screen.

14

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

13. Back in to HMC, select Server and Partition, then click on Server Management to ensure all the LPARs are in Running state. If not, then right-click on the LPAR, select Activate in the pop-up menu.

14. Log back in to the server p5server50 and other servers, run command lsmcode Ar to confirm the upgraded level.
$ lsmcode -Ar sys0!system:SF240_320 (t) SF240_320 (p) SF240_320 (t) ent0!14108902.DV0210 ent1!14108902.DV0210 sisscsia0!44415255.050A008a cd0!IBM-RMBO002050.H106 hdisk0!ST37330.53313233.4335304B hdisk1!ST37330.53313233.4335304B ses0!00000000.7167 $

15. Check on error report


$ errpt | more IDENTIFIER TIMESTAMP A6DF45AA 0318145508 2BFA76F6 0318140708 9DBCFDEE 0318144208 192AC071 0318140608 BE0A03E5 0318140108 . . . T I T T T P C O S O O H RESOURCE_NAME RMCdaemon SYSPROC errdemon errdemon sysplanar0 DESCRIPTION The daemon is started. SYSTEM SHUTDOWN BY USER ERROR LOGGING TURNED ON ERROR LOGGING TURNED OFF ENVIRONMENTAL PROBLEM

16. If you logged in the servers through HMC, then you need to check network connectivity for those servers by at least PING-ing them. 17. At this point the firmware upgrade has complete.

IBM p5 Microcode Upgrade and Update via HMC

15

Copy Right 2008 by Hank Cen. All rights reserved.

16

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

2 Update p5 System Firmware with HMC

IBM p5 Microcode Upgrade and Update via HMC

17

Copy Right 2008 by Hank Cen. All rights reserved.

This document describes step by step on how to update system firmware (microcode) on IBM p5 servers with HMC from either an FTP repository or a CD/DVD. In this example, the server to receive firmware upgrade is called plutonium, a p5 hardware, type 9133-55A, S/N 06-2774H.

Pre-requisites: To ensure the system firmware is applicable to the hardware type. In our example, all the machine hardware type 9110-510, 9131-52A and 9133-55A are supported by system firmware 01SF240_320_201. To ensure the HMC level meets the minimum requirement for the system firmware upgrade. In our example, the HMC level is 6.12 which meets the recommended HMC level. The p5 servers to receive the firmware upgrade are connected to the HMC. In our example, the server plutonium is connected to an HMC called hmc03. In case of obtaining new firmware files from FTP repository, the System Firmware files have to be downloaded and placed in a directory on a networked server to where the HMC is able to FTP in and get the firmware files. In our example, the files for firmware 01SF240_320_201 are 01SF240_320_201.rpm and 01SF240_320_201.xml. They are located in directory /opt/ccfw/data on a networked server called nimserver. In case of obtaining new firmware files from a CD/DVD, the CD/DVD contains the new firmware files has to be placed in the HMCs DVD drive. In our example, a DVD is cut with image sysimage.iso which contains System Firmware 01SF240_320_201. A valid uid to access directory /opt/ccfw/data on nimserver through FTP.

Firmware update procedure: 1. If you choose to obtain new firmware from FTP site, make sure the firmware files are in place. In our example, login to server nimserver who contains new firmware files FTP access to confirm the two files are in place; they are 01SF240_320_201.rpm and 01SF240_320_201.xml.

$ cd /opt/ccfw/data $ pwd /opt/ccfw/data $ ls -l total 143928 -rwxrwxrwx 1 abelo -rwxrwxrwx 1 abelo -rwxrwxrwx 1 abelo $

system system system

15129137 Jan 03 13:46 01SF240_320_201.rpm 68757 Jan 03 13:46 01SF240_320_201.xml 58490880 Jan 03 16:12 SF240_320_BP240_214.iso

18

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

2.

Ensure the current firmware image level. Login to server plutonium to find out the current firmware image level, machine type and S/N. And to confirm it is the right machine to upgrade.
$ uname -Mu IBM,9133-55A IBM,20683874H $ lsmcode -Ar sys0!system:SF240_298 (t) SF240_298 (p) SF240_298 (t) fcs0!df1000fa.191105 sisscsia0!44415255.050A008a fcs1!df1000fa.191105 cd0!IBM-RMBO002055.1.72 hdisk0!ST37330.4A523030.43373046 hdisk1!ST37330.4A523030.43373046 ent0!14108902.DV0210 ent1!14108902.DV0210 $

3.

In HMC console, under the HMCs name, expand Licensed Internal Code maintenance, then select Licensed Internal Code Updates in the Navigation Area, then select Change Licensed Internal Code for the current release.

IBM p5 Microcode Upgrade and Update via HMC

19

Copy Right 2008 by Hank Cen. All rights reserved.

4.

In Target Object Selection box, select the type and S/N(s) that match your machines information collected above. Click on OK.

5.

In Change Licensed Internal Code box, select Start Change Licensed Internal Code wizard. Click on OK.

6.

In Specify LIC Repository box, if you choose to obtain the firmware RPM files from a FTP site, select FTP site. Click on OK.

20

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

If you choose to obtain the new firmware from a CD/DVD, select DVD drive. Click on OK and skip over the next step.

7.

In FTP Site Access Information box, fill in FTP site, User ID, and Password. Click on OK.

8.

In Change Licensed Internal Code Wizard box, click on Next.

9.

In Change Licensed Internal Code Wizard box, click on Advanced Options button.

IBM p5 Microcode Upgrade and Update via HMC

21

Copy Right 2008 by Hank Cen. All rights reserved.

10. In Managed System and Power Licensed Internal Code (LIC) Concurrency box, select the machine to update, in this example is 9133-55A*683874H. Click on View Information button

11. In Managed System and Power Licensed Internal Code (LIC) Level Details box, confirm the current release level and the level to update to. Click on Close. If you update multiple machines, do this to each of them.

22

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

12. Returned back in Managed System and Power Licensed Internal Code (LIC) Concurrency box, Click on OK.

13. Returned back in Change Licensed Internal Code Wizard box, click on Next.

IBM p5 Microcode Upgrade and Update via HMC

23

Copy Right 2008 by Hank Cen. All rights reserved.

14. Click on Accept to accept the Hardware management Console License Agreement.

15. Click on Finish to confirm the action of update of License Internal Code.

24

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

16. The update is in progress It can take up to an hour to complete. When the update is complete and the OK button appears, click on OK.

17. Log back in to server plutonium and run command lsmcode Ar to confirm the upgraded version.
$ uname -Mu IBM,9133-55A IBM,20683874H $ lsmcode -Ar sys0!system:SF240_320 (t) SF240_298 (p) SF240_320 (t) fcs0!df1000fa.191105 sisscsia0!44415255.050A008a fcs1!df1000fa.191105 cd0!IBM-RMBO002055.1.72 hdisk0!ST37330.4A523030.43373046 hdisk1!ST37330.4A523030.43373046 ent0!14108902.DV0210 ent1!14108902.DV0210 $

As you can see, the system started from temporary firmware image.

IBM p5 Microcode Upgrade and Update via HMC

25

Copy Right 2008 by Hank Cen. All rights reserved.

18. Returned back to the Change Licensed Internal Code box. If you want to accept the update as Permanent, select Select advanced features. Click on OK to accept the temporary firmware image as permanent.. Otherwise, the update is complete; in Change Licensed Internal Code box, click Cancel to exit to step 23.

19. In Advanced Features box, select Accept Copy Temporary to Permanent. Click on OK.

20. In Confirm the Action box, click on OK.

26

IBM p5 Microcode Upgrade and Update via HMC

Copy Right 2008 by Hank Cen. All rights reserved.

21. In Change Licensed Internal Code Progress box, you will see the progress of Accepting updates Once the OK button appears, click on OK.

22. Returned back to Advanced Features box, click on Cancel to exit.

IBM p5 Microcode Upgrade and Update via HMC

27

Copy Right 2008 by Hank Cen. All rights reserved.

23. Returned back to Change Licensed Internal Code box, click Cancel to exit.

24. Login to server plutonium, run following commands to confirm the firmware image has been accepted as permanent.
$ uname -Mu IBM,9133-55A IBM,20683874H $ lsmcode -Ar sys0!system:SF240_320 (t) SF240_320 (p) SF240_320 (t) fcs0!df1000fa.191105 sisscsia0!44415255.050A008a fcs1!df1000fa.191105 cd0!IBM-RMBO002055.1.72 hdisk0!ST37330.4A523030.43373046 hdisk1!ST37330.4A523030.43373046 ent0!14108902.DV0210 ent1!14108902.DV0210 $

25. Check on error report


$ errpt | more IDENTIFIER TIMESTAMP A6DF45AA 0318145508 2BFA76F6 0318140708 9DBCFDEE 0318144208 192AC071 0318140608 BE0A03E5 0318140108 . . . T I T T T P C O S O O H RESOURCE_NAME RMCdaemon SYSPROC errdemon errdemon sysplanar0 DESCRIPTION The daemon is started. SYSTEM SHUTDOWN BY USER ERROR LOGGING TURNED ON ERROR LOGGING TURNED OFF ENVIRONMENTAL PROBLEM

26. If you logged in the servers through HMC, then you need to check network connectivity for those servers by at least PING-ing them. 27. At this point the firmware update has complete.

28

IBM p5 Microcode Upgrade and Update via HMC