Alt Disk Patching procedure AIX
Prerequisites
- Verify the root disk from SAN or local disk (lsdev -Cc disk)
- Verify the disk is under the MPIO or powerpath control (lspv)
- Get the new Alt_disk with same size or higher than current boot disk/Lun size
bootinfo -b (Verify the current boot disk)
lspv | grep -i rootvg
inq
- Rootvg is not mirrored (Ex: boot disk is hdisk0 and other root disk is hdisk1)
unmirrorvg
-c 1 rootvg hdisk1
chpv
-c hdisk1
lspv
-l hdisk1 (migrate Lv or move dumplv if needed)
reducevg
rootvg hdisk1
bosboot
-ad /dev/hdisk0
- Verify and commit previous updates
lppchk -v
installp -c all
- Locate the Package source NIM / NFS/NAS or DVD - Apply bos.rte install on Apply mode
installp -aXYd /mnt/<lpp_source>/ppc bos.alt_disk_install
- SAN disk Installation procedure
- Take the disk out of powerpath control (pprootdev fix)
- Note Child device name for SAN alt_disk powermt display dev=hdiskpower#
- rmdev -l hdiskpower# (Make the power device in define state)
- alt_disk_copy -d hdisk#
-l /mnt/<lpp_source> -b update_all (Update the package on clone disk)
- verify the bootlist changed to the new alt_disk
- get downtime and reboot the server
- verify the pre and post log