本人亲历的升级微码详细过程(一头汗啊)先介绍一下背景信息:客户是西安市内的一家大型连锁商场,有一台Power550小型机,出现报错。
IBM POWER6 550型号:8204-E8A;序列号:XXXXXXX设备情况:2C,3.5GHz Power550,4G内存,146x4硬盘; AIX版本:6100-03-01-0921;微码版本号:EL340_075;用途:POS机数据备份。
分析过程:1、机器前面板显示报错B181F126,当前的FW是340-075。
从错误日志上看是一个未知的系统平台错误。
2、联系IBM工程师被告知可能是微码问题或机器主板问题,建议先升级系统微码,然后观察,如果继续报错就的更换主板了。
3、经过IBM工程师确认,“建议您升级机器的fw到340的最新版即可解决,该错误属于fw误报,不会对机器运行产生任何影响。
”操作过程我先去IBM网站下载合适的微码版本(http://www-/support.fixcentral/)发现有2个版本:Power6 System Firmware EL340_122、Power6 System Firmware EL340_132,都下载下来,计划安装132版本。
经过和客户交流,发现前面板无HMC的连接,在服务器上没有保留与HMC连接的记录信息,OK,升级变简单了。
一、首先查看目前微码的版本AIX Version 6Copyright IBM Corporation, 1982, 2009.login: rootroot's Password:************************************************************** ****************** ** ** Welcome to AIX Version 6.1! ** ** ** Please see the README file in /usr/lpp/bos for information pertinent to * * this release of the AIX Operating System. ** ** *************************************************************** *****************Last unsuccessful login: Sun Mar 13 22:56:39 GMT+08:00 2011 on/dev/pts/1 from 192.168.20.64Last login: Sun Mar 13 23:58:53 GMT+08:00 2011 on /dev/pts/1 from 192.168.20.64# lsmcode -cThe current permanent system firmware image is SF340_075The current temporary system firmware image is SF340_075The system is currently booted from the permanent firmware image.二、将微码的RPM文件上传到/tmp/fwupdate目录中,用FTP工具的BIN模式。
[root@p520:/]# pwd/[root@p520:/]# cd tmp[root@p520:/tmp]# cd fwupdate[root@p520:/tmp/fwupdate]# ls01EL340132_special_instructs.xml 01EL340_132_039.rpm01EL340_132_039.dd.xml 01EL340_132_039.xml01EL340_132_039.html dlmgr.pro01EL340_132_039.pd.sdd三、查看文件的权限# ls -ltotal 50424-rw-r----- 1 root system 711 Mar 13 23:58 01EL340132_eos.xml -rw-r----- 1 root system 706 Mar 13 23:5801EL340132_special_instructs.xml-rw-r----- 1 root system 16629 Mar 13 23:5801EL340_132_039.dd.xml-rw-r----- 1 root system 38223 Mar 13 23:5801EL340_132_039.html-rw-r----- 1 root system 10937 Mar 13 23:5801EL340_132_039.pd.sdd-rw-r----- 1 root system 32787 Mar 13 23:5801EL340_132_039.readme.txt-rw-r----- 1 root system 25661739 Mar 13 23:5801EL340_132_039.rpm-rw-r----- 1 root system 26580 Mar 13 23:5801EL340_132_039.xml-rw-r----- 1 root system 2094 Mar 13 23:58 dlmgr.pro四、把所有文件增加执行权限。
# chmod -R 700 ./*# ls -ltotal 50424-rwx------ 1 root system 711 Mar 13 23:58 01EL340132_eos.xml -rwx------ 1 root system 706 Mar 13 23:5801EL340132_special_instructs.xml-rwx------ 1 root system 16629 Mar 13 23:5801EL340_132_039.dd.xml-rwx------ 1 root system 38223 Mar 13 23:5801EL340_132_039.html-rwx------ 1 root system 10937 Mar 13 23:5801EL340_132_039.pd.sdd-rwx------ 1 root system 32787 Mar 13 23:5801EL340_132_039.readme.txt-rwx------ 1 root system 25661739 Mar 13 23:5801EL340_132_039.rpm-rwx------ 1 root system 26580 Mar 13 23:5801EL340_132_039.xml-rwx------ 1 root system 2094 Mar 13 23:58 dlmgr.pro五、使用rpm命令解压升级文件# rpm -ivh --ignoreos 01EL340_132_039.rpm01EL340_132_039 ############################### ###################六、把所有文件增加执行权限。
# ls -ltotal 140840-rwx------ 1 root system 711 Mar 13 23:58 01EL340132_eos.xml -rwx------ 1 root system 706 Mar 13 23:5801EL340132_special_instructs.xml-rwx------ 1 root system 16629 Mar 13 23:5801EL340_132_039.dd.xml-rwx------ 1 root system 38223 Mar 13 23:5801EL340_132_039.html-rw-r--r-- 1 root system 46289520 Nov 17 08:1401EL340_132_039.img-rwx------ 1 root system 10937 Mar 13 23:5801EL340_132_039.pd.sdd-rwx------ 1 root system 32787 Mar 13 23:5801EL340_132_039.readme.txt-rwx------ 1 root system 25661739 Mar 13 23:5801EL340_132_039.rpm01EL340_132_039.xml-rwx------ 1 root system 2094 Mar 13 23:58 dlmgr.pro# chmod -R 700 ./*# ls -ltotal 140840-rwx------ 1 root system 711 Mar 13 23:58 01EL340132_eos.xml -rwx------ 1 root system 706 Mar 13 23:5801EL340132_special_instructs.xml-rwx------ 1 root system 16629 Mar 13 23:5801EL340_132_039.dd.xml-rwx------ 1 root system 38223 Mar 13 23:5801EL340_132_039.html-rwx------ 1 root system 46289520 Nov 17 08:1401EL340_132_039.img-rwx------ 1 root system 10937 Mar 13 23:5801EL340_132_039.pd.sdd-rwx------ 1 root system 32787 Mar 13 23:5801EL340_132_039.readme.txt-rwx------ 1 root system 25661739 Mar 13 23:5801EL340_132_039.rpm01EL340_132_039.xml-rwx------ 1 root system 2094 Mar 13 23:58 dlmgr.pro七、执行升级命令。
# /usr/lpp/diagnostics/bin/update_flash -f 01EL340_132_039.imgThe image is valid and would update the temporary image to EL340_132. The new firmware level for the permanent image would be EL340_075.The current permanent system firmware image is EL340_075.The current temporary system firmware image is EL340_075.***** WARNING: Continuing will reboot the system! *****Do you wish to continue?Enter 1=Yes or 2=No1SHUTDOWN PROGRAMMon Mar 14 00:04:21 GMT+08:00 2011Stopping The LWI Nonstop Profile...Waiting for The LWI Nonstop Profile to exit...Waiting for The LWI Nonstop Profile to exit...Stopped The LWI Nonstop Profile.Wait for 'Rebooting...' before stopping.Error reporting has stopped.Advanced Accounting has stopped...Process accounting has stopped.nfs_clean: Stopping NFS/NIS Daemons0513-004 The Subsystem or Group, nfsd, is currently inoperative.0513-044 The biod Subsystem was requested to stop.0513-044 The rpc.lockd Subsystem was requested to stop.0513-044 The rpc.statd Subsystem was requested to stop.0513-004 The Subsystem or Group, gssd, is currently inoperative.0513-004 The Subsystem or Group, nfsrgyd, is currently inoperative. 0513-004 The Subsystem or Group, rpc.mountd, is currently inoperative. 0513-004 The Subsystem or Group, ypserv, is currently inoperative. 0513-004 The Subsystem or Group, ypbind, is currently inoperative. 0513-004 The Subsystem or Group, yppasswdd, is currently inoperative. 0513-004 The Subsystem or Group, ypupdated, is currently inoperative.0513-004 The Subsystem or Group, nis_cachemgr, is currently inoperative. 0513-004 The Subsystem or Group, rpc.nisd, is currently inoperative.0513-004 The Subsystem or Group, rpc.nispasswdd, is currently inoperative. 微码升级时液晶屏会有CA2799FD和CA2799FF两组号码交替显示机器在升级微码的最后阶段所有风扇都会像直升机一样狂转注意:整个升级过程大概需要至少15分钟!!!要耐心等待,期间千万不要停机或者断电!!!七、检查微码升级结果telnet (p550)AIX Version 6Copyright IBM Corporation, 1982, 2009.login: rootroot's Password:************************************************************** ****************** ** ** Welcome to AIX Version 6.1! ** ** ** Please see the README file in /usr/lpp/bos for information pertinent to * * this release of the AIX Operating System. ** ** *************************************************************** *****************Last unsuccessful login: Sun Mar 13 22:56:39 GMT+08:00 2011 on/dev/pts/1 from 192.168.20.64Last login: Sun Mar 13 23:58:53 GMT+08:00 2011 on /dev/pts/1 from 192.168.20.64# lsmcode -cThe current permanent system firmware image is EL340_075The current temporary system firmware image is EL340_132The system is currently booted from the temporary firmware image.七、使用diag菜单将临时微码变更为永久微码。