AIX 6.1 TL 07 Migration from AIX 5.3 TL 06 without NIM

Note: Please go through the AIX 6.1 release notes before start the migration.

Pre-migration:

Pre-migration script will come along with the AIX 6.1 DVD1. We should run this script to check the server feasibility before start the migration. There is no downtime involved to run this script. We have to copy this script to the /tmp directory from the AIX installation media and should run from /tmp. The output of this script will save under /home/pre_migration. It is must to read all the files and do the necessary actions before start the actual migration.

Sample execution of pre_migration script:
Insert the AIX 6.1 TL07 installation media to the drive.
# cp /mnt/usr/lpp/bos/pre_migration /tmp
# cd /tmp
# ./pre_migration
All saved information can be found in: /home/pre_migration.090903105452

Checking size of boot logical volume (hd5).

Your rootvg has mirrored logical volumes (copies greater than 1)
Recommendation: Break existing mirrors before migrating.

Listing software that will be removed from the system.

Listing configuration files that will not be merged.

Listing configuration files that will be merged.

Saving configuration files that will be merged.

Running lppchk commands. This may take awhile.

Please check /home/pre_migration.090903105452/software_file_existence_check
for possible errors.

Please check /home/pre_migration.090903105452/software_checksum_verification
for possible errors.

Please check /home/pre_migration.090903105452/tcbck.output for possible errors.

All saved information can be found in: /home/pre_migration.090903105452

It is recommended that you create a bootable system backup of your system
before migrating.

Sample files:
configuration_files_being_merged
configuration_files_missing_from_system
configuration_files_not_merged
device_software_being_removed
other_software_being_removed
saved_configuration_files  it contains the backup configurations
software_checksum_verification
software_consistency
software_file_existence_check
software_installed_before_migration
software_link_existence_check.
Note: I have done this migration by using alt_disk_copy method since we don’t have a NIM setup in the environment.
Procedure:
# bosboot -a
# unmirrorvg rootvg hdisk1
# reducevg rootvg hdisk1
# alt_disk_copy -d hdisk1
Calling mkszfile to create new /image.data file.
Checking disk sizes.
Creating cloned rootvg volume group and associated logical volumes.
Creating logical volume alt_hd5
Creating logical volume alt_hd6
Creating logical volume alt_hd8
Creating logical volume alt_hd4
Creating logical volume alt_hd2
Creating logical volume alt_hd9var
Creating logical volume alt_hd3
Creating logical volume alt_hd1
Creating logical volume alt_hd10opt
Creating logical volume alt_paging00
Creating logical volume alt_ulocallv
Creating logical volume alt_tnglv
Creating logical volume alt_loglv
Creating logical volume alt_soelv
Creating logical volume alt_varsoelv
Creating logical volume alt_varsalv
Creating logical volume alt_netblv
Creating logical volume alt_applv
Creating logical volume alt_loglv01
Creating logical volume alt_fslv00
Creating logical volume alt_fslv01
Creating logical volume alt_nim_lv
Creating /alt_inst/ file system.
Creating /alt_inst/ddx file system.
Creating /alt_inst/export file system.
Creating /alt_inst/home file system.
Creating /alt_inst/opt file system.
Creating /alt_inst/opt/soe file system.
Creating /alt_inst/opt/tng file system.
Creating /alt_inst/oracle file system.
Creating /alt_inst/tmp file system.
Creating /alt_inst/usr file system.
Creating /alt_inst/usr/apps file system.
Creating /alt_inst/usr/local file system.
Creating /alt_inst/usr/openv file system.
Creating /alt_inst/var file system.
Creating /alt_inst/var/adm/sa file system.
Creating /alt_inst/var/log file system.
Creating /alt_inst/var/opt/soe file system.
Generating a list of files
for backup and restore into the alternate file system...
Backing-up the rootvg files and restoring them to the
alternate file system...
cannot access ./tmp/croutXpMjgy: A file or directory in the path name does not exist.
0505-148 alt_disk_install: WARNING: an error occurred during backup.
Modifying ODM on cloned disk.
Building boot image on cloned disk.
forced unmount of /alt_inst/var/opt/soe
forced unmount of /alt_inst/var/log
forced unmount of /alt_inst/var/adm/sa
forced unmount of /alt_inst/var
forced unmount of /alt_inst/usr/openv
forced unmount of /alt_inst/usr/local
forced unmount of /alt_inst/usr/apps
forced unmount of /alt_inst/usr
forced unmount of /alt_inst/tmp
forced unmount of /alt_inst/oracle
forced unmount of /alt_inst/opt/tng
forced unmount of /alt_inst/opt/soe
forced unmount of /alt_inst/opt
forced unmount of /alt_inst/home
forced unmount of /alt_inst/export
forced unmount of /alt_inst/ddx
forced unmount of /alt_inst
forced unmount of /alt_inst
Changing logical volume names in volume group descriptor area.
Fixing LV control blocks...
Fixing file system superblocks...
Bootlist is set to the boot disk: hdisk1
# shutdown -Fr
Note: I have rebooted the server with hdisk1 as a bootdisk to check the status and I have done this migration on the hdisk1 so that we can have the undisturbed hdisk0 for the backout.
After the server come up with hdisk1 for the first time please check the general configurations. If everything fine then again reboot the server (Make sure the AIX 6.1 Installation DVD is inserted already) and start the AIX migration on hdisk1.
# shutdown -Fr
Steps:
1. Choose the SMS mode
2. Choose the boot device as cd0
3. Select current console as the system console when prompted.
4. Select English language when prompted.
5. Type 2 to select Change/Show Installation Settings and Install to make sure the installation type is Migration and verify the selected disks to install. Press Enter to confirm and begin the migration installation. After the BOS installation is complete, the system automatically reboots.
Note: Please consider the output of “lsdev -Cc disk” since here the hdisk number might be different than the actual configuration so it is always good to choose the right disks by comparing the “lsdev -Cc disk” command output.
Eg:
hdisk0 Available 04-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 04-08-00-8,0 16 Bit LVD SCSI Disk Drive