AIX5.3升级(补丁安装升级)app
1、查看补丁信息(以个人IBM小型机ps为例)ssh
(1)oslevel -s命令确认版本信息:ide
# oslevel -s
5300-10-04-1015svg
(2)还能够经过instfix -i |grep AIX_ML查看实际文件集状况:ui
# instfix -i |grep AIX_ML
All filesets for 5.3.0.0_AIX_ML were found.
All filesets for 5300-01_AIX_ML were found.
All filesets for 5300-02_AIX_ML were found.
All filesets for 5300-03_AIX_ML were found.
All filesets for 5300-04_AIX_ML were found.
All filesets for 5300-05_AIX_ML were found.
All filesets for 5300-06_AIX_ML were found.
All filesets for 5300-07_AIX_ML were found.
All filesets for 5300-08_AIX_ML were found.
All filesets for 5300-09_AIX_ML were found.
All filesets for 5300-10_AIX_ML were found.spa
说明:补丁已经打到10而且打全,若是补丁没有打全(以5300-10为例)会显示:Not all filesets for 5300-10_AIX_ML were found. 操作系统
(3)若是补丁没有打全如5300-10还能够查看105300-10缺哪些文件文件:blog
# oslevel -rl 5300-10
ci
2、下载AIX5.3所需最新补丁(以补丁包5300-12为例)rpc
1.补丁下载地址:http://www-933.ibm.com/support/fixcentral/
2.补丁下载好后,将补丁包上传至小型机相应目录。(可经过FTP软件如:FlashFXP上传)
注意:2012年1月31号后下载须要先注册。
3、补丁安装。
一、查看升级前系统状态。
二、肯定系统正常后,制做系统级全备份 mksysb至磁带,
三、升级操做:
(1)中止AIX系统上的全部应用(down)。
(2)对主机上在这次系统补丁安装以前所安装的补丁做COMMIT操做
1) 以root用户登陆主机
对主机在这次系统补丁安装以前的补丁进行commit操做:SOFTWARE name 选择all,PREVIEW only 选择no,COMMIT requistites 选择yes,EXTEND file system if space needed 选择yes,DETAILED output选择yes,回车。如图:
注意:如发现有fail等报错信息,请中止升级。
(3)以Preview方式预安装补丁,检查预安装结果
1) 以root用户登陆主机
2) smit update_all
3) INPUT device/directory for software中输入补丁文件的绝对路径;
4) 选择Preview预安装系统补丁:PREVIEW only 选择yes;COMMIT software updates选择yes,SAVE replaced files选择yes,DETAILED output选择yes,ACCEPT new license agreement选择yes,回车。如图:
注意:检查是否有报错信息。
(4)以Apply方式安装补丁,检查安装结果
1)以root用户登陆主机
2) cd到补丁存放目录
3) smit update_all
4) 安装系统补丁:REVIEW only 选择no;COMMIT software updates选择No,SAVE replaced files选择yes,DETAILED output选择yes,ACCEPT new license agreement选择yes,回车。
如图:
注意:检查是否有报错信息
(5)查看补丁安装状况。
instfix –vi|grep –i ML|more 能够查看到已经安装的补丁
(6)通常状况AIX系统补丁安装不须要重启,但为保证系统的稳定性建议重启。
# shutdown -Fr(如下为重启信息)
SHUTDOWN PROGRAM
Sun Feb 26 15:35:58 BEIST 2012
0513-044 The sshd Subsystem was requested to stop.
Wait for 'Rebooting...' before stopping.
Error reporting has stopped.
Advanced Accounting has stopped...
Process accounting has stopped.
nfs_clean: Stopping NFS/NIS Daemons
0513-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-044 The qdaemon Subsystem was requested to stop.
All processes currently running will now be killed...
Unmounting the file systems...
umount: 0506-349 Cannot unmount /dev/hd10opt: The requested resource is busy.
(7)重启后检查系统运行状态