On the VIOS: Save the output of
pcmpath query adapter |tee pcmpath_query_adapter.
lsmap -all |tee lsmap.
lspv |tee lspv.
unmirrorios hdisk1 -> break the mirror first (coz on VIOS hdisk0 and hdisk1 are mirrored)
reducevg rootvg hdisk1 -> remove the hdisk1 from rootvg
alt_root_vg -target hdisk1 -> Now create the alternate rootvg on hdisk1, so if migration fails, we
will be able to boot from the hdisk1 with old VIOS version 1.5.
bootlist -mode normal hdisk0 -> Now change the boot list / boot sequence
bootlist -mode service hdisk0 -> Change the service mode to hdisk0
Now Check the boot sequence or boot list:
Bootlist –mode normal
On the Client LPARs:
check the Paths, make sure no paths are Failed, Disabled or Missing
lspath | sort -n -t2
If any paths are not enabled then enable them and recheck the path status
lspath -s failed | awk '{print "chpath -l "$2" -s enabled"}' |sh
Check for any eFixes
emgr -l
Reject any eFixes
emgr -e -L
Set the disk priority and Health Check Interval
mount -o soft
162.53.40.26:/export/tools /mnt; /mnt/vioc_disk_path_setting.ksh;
umount /mnt
On the VIOS:
Check for Active SEA adapters:
netstat -v | grep Active
Put all SEA adapters to standby state
chdev -dev
Check the status of the SEA adapters to make sure they are in standby mode
netstat -v | grep Active
On the Client Lpars:
Set the path to the VIOS to defined state:
rmdev -l vscsi# -R -> if we are upgrading vios2 first then look at the SCSI this is serving
the client Lpars, in our case Clients are using VSCSI0 through
VIOS1 and VSCSI1 through the VIOS2, so go to all the lpars and set
the path to define state with the above command or use script to
do so.
<Follow the SDDPCM upgrade document>
After the upgrade of the VIOS, patch the VIOS to the required fix pack and reboot
mount 162.53.103.108:/nim/vios /mnt
updateios -commit
updateios -accept -install -dev /mnt/viosfp21 -> it will install the Fix Pack 21 on the VIOS
After reboot of the VIOS, check the following:
lppchk -vm3
ioslevel
errpt
instfix -i | grep ML
/etc/ssh/sshd_config Comment out “Address Family inet6 and restart ssh”
vi .profile -> get the last lines from the vios1 and edit vios2 with that
pcmpath query adapter
lsmap -all | grep Status
Once everything is confirmed to be working ok, proceed to mirror the rootvg:
Remove the altinst_rootvg
alt_disk_install -X
Extendvg rootvg to hdisk1
extendvg -f rootvg hdisk1
Mirror the rootvg
mirrorios hdisk1
IMP: After mirroring is complete, reboot the VIOS
After VIOS is rebooted:
Put the SEA to auto mode
chdev -dev
On the client LPARs
Run cfgmgr to renable the path to the disks
Run the lspath command and make sure that all the paths are enabled
No comments:
Post a Comment