升級AIX作業系統
環境:
當前作業系統版本AIX 6104
升級到6107
大體流程:
檢查當前系統包是否都是COMMITED狀態,如果有APPLY狀態,將其變為COMMIT狀態
放入UPDATE盤或包,升級到APPLY狀態執行一段時間
升級後沒問題,再將其變為COMMIT狀態
準備條件:
2張AIX 6107升級光碟
1、升級前檢查系統
# oslevel -r
6100-04
# instfix -i|grep AIX
All filesets for 6100-00_AIX_ML were found.
All filesets for 6100-01_AIX_ML were found.
All filesets for 6100-02_AIX_ML were found.
All filesets for 6100-03_AIX_ML were found.
All filesets for 6100-04_AIX_ML were found.
# lslpp -h|more
Fileset Level Action Status Date Time
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
DLManager.mpio.rte
6.3.0.0 COMMIT COMPLETE 06/07/10 16:43:34
6.3.0.1 COMMIT COMPLETE 06/07/10 16:48:37
Hitachi.aix.support.rte
5.0.0.1 COMMIT COMPLETE 06/07/10 16:41:53
5.0.0.5 COMMIT COMPLETE 06/07/10 16:48:37
5.0.52.1 COMMIT COMPLETE 06/07/10 16:48:37
5.0.52.2 APPLY COMPLETE 06/07/10 16:41:56
5.0.52.3 APPLY COMPLETE 06/07/10 16:41:56
//除了這2個包是APPLY,其他包都是COMMIT狀態
Hitachi.hacmp.support.rte
5.0.0.0 COMMIT COMPLETE 06/07/10 16:41:53
ICU4C.rte
6.1.4.1 COMMIT COMPLETE 04/21/10 18:18:37
2、將APPLY狀態的包變成COMMIT狀態
# smitty commit
再執行# lslpp -h|grep APPLY
均變成COMMIT狀態
3、將升級光碟或ISO檔案傳到機器上
4、升級前先備份OS
5、# smitty update_all
COMMIT選NO,SAVE必須選YES,不然回不了頭
6、升級完成
# oslevel -r
6100-04
# instfix -i|grep ML
All filesets for 6100-00_AIX_ML were found.
All filesets for 6100-01_AIX_ML were found.
All filesets for 6100-02_AIX_ML were found.
All filesets for 6100-03_AIX_ML were found.
All filesets for 6100-04_AIX_ML were found.
Not all filesets for 6100-05_AIX_ML were found.
Not all filesets for 6100-06_AIX_ML were found.
Not all filesets for 6100-07_AIX_ML were found.
# lslpp -h|more
Fileset Level Action Status Date Time
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
DLManager.mpio.rte
6.3.0.0 COMMIT COMPLETE 06/07/10 16:43:34
6.3.0.1 COMMIT COMPLETE 06/07/10 16:48:37
Hitachi.aix.support.rte
5.0.0.1 COMMIT COMPLETE 06/07/10 16:41:53
5.0.0.5 COMMIT COMPLETE 06/07/10 16:48:37
5.0.52.1 COMMIT COMPLETE 06/07/10 16:48:37
5.0.52.2 COMMIT COMPLETE 11/14/12 15:51:40
5.0.52.3 COMMIT COMPLETE 11/14/12 15:51:40
Hitachi.hacmp.support.rte
5.0.0.0 COMMIT COMPLETE 06/07/10 16:41:53
ICU4C.rte
6.1.4.1 COMMIT COMPLETE 04/21/10 18:18:37
6.1.7.0 APPLY COMPLETE 11/14/12 16:20:34
Java5.msg.Zh_CN
5.0.0.175 COMMIT COMPLETE 04/22/10 12:22:07
Java5.msg.zh_CN
5.0.0.175 COMMIT COMPLETE 04/22/10 12:22:06
Java5.sdk
5.0.0.235 COMMIT COMPLETE 04/21/10 18:17:48
5.0.0.430 APPLY COMPLETE 11/14/12 16:07:49
檢查哪些包未升級成功
# oslevel -rl 6100-07
Fileset Actual Level Recommended ML
-----------------------------------------------------------------------------
Java6.sdk 6.0.0.200 6.0.0.280
bos.loc.iso.Zh_CN 6.1.0.0 6.1.7.0
bos.loc.iso.de_DE 6.1.0.0 6.1.7.0
bos.loc.iso.en_US 6.1.0.0 6.1.7.0
bos.loc.iso.zh_CN 6.1.4.0 6.1.7.0
bos.loc.utf.DE_DE 6.1.0.0 6.1.7.0
bos.loc.utf.ZH_CN 6.1.4.0 6.1.7.0
8、使用第2張升級光碟,按照以上方法升級包
升級完後
# oslevel -rl 6100-07
Fileset Actual Level Recommended ML
-----------------------------------------------------------------------------
Java6.sdk 6.0.0.200 6.0.0.280 //推薦版本
# oslevel -r
6100-05
# instfix -i|grep ML
All filesets for 6100-00_AIX_ML were found.
All filesets for 6100-01_AIX_ML were found.
All filesets for 6100-02_AIX_ML were found.
All filesets for 6100-03_AIX_ML were found.
All filesets for 6100-04_AIX_ML were found.
All filesets for 6100-05_AIX_ML were found.
Not all filesets for 6100-06_AIX_ML were found.
Not all filesets for 6100-07_AIX_ML were found.
只有java包未升級成功,該包需要單獨到IBM官網下載升級包
升級完後
# oslevel -r
6100-07
# instfix -i|grep ML
All filesets for 6100-00_AIX_ML were found.
All filesets for 6100-01_AIX_ML were found.
All filesets for 6100-02_AIX_ML were found.
All filesets for 6100-03_AIX_ML were found.
All filesets for 6100-04_AIX_ML were found.
All filesets for 6100-05_AIX_ML were found.
All filesets for 6100-06_AIX_ML were found.
All filesets for 6100-07_AIX_ML were found.
# oslevel -rl 6100-07
為了新系統生效,需要重啟OS
9、確認打完補丁,應用無異常
將APPLY狀態改成COMMIT狀態
10、如果應用異常,需要回退(步驟9不做)
回退安裝AIX的補丁包
回退只能對在安裝補丁包的過程中透過將選項“COMMIT software updates?”設定為“No”,並且“SAVE replaced files?”設定為“Yes”安裝的補丁。否則只能做刪除操作,而不能做回退操作。
1. 在系統中執行命令“smitty install”→“Software Maintenance and Utilities”→“Reject Applied Software Updates (Use Previous Version)”
2. 在“SOFTWARE name”按“ESC”+“4”顯示選擇選單,透過按“ESC”+“7”選擇需要回退的補丁,然後回車,如圖2
3. 再回退前還是先模擬預覽一下,將選項“PREVIEW only? (install operation will NOT occur)”改為“Yes”(用“ESC”+“4”選擇),然後回車
4. 檢視輸出結果。輸出結果為OK,則按“ESC”+“3”返回之前圖2的介面。將選項“PREVIEW only? (install operation will NOT occur)”改為“No”,然後回車
5. 看到螢幕輸出結果Ok,補丁即回退完畢。
6. 回退完畢後,按“ESC”+“0”返回到命令列介面。輸入命令“lslpp –l|grep XXXX”(XXXX為回退的補丁filesets)可以檢視filesets是否回退到之前的版本。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26845409/viewspace-1609921/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX系統升級記錄AI
- 關於aix的系統升級AI
- AIX作業系統安全加固AI作業系統
- Aix作業系統SMIT工具AI作業系統MIT
- Linux作業系統升級openssh實踐Linux作業系統
- centos7 離線升級/線上升級作業系統核心CentOS作業系統
- AIX作業系統版本小知識AI作業系統
- AIX作業系統核心引數配置AI作業系統
- AIX作業系統效能分析報告AI作業系統
- AIX作業系統的shell簡介(轉)AI作業系統
- AIX作業系統shell的引數(轉)AI作業系統
- IBM向市場釋出最新作業系統升級版AIX 6IBM作業系統AI
- aix升級opensshAI
- Linux作業系統不同物件全面升級方法介紹(zt)Linux作業系統物件
- Wii將有一個可升級的Linux作業系統(轉)Linux作業系統
- 作業系統(aix\redhat\suse)修改主機名方法作業系統AIRedhat
- 通過AIX 6.1 作業系統管理員認證AI作業系統
- AIX 作業系統調優 效能指標祥解AI作業系統指標
- 定製AIX作業系統的shell環境(轉)AI作業系統
- 在AIX作業系統下shell的變數(轉)AI作業系統變數
- 作業系統級虛擬化概述作業系統
- MES系統助力企業轉型升級
- 作業系統(AIX)雙因素身份認證解決方案作業系統AI
- IBM的Lpar 作業系統(AIX)啟動問題IBM作業系統AI
- IBM RS/6000 AIX作業系統的安裝(轉)IBMAI作業系統
- 作業系統(1)——作業系統概述作業系統
- 作業系統(一):作業系統概述作業系統
- 作業系統(二):作業系統結構作業系統
- 【作業系統】作業系統綜述(一)作業系統
- AIX系統級命令簡介(轉)AI
- AIX作業系統安裝SSH服務-最詳細版AI作業系統
- 作業系統 作業5作業系統
- 中興新支點作業系統獲得國家安全作業系統四級認證作業系統
- 怎樣完整地離線更新並升級基於 Debian 的作業系統作業系統
- ModStartCMS 系統升級指引
- CentOS系統核心升級CentOS
- 作業系統1—作業系統概論(上)作業系統
- 作業系統2—作業系統概論(下)作業系統