AIX 7.2.4.0 Patch Update to 7.2.5.9

Posted on 2025-08-07 10:30  k98091518  阅读(55)  评论(0)    收藏  举报
  • View PV
    lspv
    hdisk0 00cc4bc0928e8eec rootvg active
    hdisk1 00cc4bc0738a5ffc altinst_rootvg
    image

  • Move old altinst_rootvg
    exportvg altinst_rootvg; lspv
    hdisk0 00cc4bc0928e8eec rootvg active
    hdisk1 00cc4bc0738a5ffc None

  • Clone the rootvg to a new Alternate Disk

  • Clone From Hdisk0 to Hdisk1
    alt_disk_install -C -V hdisk1

[Format]
alt_disk_install -C -V [Destination Disk]

  • Check clone result
    lspv
    image

  • Review hdisk0 & hdisk1 Size
    getconf DISK_SIZE /dev/hdisk0
    getconf DISK_SIZE /dev/hdisk1
    image

  • View boot list
    bootlist -m normal -o
    hdisk0 blv=hd5 pathid=0

  • add hdisk1 boot
    bootlist -m normal hdisk0 blv=hd5 hdisk1

  • View common information
    df -g;
    oslevel -s;
    uptime;
    lsvg rootvg | grep FREE;
    emgr -l;
    image

  • Remove bos.Create a new bos.Reboot from bos_hd5.
    multibos -XR;multibos -Xs
    image
    image

  • View boot list again
    bootlist -m normal -o
    image

  • First reboot
    sync;sync;sync;shutdown –Fr
    image

  • Remove bos then create a bos. and patch update to hd5.
    cd /software/7200_05_09_2446
    multibos -XR; multibos -Xsa -l .
    image
    image

  • Second reboot
    sync;sync;sync;shutdown -Fr
    image

  • Edit sshd_config (only my company server)
    vi /etc/ssh/sshd_config line 25:
    image

  • Restart service
    startsrc -s sshd
    lssrc -s sshd
    image

  • Last reboot
    bootlist -m normal -o
    sync;sync;sync;shutdown -Fr - boot test
    image

  • Check mount point free space
    chfs -a size=+2G /usr
    image
    image

Please delete the BOS after the health check passes.
Complete

Command line Share

  • change boot order boot test hdisk0
    bootlist -om normal
    bootlist -m normal hdisk0
    shutdown -Fr

  • alt_disk_copy clone rootvg, then boot test from hdisk1

  • need long time
    alt_disk_copy -Bd hdisk1

  • boot test, boot to hdisk0
    bootlist -m normal hdisk1
    shutdown -Fr
    bootlist -m normal hdisk0
    shutdown -Fr

  • install update all
    installp -acgXYd . all
    sync; sync; sync; shutdown -Fr

  • check install result
    oslevel -s
    lppchk -vm3
    lppchk -cm3
    lppchk -1m3

  • System Error report check
    errpt

other

bootlist -m normal hdisk0 blv=hd5 hdisk0 blv=bos_hd5 hdisk1 blv=hd5 hdisk1 blv=bos_hd5 hdisk1

  • create new, boot new.
    multibos -Xs

  • Create new, boot Current,
    multibos -Xst

  • change boot list to hd5
    bootlist -m normal hdisk0 blv=hd5

  • change boot list to bos
    bootlist -m normal hdisk0 blv=bos_hd5