================================================================================ Upgrade from PowerPath 3.x to PowerPath 4.4 ================================================================================ *** Tasks to do 'anytime' before CMR *** #scp the compressed tarball to your server mkdir /var/tmp/PP #(or anywhere you have 5 Mb available) cd /var/tmp/PP scp @nimserver:/depot/Software/UNIX/EMC/PowerPath/PowerPath4.4/\ aix/EMCpower.AIX.4.4.0.tar ./emc_pp_44.tar #Uncompress and untar it into /usr/sys/inst.images/PP44 mkdir -p /usr/sys/inst.images/PP44 cd /usr/sys/inst.images/PP44 tar xvf /var/tmp/PP/emc_pp_44.tar #Copy over script for removing all EMC devices scp @nimserver:/usr/local/bin/rm_all_EMC.ksh \ /usr/local/bin/rm_all_EMC.ksh #Copy over scripts for FS and VG actions scp @nimserver:/usr/local/bin/aix-*-chg /var/tmp/PP #Save Powepath license (normally not necessary) /usr/sbin/powermt check_registration > /var/tmp/PP/powerpath-license *** End of tasks to do 'anytime' before CMR *** ================================================================================ *** CMR Tasks *** ================================================================================ #Save lspv output for comparision after upgrade lspv|grep power > /var/tmp/PP/lspv_b4_pp44_chg.txt #DBA stops db instances and/or Dev stops applications #Stop ecc processes kill `ps -ef | grep ecc | grep -v grep | awk '{print $2}'` #If filesystems are 'auto-mount' /usr/local/bin/aix-fs-chg chfs -A no #If volume groups are 'auto-varyon' /usr/local/bin/aix-vg-chg chvg -a n #DO ONLY IF ***NOT*** A CLUSTER #Unmount filesystems # some mounts have submounts, so, if there are errors, i # you will have to run this twice /usr/local/bin/aix-fs-chg umount #Varyoff the affected volume groups /usr/local/bin/aix-vg-chg varyoffvg #DO ONLY IF *** IS A *** CLUSTER # on this node (the one you are upgrading) /opt/VRTSvcs/bin/hastop -local -evacuate #Remove all devices from powermt powermt remove dev=all #Remove device for all EMC devices /usr/local/bin/rm_all_EMC.ksh #Uninstall current PowerPath installp -u EMCpower #Install the new PowerPath filesets installp -qa -d /usr/sys/inst.images/PP44 EMCpower #check package lslpp -l | grep EMCpower #Reboot shutdown -r now #DO ONLY IF *** IS A *** CLUSTER # on ACTIVE cluster node (turn off SCSI reservation bit) varyonvg -bu DG_NAME #Check for EMC devices lsdev -Cc disk #Run cfgmgr and/or emc_cfgmgr and/or powermt config, if needed cfgmgr /usr/lpp/EMC/Symmetrix/bin/emc_cfgmgr #/usr/sbin/powermt restore /usr/sbin/powermt check /usr/sbin/powermt config /usr/sbin/powermt save #Capture lspv output and compare to b4 lspv|grep power >/var/tmp/PP/lspv_post_pp44_chg.txt diff /var/tmp/PP/lspv_b4_pp44_chg.txt /var/tmp/PP/lspv_post_pp44_chg.txt #DO ONLY IF ***NOT*** A CLUSTER #Varyon volume groups /usr/local/bin/aix-vg-chg varyonvg #Mount filesystems /usr/local/bin/aix-fs-chg mount #If filesystems were 'auto-mount' /usr/local/bin/aix-fs-chg chfs -A yes #Volume groups are 'auto-varyon' /usr/local/bin/aix-vg-chg chvg -a y #DO ONLY IF *** IS A *** CLUSTER # on ACTIVE cluster node (turn on SCSI reservation bit) varyonvg DG_NAME # on this node (the one you are upgrading) /opt/VRTSvcs/bin/hastart #DBAs Verify databases and/or Dev verifies apps ================================================================================