Service Pack Update
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
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
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
更新檔目錄: /worktmp/fixes/7200-05
PREVIEW: yes
smitty update_all
- INPUT device / directory for software : [/worktmp/fixes/7200-05]
- 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
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