User Tools

Site Tools


aix:alt_disk

This is an old revision of the document!


AIX OS alternate disk operations

Upgrade an OS disk

AIX running is 7.1, with a second disk on AIX 6.1, disk in AIX 6.1 will be upgrade to latest TL of 6.1

  • import the rootvg using WakeUp option
root@nimmig /root> lspv
hdisk1          00c28e905221d464                    rootvg          active   # AIX 7.1
hdisk4          00f6d51b9a5ef20f                    None                     # AIX 6.1

root@nimmig /root> lsvg
rootvg
nimvg

root@nimmig /root> alt_rootvg_op -W -d hdisk4
Waking up None volume group ...
root@nimmig /root> lspv
hdisk1          00c28e905221d464                    rootvg          active
hdisk4          00f6d51b9a5ef20f                    altinst_rootvg  active
  • Mount the AIX 6.1TL9 pakages into the clone
  • Upgrade AIX 6.1
root@nimmig /export/lpp/aix6100/aix6100-09-00-lpp> mount /export/lpp/aix6100/aix6100-09-00-lpp /alt_inst/mnt

root@nimmig /export/lpp/aix6100/aix6100-09-00-lpp> INUCLIENTS=1 chroot /alt_inst /usr/sbin/install_all_updates -d /mnt -rc -Y
install_all_updates: Initializing system parameters.
install_all_updates: Log file is /var/adm/ras/install_all_updates.log
install_all_updates: Checking for updated install utilities on media.
....
Filesets processed:  529 of 617  (Total time:  17 mins 41 secs).

installp: APPLYING software for:
        perl.rte 5.8.8.488
  • Check for bootable disks
  • Put old volume into sleep
root@nimmig /export/lpp/aix6100/aix6100-09-00-lpp> ipl_varyon -i
[S 12124364 7667902 03/20/19-13:57:48:727 ipl_varyon.c 1313] ipl_varyon -i


PVNAME          BOOT DEVICE     PVID                    VOLUME GROUP ID
hdisk1          YES             00c28e905221d4640000000000000000        00c28e9000004b00
hdisk4          YES             00f6d51b9a5ef20f0000000000000000        00f6d51b00004c00
[E 12124364 0:060 ipl_varyon.c 1454] ipl_varyon: exited with rc=0
root@nimmig /root> alt_rootvg_op -S -t

-t option recreate boot device

Now you disk AIX 6.1 is bootable and ready for mapping on another LPAR to start

aix/alt_disk.1609532687.txt.gz · Last modified: 2021/01/01 21:24 by 127.0.0.1