首先是把微码补丁从IBM网站下到个人电脑里 微码下载地址:http://www14.software.ibm.com/webapp/set2/firmware/gjsn 假设该文件为123.bin并储存在C盘根目录下,然后进入小机的cd /tmp目录 在用ls命令查看该目录下的所有文件 # cd /tmp # ls .X11-unix aaa.jlfEa baaNDlfMb dpi_socket reconfig1 .ctinst.log aaaM9lfMa baaajlfEb lost+found reconfig2 .sr_migrate.log aaat2jwaa baau1jwab rc.net.out reconfig3 .strload.mutex auiml.tmp bos rc.net.serial.out xlogfile 再在该目录下创建firmware文件夹,在用ls命令查看是否创建成功。 # mkdir firmware # ls .X11-unix aaa.jlfEa baaNDlfMb dpi_socket rc.net.serial.out xlogfile .ctinst.log aaaM9lfMa baaajlfEb firmware reconfig1 .sr_migrate.log aaat2jwaa baau1jwab lost+found reconfig2 .strload.mutex auiml.tmp bos rc.net.out reconfig3 文件创建成功。 然后在个人电脑的运行中进“ftp”,进入到cd /tmp/firmware目录下, ftp> cd /tmp/firmware 再用lcd命令进入补丁存放的当前目录(我们前面说过补丁存在C盘根目录下) ftp> lcd C: 二进制传输模式执行传输 ftp> bin 200 Type set to I. 然后使用PUT命令把补丁从C盘中复制到小机的cd /tmp/firmware文件夹中 ftp> put 123.bin 然后进入小机的cd /tmp/firmware目录,再LS查看是否复制成功。 # cd /tmp/firmware # ls 123.bin 然后查看文件的权限,ls -l -rw-r-r--- 1 root system 0 Jan 03 18:50 123.bin 没有执行权限就要用chmod命令添加该权限。 # chmod u+x 123.bin 在查看是否成功 # ls -l total 8 -rwxr--r-- 1 root system 0 Jan 03 18:56 123.bin 权限添加成功后,开始本地执行该文件(相当于解压),执行后文件变成img格式。 # ./123.bin 然后使用sum命令查看补丁序号和ibm网站的对照看是否正确 # sum 123.img 对照无误后进入cd /usr/lpp/diagnostics/bin目录。 # cd /usr/lpp/diagnostics/bin 在该目录下执行update_flash命令 # ./update_flash -f /tmp/firmwire/123.bin 执行完该命令后系统会提示是否重起,选择是,机器便自动重起,在重起的过程中自动写入微码。重起过后,再用lsmcode -A命令检查升级是否成功。
如果更新过微码后,系统使用了一段时间了,可以认为更新的微码适用于当前系统,那么就可以把临时微码刷新到永久微码了,步骤如下: 第一种方法: 在命令行下运行: /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 条评论