Please upgrade all the nodes to AIX5.3 TL05 CSP before migration to SDDPCM unless if it is specified not to do so.
a. Ensure the node has a valid, current mksysb.
b. Ensure that you have collected all the information about the system
If either item is not current or valid, run a mksysb or snap from cron prior to change night.
c. For each SAN volume group you are doing, record the output of below commands.
ls -al /dev/SANVG > Major No of SANVG
lsvg -p SANVG > vpaths in SANVG
d. For each SAN volume group, record the vpath number of one vpath in your SAN VG, as well as its PVID. Also record each SAN VG's name.
e. Record the no of vpaths on server & their pvid.
datapath query device
lspv | grep vpath
f. capture a full lspv snap
lspv > /u/$homedir/lspv.snap
e. If this is a Domino notes node, check to see if there is a local /notes directory with links.
Here is an example from yyyy:
yyyy # ls -al /notes
total 8
drwxrwxr-x 2 notes notes 256 Jan 20 12:06 .
drwxr-xr-x 37 root system 4096 Jan 20 12:06 ..
lrwxrwxrwx 1 notesa notes 13 Jan 20 12:06 xxxxx -> /xxxxx
If this directory exists with similar links, record the output. The /notes directory and
links will need to be recreated after the migration.
f. For any SAN VGs with raw LVs, record their device permissions.
ls -al /dev/rlvname
1. After the apps have been completely stopped, unmount every SAN filesystem.
2. Varyoff all SANVG
varyoffvg SANVG
exportvg SANVG
e.g way of umounting all fs in SANVG
for i in $(lsvg -l SANVG | awk '
Unknown macro: {print $7}
')
> do
> umount $i
> done
3. Stop server daemon
stopsrc -s sddsrv
4. Remove the SDD vpath devices
rmdev -dl dpo -R
5. Remove fibre adapters
rmdev -dl fcsX -R
6. Remove hdisk devices.
lsdev -C -t 2105* -F name | xargs -n1 rmdev -dl for 2105 devices
lsdev -C -t 2145* -F name | xargs -n1 rmdev -dl for 2145 devices
lsdev -C -t 2107* -F name | xargs -n1 rmdev -dl for 2107 devices
lsdev -C -t 1750* -F name | xargs -n1 rmdev -dl for 1750 devices
7. Remove SDD & related filesets.
Filesets to remove
SDDFSET=devices.sdd.$
Unknown macro: {OS}
.rte
AIX 5.2 > devices.sdd.52.rte
AIX 5.3 > devices.sdd.53.rte
IBM2105=ibm2105.rte
FCPFSET=devices.fcp.disk.ibm.rte
### At this point we should be clean w/o SDD and disks ...
8. Install filesets for MPIO & SDDPCM
Filesets to install
PCMFSET=devices.sddpcm.53.rte
MPIOFSET=devices.fcp.disk.ibm.mpio.rte
9. Verify install was successful.
10. Now reboot the server.
shutdown -Fr
11. Count the MPIO disks. Check if we have same number of MPIO disks as the number of vpaths
lsdev -Cc disk |grep -i mpio|wc -l
12. Now import the SANVGs
importvg -y SANVG hdiskX > hdiskX is the disk with same pvid as one of the vpath present in SANVG before migration
13. Mount all the filesystems which were unmounted in step 1 or do LPAR reboot if applicable.
14. Run below command to veify that each mpio disk has 4 paths.
pcmpath query device
15. If this is a DB2 with raw logical volumes, after the DB2 start script has run,
list the raw LV device permissions. Compare the perms to what you recorded prior to the change.
If they have reverted back to root:system, change them according to how they were
before.
16. On Domino Notes nodes that had local /notes directories with link, recreate the links
as recorded previously
a. Ensure the node has a valid, current mksysb.
b. Ensure that you have collected all the information about the system
If either item is not current or valid, run a mksysb or snap from cron prior to change night.
c. For each SAN volume group you are doing, record the output of below commands.
ls -al /dev/SANVG > Major No of SANVG
lsvg -p SANVG > vpaths in SANVG
d. For each SAN volume group, record the vpath number of one vpath in your SAN VG, as well as its PVID. Also record each SAN VG's name.
e. Record the no of vpaths on server & their pvid.
datapath query device
lspv | grep vpath
f. capture a full lspv snap
lspv > /u/$homedir/lspv.snap
e. If this is a Domino notes node, check to see if there is a local /notes directory with links.
Here is an example from yyyy:
yyyy # ls -al /notes
total 8
drwxrwxr-x 2 notes notes 256 Jan 20 12:06 .
drwxr-xr-x 37 root system 4096 Jan 20 12:06 ..
lrwxrwxrwx 1 notesa notes 13 Jan 20 12:06 xxxxx -> /xxxxx
If this directory exists with similar links, record the output. The /notes directory and
links will need to be recreated after the migration.
f. For any SAN VGs with raw LVs, record their device permissions.
ls -al /dev/rlvname
1. After the apps have been completely stopped, unmount every SAN filesystem.
2. Varyoff all SANVG
varyoffvg SANVG
exportvg SANVG
e.g way of umounting all fs in SANVG
for i in $(lsvg -l SANVG | awk '
Unknown macro: {print $7}
')
> do
> umount $i
> done
3. Stop server daemon
stopsrc -s sddsrv
4. Remove the SDD vpath devices
rmdev -dl dpo -R
5. Remove fibre adapters
rmdev -dl fcsX -R
6. Remove hdisk devices.
lsdev -C -t 2105* -F name | xargs -n1 rmdev -dl for 2105 devices
lsdev -C -t 2145* -F name | xargs -n1 rmdev -dl for 2145 devices
lsdev -C -t 2107* -F name | xargs -n1 rmdev -dl for 2107 devices
lsdev -C -t 1750* -F name | xargs -n1 rmdev -dl for 1750 devices
7. Remove SDD & related filesets.
Filesets to remove
SDDFSET=devices.sdd.$
Unknown macro: {OS}
.rte
AIX 5.2 > devices.sdd.52.rte
AIX 5.3 > devices.sdd.53.rte
IBM2105=ibm2105.rte
FCPFSET=devices.fcp.disk.ibm.rte
### At this point we should be clean w/o SDD and disks ...
8. Install filesets for MPIO & SDDPCM
Filesets to install
PCMFSET=devices.sddpcm.53.rte
MPIOFSET=devices.fcp.disk.ibm.mpio.rte
9. Verify install was successful.
10. Now reboot the server.
shutdown -Fr
11. Count the MPIO disks. Check if we have same number of MPIO disks as the number of vpaths
lsdev -Cc disk |grep -i mpio|wc -l
12. Now import the SANVGs
importvg -y SANVG hdiskX > hdiskX is the disk with same pvid as one of the vpath present in SANVG before migration
13. Mount all the filesystems which were unmounted in step 1 or do LPAR reboot if applicable.
14. Run below command to veify that each mpio disk has 4 paths.
pcmpath query device
15. If this is a DB2 with raw logical volumes, after the DB2 start script has run,
list the raw LV device permissions. Compare the perms to what you recorded prior to the change.
If they have reverted back to root:system, change them according to how they were
before.
16. On Domino Notes nodes that had local /notes directories with link, recreate the links
as recorded previously
No comments:
Post a Comment