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)重啓後檢查系統運行狀態