Mrxfeng
作者Mrxfeng·2011-11-11 17:04
软件开发工程师·北京行发

更新P570微码过程

字数 2745阅读 2050评论 1赞 0

系统环境:

P570 9117-570

AIX5.3 5300-05



从IBM官网下载最新的01SF240_338_201版本的微码,文件下载下来是一个rpm包,01SF240_338_201.rpm,FTP到AIX系统上

找到AIX下微码的目录,进入,在命令行下运行命令:

rpm -Uvh --ignoreos 01SF240_338_201.rpm

微码文件会被解压到/tmp/fwupdate目录下,文件名是01SF240_338_201


到/tmp/fwupdate目录下,运行命令:

/usr/lpp/diagnostics/bin/update_flash -f 01SF240_338_201

系统提示如果要继续更新微码需要重新启动,按下1并回车,机器重新启动并自动进入微码更新进程

在更新过程中液晶面板会有CA2799FD 和CA2799FF 交替显示,更新完毕后系统自动关机,然后启动。

启动后登陆进去,使用命令lsmcode 查看微码版本,你将会看到以下输出:

The current permanent system firmware image is 01SF240_219
The current temporary system firmware image is 01SF240_338
The system is currently booted from the temporary firmware image.

他表示,系统永久微码的版本是01SF240_219,临时微码版本是01SF240_338,系统当前使用临时微码启动

IBM的文档显示,这种情况是正常的,因为刚刚更新过的微码不一定和当前的系统相适应,可能需要换回原来的微码。这种情况就是为了当更新的微码和系统不适用时,可以还有补救措施。


如果更新过微码后,系统使用了一段时间了,可以认为更新的微码适用于当前系统,那么就可以把临时微码刷新到永久微码了,步骤如下

第一种方法:

在命令行下运行:

/usr/lpp/diagnostics/bin/update_flash -c

这个命令将会把临时微码更新为永久微码,这个过程可能需要10分钟,命令成功完成之后,如果提交的微码版本是SF220,那么需要手动关机,并重新启动机器,如果提交的微码版本是SF222或更高,就不需要关机和重启了。使用命令#lsmcode查看当前的微码

The current permanent system firmware image is 01SF240_338
The current temporary system firmware image is 01SF240_338
The system is currently booted from the temporary firmware image.

第二种方法:

运行diag诊断程序,选择选项“ Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)”,并选择“ Microcode Tasks”,之后选择“Update and Manage System Flash”出现如下界面

UPDATE AND MANAGE FLASH

The current permanent system firmware image is SF240_219
The current temporary system firmware image is SF240_338
The system is currently booted from the temporary firmware image.

Move cursor to selection, then press 'Enter'.

  Validate and Update System Firmware
  Validate System Firmware
  Commit the Temporary Image


选择最后一项Commit the Temporary Image,开始更新微码。

注意:此选项不会要求确认,除非你确定要这样做,否则不要选择此项

这个过程将会运行10分钟左右,成功完成之后,如果提交的微码版本是SF220,那么需要手动关机,并重新启动机器,如果提交的微码版本是SF222或更高,就不需要关机和重启了。使用命令#lsmcode查看当前的微码

The current permanent system firmware image is 01SF240_338
The current temporary system firmware image is 01SF240_338
The system is currently booted from the temporary firmware image.



完成

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

0

添加新评论1 条评论

flm20080704flm20080704系统工程师XXXX
2011-11-14 10:28
学习下
Ctrl+Enter 发表

相关问题

X社区推广