Friday, January 31, 2014

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 
  1. Take the disk out of powerpath control (pprootdev fix)
  2. Note Child device name for SAN alt_disk                               powermt display dev=hdiskpower# 
  3. rmdev -l hdiskpower# (Make the power device in define state)
  4. alt_disk_copy -d hdisk# -l /mnt/<lpp_source> -b update_all      (Update the package on clone disk)
     
  5. verify the bootlist changed to the new alt_disk 
  6. get downtime and reboot the server 
  7. verify the pre and post log 

 

No comments:

Post a Comment