Pre-Post migration check-out -preparation in aix?
Pre Migration check out
# lscfg |grep Architecture
|
System platform check - Only CHRP systems are supported in AIX 5.2 and above
|
# prtconf |grep 'Processor Type'
|
only 64-bit common hardware reference platform (CHRP) machines supported
|
# ls -al /dev/rootvg; ls -al /dev/hd5
|
verity the major number for /dev/rootvg and /dev/hd5 is 10.
|
# lslv -m hd5
|
Find out which disk contains your hd5 logical volume.
|
# bosboot -ad /dev/hdisk0; bosboot —ad /dev/ipldevice
|
verify boot image can be successfully recreated using the hdisk and by using /dev/ipldevice.
|
# lsvg -i rootvg|grep -i hd5; lsvg rootvg|grep SIZE
|
Currently the recommended allocated space to have for hd5 is 32mb
|
# lspv -M hdisk0|grep -i hd5
|
the hd5 lv covers the first or first 3 partitions on the disk based on the size. (Min is 32MB)
|
# bootinfo -r
|
To check the system has minimum memory (AIX 5.3 - 256MB, AIX 6.1/7.1 - 512MB)
|
# lppchk -vm3
|
lppchk command should be run to check system consistency
|
# instfix -i|egrep -i 'ml|sp'
|
To check currently Installed TL / SP filesets are consistent.
|
# lscfg -vl hdisk*|grep -i hdisk*
|
To get the disk location.
|
# emgr -l; emgr -r -L <efix>
|
Need to remove any efix applied on the systems.
|
# lspv|egrep -i 'alt|old|reserve|none'
|
To check any spare disks/reserved disk present on the system. you can see alt/old rootvg
|
# /usr/lpp/bos/pre_migration
|
Execute pre_migration script. output saved in /home/pre_migration.<date> directory.
|
"Note"
|
Take all the necessary checks/output like df -gt; netstat -nr; ifconfig -a;
|
Post Migration checks out
#
/usrlpp/bos/post_migration
|
To check that your migration was
succsiful (all output will be saved in /home/post_migration.<date>
directory.)
|
#
lppchk -vm3
|
lppchk command should be run to check
system consistency (no output is best)
|
#
oslevel -s
|
To check the expected target level
achieved.
|
#
instfix -i|egrep -i 'ml|sp'
|
To check currently Installed TL / SP
filesets are consistent.
|
|
|
Note
|
Filesets that did not migrate can now
be migrated using a software source containing the software
and running a
smitty update_all
|