You are on page 1of 4

Direct Migration to AIX 6.1 [from AIX 5.1, 5.2, 5.

3]
http://publib.boulder.ibm.com/infocenter/systems/scope/aix/index.jsp
Using this scenario, you can migrate a system from AIX® 5.1 to AIX Version 6.1 from media

Step 1. Prepare for the migration

bash-2.02# oslevel -s
5300-06-01-0000 [OS Level which we are going to migrate]
bash-2.02#

Before starting the migration, complete the following prerequisites:


Ensure that the root user has a primary authentication method of SYSTEM. You can check this
condition by typing the following command:
# lsuser -a auth1 root
If needed, change the value by typing the following command: # chuser auth1=SYSTEM root
Make sure that other users who have access to your system must be logged off.
There must be adequate disk space and memory available. AIX requires 256–512 MB of memory
and 2.2 GB of physical disk space.

Run the pre_migration script located in the mount_point/usr/lpp/bos directory on your


media.
# mount -v cdrfs -o ro /dev/cdN /mnt [mount the media @ /mnt, N is media number ]
Ex. # mount -v cdrfs -o ro /dev/cd0 /mnt
Note: Do not remove the data created by the pre_migration script, because it is used by the
post_migration script.
pre_migration scripts generates following files and configuration files in
/home/pre_migration.XXXXXX directory and which are important for post_migration
process.

saved_configuration_files\usr \var and \etc


configuration_files_being_merged
configuration_files_missing_from_system
configuration_files_not_merged
device_software_being_removed
other_software_being_removed
software_checksum_verification
software_consistency
software_file_existence_check
software_installed_before_migration
software_link_existence_check

Step 2. Boot from the AIX product media

Insert the AIX Volume 1 media into the media device & Reboot the system by typing the
following command:
# shutdown -r

Type 2 to select 2 Change/Show Installation Settings and Install in the Choice field and press
Enter.

Continued………
Step 3. Verify migration installation settings and begin installation

When the Migration Confirmation menu opens, follow the menu instructions to list system
information or continue with the migration by typing 0 and pressing Enter.

Migration is in process…………
Step 4. Verify system configuration after installation

After the migration is complete, the system will reboot.


Select terminal as VT100.
Select the Accept Licenses option to accept the electronic licenses for the operating system.
Select Exit the Configuration Assistant and select Next. Or, press F10 (or ESC+0) to exit the
Installation Assistant.
When the login prompt displays, log in as the root user to perform system administration tasks.
Run the /usr/lpp/bos/post_migration script. [system directory]
1) It will check software that was unchanged during migration.
2) It compares saved configurations files
3) Will run lppchk command
4) And will save all information @ /home/post_migration.XXXXXXXXXX

As shown.

bash-2.02# cd /home/post_migration.090409063536
bash-2.02# ls
compared_saved_configuration_files software_consistency
filesets_to_be_updated software_file_existence_check
filesets_updated software_installed_after_migration
software_checksum_verification software_link_existence_check
bash-2.02#

bash-2.02# oslevel -s
6100-00-01-0748
bash-2.02#

Check log files, they show the migration is successful……………?

Regards,
Amit Sapre

You might also like