Update & Fixes
Update 7200-04-00-0000 to 7200-05-06-2320
Download
- Instruction: https://www.ibm.com/support/pages/updating-new-technology-level-or-service-pack
- Download: https://www.ibm.com/support/fixcentral/aix/selectFixes?release=7.2&function=release
檔案下載要項:
- 需要提供機型與機號的資訊
- 需要登入 IBMid,且過程中需要 Email 驗證。
- 下載選項請勾選 ISO 格式 (檔案約 7-8 GB)
Pre-Checks
1.System Backup
備份 VG: rootvg 至其他未使用的 PV,PV 空間需相等或足夠 rootvg 的使用。
# 複製 VG: rootvg 至 hdisk1, 請確認 hdisk1 無重要資料
alt_disk_copy -B -d hdisk1
NOTE: 如果 VG: rootvg 有兩個 PV 做 Mirror,須改用以下指令:
# 複製 rootvg 至 hdisk6
mkszfile
sed 's/COPIES= [2-3]/COPIES= 1/g' /image.data > /image.data.one_copy
nohup alt_disk_copy -B -i /image.data.one_copy -d hdisk6 > clonelog.log &
Optional: 如果目的 PV 曾經做過備份,執行以下指令先做 VG 卸載
exportvg hdisk6
2.Boot Image Verification
檢查目前開機磁碟位置: hd5 是預設開機磁區
root@aixvm:> lslv -m hd5
hd5:N/A
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0001 hdisk0
3.Firmware
It is recommended to check and update the firmware level when a technology level update is being considered. In general, it's best to apply firmware updates before software updates, but that is not always the case.
4.Fileset Consistency
Ideally, it returns to the command line with no output. If you receive output and are unfamiliar with how to resolve it, call the support center for assistance before running your update.
lppchk -v
Install the updates
更新檔: H11072988.iso
mkdir /mnt/iso
loopmount -i H11072988.iso -o "-V cdrfs -o ro" -m /mnt/iso
1.先更新Installp
如果目前版本與要更新的版本,中間跨了許多版本,建議先更新安裝程式 installp,可以避免更新失敗。
# Using smitty
smitty install_latest
# Using CLI
installp -acd /mnt/iso bos.rte.install
# Check the version
lslpp -L | grep bos.rte.install
- INPUT device / directory for software : [/mnt/iso]
- SOFTWARE to update : bos.rte.install
- PREVIEW only? (install operation will NOT occur) : no
2.PREVIEW: yes
smitty update_all
- INPUT device / directory for software : [/mnt/iso]
- SOFTWARE to update : _update_all
- PREVIEW only? (install operation will NOT occur) : yes
- COMMIT software updates? : no
- SAVE replaced files? : yes
- ...
- ACCEPT new license agreements? : yes
3.PREVIEW: no
- PREVIEW only? (install operation will NOT occur) : no
Post checks
Check the Technology Level (TL) and Service Pack (SP)
# Check TL
oslevel -r
# Check SP
oslevel -s
Check Fileset Consistency
# Ideally, it returns to the command line with no output.
lppchk -v
Interim Fix (APAR)
URL to check the APAR number
https://www.ibm.com/support/pages/apar/[apar number]
Interim fix installation
# List all interim fixes on the system
emgr -l
emgr -l IJ50602m7a
# Preview & Install an interim fix package
emgr -p -e IJ50602m7a.240409.epkg.Z
emgr -X -e IJ50602m7a.240409.epkg.Z
No Comments