Friday, August 10, 2012

IBM AIX - Migration with CD

If you are overwriting an existing system, gather the TCP/IP information before you begin this scenario. Also, before you perform a migration installation, make sure you have reliable backups of your data and any customized applications or volume groups. The instructions on how to create a system backup are described later in this article.
Using this scenario, you can migrate a system from AIX 4.3.3 (or later) to AIX 5.3. 


Step 1. Prepare for the migration

Before starting the migration, complete the following prerequisites:
  1. 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
  2. Before you begin the installation, other users who have access to your system must be logged off.
  3. Verify that your applications will run on AIX 5L Version 5.3. Also, check if your applications are binary compatible with AIX 5L Version 5.3. For details on binary compatibility, check out the AIX 5L Version 5 binary compatibility Web site. If your system is an application server, verify that there are no licensing issues. Refer to your application documentation or provider to verify on which levels of AIX your applications are supported and licensed. 
  4. Check that your hardware microcode is up to date.
  5. All requisite hardware, including any external devices, such as tape drives or CD/DVD-ROM drives, must be physically connected and powered on.
  6. Use the errpt command to generate an error report from entries in the system error log. To display a complete detailed report, type the following:
    # errpt -a
  7. There must be adequate disk space and memory available. AIX 5L Version 5.3 requires 128MB of memory and 2.2GB of physical disk space.
  8. Run the pre-migration script located in the mount_point/usr/lpp/bos directory on your CD. To mount the CD, run the following command:
    # mount -v cdrfs -o ro /dev/cdN /mnt 

    where "N" is your CD drive number.
  9. Make a backup copy of your system software and data. The instructions on how to create a system backup are described elsewhere in this article.
  10. Always refer to the release notes for the latest migration information.

Step 2. Boot from the AIX product CD

  1. If they are not already on, turn on your attached devices.
  2. Insert the AIX Volume 1 CD into the CD-ROM device.
  3. Reboot the system by typing the following command:
    # shutdown -r
  4. When the system beeps twice, press F5 on the keyboard or 5 on an ASCII terminal. If you have a graphics display, you will see the keyboard icon on the screen when the beeps occur. If you have an ASCII terminal, you will see the word keyboard when the beeps occur.
  5. Select the system console by pressing F1 or 1 on an ASCII terminal and press Enter.
  6. Select the English language for the BOS installation menus by typing a 1 at the Choice field and press Enter. The Welcome to Base Operating System Installation and Maintenance menu opens.
  7. Type 2 to select Change/Show Installation Settings and Install in the Choice field and press Enter.
     Welcome to Base Operating System 
       Installation and Maintenance 
    
    Type the number of your choice and press Enter. Choice is 
         indicated by >>>. 
    
         1 Start Install Now with Default Settings 
    
         2 Change/Show Installation Settings and Install 
    
         3 Start Maintenance Mode for System Recovery 
    
         88   Help ? 
         99   Previous Menu
     >>>     Choice [1]: 2

Step 3. Verify migration installation settings and begin installation

  1. Verify that migration is the method of installation. If migration is not the method of installation, select it now. Select the disk or disks you want to install.
    1 System Settings:                
         Method of Installation....................Migration 
         Disk Where You Want to Install............hdisk0
  2. Select Primary Language Environment Settings after install.
  3. Type 3 and press Enter to select More Options. To use the Help menu to learn more about the options available during a migration installation, type 88 and press Enter in the Installation Options menu. 
  4. Verify the selections in the Migration Installation Summary screen and press Enter.
  5. When the Migration Confirmation menu displays, follow the menu instructions to list system information or continue with the migration by typing 0 and pressing Enter.
      Migration Confirmation 
    
    Either type 0 and press Enter to continue the installation,
    or type the number of your choice and press Enter. 
    
      1. List the saved Base System configuration files which 
           will not be merged into the system. These files are 
           saved in /tmp/bos.
      2. List the filesets which will be removed and not replaced.
      3. List directories which will have all current contents 
           removed.
      4. Reboot without migrating. 
    
    Acceptance of license agreements is required before using 
    system. You will be prompted to accept after the system 
    reboots. 
    
    >>> 0 Continue with the migration. 
    88 Help ? 
    
    ------------------------------------------------------------
    
    WARNING: Selected files, directories, and filesets 
    (installable options) from the Base System will be removed. 
    Choose 2 or 3 for more information. 
    
    >>> Choice[0]:
    

Step 4. Verify system configuration after installation

After the migration is complete, the system will reboot. Verify the system configuration, as follows:
  1. After a migration installation, the Configuration Assistant opens on systems with a graphics display. And after a migration installation, the Installation Assistant opens on systems with an ASCII display.

  2. Select the Accept Licenses option to accept the electronic licenses for the operating system.
  3. Verify the administrator (root user) password and network communications (TCP/IP) information.

    Use any other options at this time. You can return to the Configuration Assistant or the Installation Assistant by typing configassist or smitty assist at the command line.
  4. Select Exit the Configuration Assistant and select Next. Or, press F10 or ESC+0 to exit the Installation Assistant.
  5. If you are in the Configuration Assistant, select Finish now. Do not start the Configuration Assistant when restarting AIX and select Finish.
  6. When the login prompt displays, log in as the root user to perform system administration tasks.
  7. Run the /usr/lpp/bos/post_migration script.

0 comments:

Post a Comment

Pages