Friday, 6 September 2013

AIX migration from version 5.3 to 6.1 using CDROM


AIX migration from version 5.3 to 6.1 using CDROM
Prerequisites:
1> Before going ahead an upgrading, do ensure that you have a full system backup(mksysb) incase of requirement for backout of upgrade.
2> Check for errors on system using the errpt -a and fix
3> Ensure that there is enough free disk space on the system for rootvg.
4> Check on what disk rootvg is installed on using the command lsvg -p rootvg
5> Run the command bootlist -m normal -o and ensure that the CDROM is listed before the hard disk. If not, change the boot order by running the command bootlist -m normal cd0 hdisk0
6> Run lppchk -v to check that all the currently installed software have all the required requisites.
7>Get the compatability support matrix concurrance from Database/Application(that runs on the server) before the migration
8>Take backup of important OS files,tunables and ensure its also applied after the upgrade.

Migration procedure:
– Put the AIX 6.1 media in the DVD drive and reboot using the command shutdown -Fr to boot from CD
----------------------------------------------------------------------
1 = SMS menu 5 = Default bootlist
8 = Open Firmware 6 = Stored bootlist
----------------------------------------------------------------------
– Ignore this screen. The installation process should continue automatically
----------------------------------------------------------------------
Please define the System Console
Type a 1 and press Enter to use this terminal as the system console
----------------------------------------------------------------------
– Type 1 and press enter
----------------------------------------------------------------------
1. Type 1 and press Enter to have English during install
>>>choice[1]:
----------------------------------------------------------------------
– Type 1 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
4. Configure Network Disks (iSCSI)
88 Help?
99 Previous Menu
Choice[1]: 2
----------------------------------------------------------------------
– Type 2 and press enter
----------------------------------------------------------------------
Installation and Settings
Either type 0 and press Enter to install with current settings
or type the number of the setting you want to change and press Enter
1. System Settings:
Method of Installation ......................Migration
Disk where you want to Install ..............hdisk0
2. Primary Language Environment settings (AFTER Install):
Cultural Conventions ........................English (United States)
Language ....................................English (United States)
Keyboard ....................................English (United States)
Keyboard Type ...............................Default
3. Security Model...............................Default
4. More Options (Software install options)
>>> 0 Install with the current settings listed above
88 Help?
99 Previous Menu
>>> Choice[0]:
----------------------------------------------------------------------
– Change the method of installation to Migration
– Ensure that the correct disk at “Disk where you want to install”
– Modify the “Cultural Conventions”, “Language” and “Keyboard” to your liking
Type 4 and press enter
----------------------------------------------------------------------
Install Options
1. Enable System Backup to install any system....Yes
2. Import User Volume Groups.....................Yes
3. Remove Java 1.1.8 Software....................No
>>> 0 Install with the current settings listed above
88 Help?
99 Previous Menu
>>> Choice[0]:
----------------------------------------------------------------------
– Type 0 and press enter
----------------------------------------------------------------------
Migration Installation Summary
Disks: hdisk0
Cultural Convention: en_GB
Language: en_US
Keyboard: en_GB
Import User Volume Groups: Yes
Enable System Backup to install any system: Yes
Remove Java 1.1.8 Software: No
>>> 1 Continue with Install
88 Help?
99 Previous Menu
>>> Choice[1]:
----------------------------------------------------------------------
– Check the output and accept by typing 1 and pressing enter
----------------------------------------------------------------------
Migration menu preparation
Please wait
Approximate Elapsed time
% task complete (in minutes)
----------------------------------------------------------------------
----------------------------------------------------------------------
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
WARNING: Selected files, directories and filesets (installable options)
from the Base System will be removed.
Choose 2 or 3 for more information
88 Help?
99 Previous Menu
>>> Choice[0]:
----------------------------------------------------------------------
– Type 0 and press enter to start the upgrade process
----------------------------------------------------------------------
Saving system configuration files in /tmp/bos
Removing obsolete filesets, directories and files
Installing Base Operating System
Please wait
Approximate Elapsed time
% task complete (in minutes)
----------------------------------------------------------------------
– The installation will continue and and will finally present the login screen
– Login and check the AIX version installed by typing the command oslevel -s




AIX-ADDING/DELETING A STATIC ROUTE USING COMMAND LINE



chdev -l inet0 -a route=net,-netmask,<your-mask-here>,-static,<net address here>,<Gateway here>    ==>To add route
chdev -l inet0 -a delroute=net,-netmask,<your-mask-here>,-static,<net address here>,<Gateway here> ==>To del route


(a)For example to create a static route for destination 10.0.0 through 192.168.0.1

#chdev -l inet0 -a route=net,-netmask,255.255.255.0,-static, 10.0.0.0, 192.168.0.1

(b)For example to remove a static route for destination 10.0.0 through 192.168.0.1

#chdev -l inet0 -a delroute=net,-netmask,255.255.255.0,-static, 10.0.0.0, 192.168.0.1