28
IBM p5 Microcode Upgrade and Update via HMC By Hank Cen Copy Right 2008 by Hank Cen. All rights reserved.

Firmware Update Thru Hmc

Embed Size (px)

Citation preview

Page 1: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Updatevia HMC

By Hank Cen

Copy Right 2008 by Hank Cen. All rights reserved.

Page 2: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC2

Document Revision History

Version.Release Date/Time Author/Editor Comments1.1 March 19th, 2008 Hank Cen Initial Version of Document1.2 April 10th, 2008 Hank Cen Corrected minor errors and typos1.3 July 28th, 2008 Hank Cen Revision with legal disclaimer

ã 2008 by Hank Cen [email protected]

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 3: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 3

Table of Contents

1 UPGRADE P5 SYSTEM FIRMWARE WITH HMC .................................................................................5

2 UPDATE P5 SYSTEM FIRMWARE WITH HMC...................................................................................17

Copy Right 2008 by Hank Cen. All rights reserved.

Page 4: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC4

Conventions Used in this Document

Convention Description

text Italicized text is used to emphasize a word or present new concepts.

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

$ DSN ITS...

A vertical ellipsis in an example indicates that not all lines are shown.

$ COPY$ RENAME

Text examples are enclosed in a box and appear in Courier New font, i.e., examples that do not portray a graphical user interface.

Tools | Options | View 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.”

Copy Right 2008 by Hank Cen. All rights reserved.

Page 5: Firmware Update Thru Hmc

1 Upgrade p5 System Firmware with HMC

Copy Right 2008 by Hank Cen. All rights reserved.

Page 6: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC6

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 filesfrom. 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 HMC’s 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 -ltotal 143928-rwxrwxrwx 1 abelo system 15129137 Jan 03 13:46 01SF240_320_201.rpm-rwxrwxrwx 1 abelo system 68757 Jan 03 13:46 01SF240_320_201.xml-rwxrwxrwx 1 abelo system 58490880 Jan 03 16:12 SF240_320_BP240_214.iso$

Copy Right 2008 by Hank Cen. All rights reserved.

Page 7: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 7

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 -MuIBM,9110-510 IBM,10648455E$ lsmcode -Arsys0!system:SF225_096 (t) SF225_096 (p) SF225_096 (t)ent0!14108902.DV0210ent1!14108902.DV0210sisscsia0!44415255.050A008acd0!IBM-RMBO002050.H106hdisk0!ST37330.53313233.4335304Bhdisk1!ST37330.53313233.4335304Bses0!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,10648455Ep5server52 - IBM,9110-510 IBM,106485FBEp5server53 - IBM,9110-510 IBM,106485F4Ep5server54 - IBM,9110-510 IBM,106485F8Ep5server55 - IBM,9110-510 IBM,10648451Ep5server56 - IBM,9110-510 IBM,1064853AEp5server57 - IBM,9110-510 IBM,10648453Ep5server58 - IBM,9110-510 IBM,10648444Ep5server59 - IBM,9110-510 IBM,106485F0E

3. In the HMC console to whom the server p5server50 connects, under the HMC’s 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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 8: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC8

4. In the Target Object Selection box, select the type and S/N(s) that match your machine’s 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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 9: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 9

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 10: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC10

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 11: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 11

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

Copy Right 2008 by Hank Cen. All rights reserved.

Page 12: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC12

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 13: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 13

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 14: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC14

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

Copy Right 2008 by Hank Cen. All rights reserved.

Page 15: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 15

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 -Arsys0!system:SF240_320 (t) SF240_320 (p) SF240_320 (t)ent0!14108902.DV0210ent1!14108902.DV0210sisscsia0!44415255.050A008acd0!IBM-RMBO002050.H106hdisk0!ST37330.53313233.4335304Bhdisk1!ST37330.53313233.4335304Bses0!00000000.7167$

15. Check on error report$ errpt | moreIDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTIONA6DF45AA 0318145508 I O RMCdaemon The daemon is started.2BFA76F6 0318140708 T S SYSPROC SYSTEM SHUTDOWN BY USER9DBCFDEE 0318144208 T O errdemon ERROR LOGGING TURNED ON192AC071 0318140608 T O errdemon ERROR LOGGING TURNED OFFBE0A03E5 0318140108 P H sysplanar0 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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 16: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC16

Copy Right 2008 by Hank Cen. All rights reserved.

Page 17: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 17

2 Update p5 System Firmware with HMC

Copy Right 2008 by Hank Cen. All rights reserved.

Page 18: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC18

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 HMC’s 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 -ltotal 143928-rwxrwxrwx 1 abelo system 15129137 Jan 03 13:46 01SF240_320_201.rpm-rwxrwxrwx 1 abelo system 68757 Jan 03 13:46 01SF240_320_201.xml-rwxrwxrwx 1 abelo system 58490880 Jan 03 16:12 SF240_320_BP240_214.iso$

Copy Right 2008 by Hank Cen. All rights reserved.

Page 19: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 19

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 -MuIBM,9133-55A IBM,20683874H$ lsmcode -Arsys0!system:SF240_298 (t) SF240_298 (p) SF240_298 (t)fcs0!df1000fa.191105sisscsia0!44415255.050A008afcs1!df1000fa.191105cd0!IBM-RMBO002055.1.72hdisk0!ST37330.4A523030.43373046hdisk1!ST37330.4A523030.43373046ent0!14108902.DV0210ent1!14108902.DV0210$

3. In HMC console, under the HMC’s name, expand Licensed Internal Code maintenance, then select Licensed Internal Code Updates in the Navigation Area, then select Change Licensed Internal Code forthe current release.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 20: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC20

4. In Target Object Selection box, select the type and S/N(s) that match your machine’s 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 FTPsite. Click on OK.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 21: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 21

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 22: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC22

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 23: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 23

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 24: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC24

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 25: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 25

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

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

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

Copy Right 2008 by Hank Cen. All rights reserved.

Page 26: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC26

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 27: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC 27

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.

Copy Right 2008 by Hank Cen. All rights reserved.

Page 28: Firmware Update Thru Hmc

IBM p5 Microcode Upgrade and Update via HMC28

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 -MuIBM,9133-55A IBM,20683874H$ lsmcode -Arsys0!system:SF240_320 (t) SF240_320 (p) SF240_320 (t)fcs0!df1000fa.191105sisscsia0!44415255.050A008afcs1!df1000fa.191105cd0!IBM-RMBO002055.1.72hdisk0!ST37330.4A523030.43373046hdisk1!ST37330.4A523030.43373046ent0!14108902.DV0210ent1!14108902.DV0210$

25. Check on error report$ errpt | moreIDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTIONA6DF45AA 0318145508 I O RMCdaemon The daemon is started.2BFA76F6 0318140708 T S SYSPROC SYSTEM SHUTDOWN BY USER9DBCFDEE 0318144208 T O errdemon ERROR LOGGING TURNED ON192AC071 0318140608 T O errdemon ERROR LOGGING TURNED OFFBE0A03E5 0318140108 P H sysplanar0 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.

Copy Right 2008 by Hank Cen. All rights reserved.