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

AIX - Smitty Fast Paths




















Application/Task Fast Path
Software Installation and Maintenance install
Install and Update Software install_update
     Install Software install_latest
     Update Installed Software to
Latest Level (Update All)
update_all
     Install Software Bundle install_bundle
     Update Software by Fix (APAR) update_by_fix
     Install and Update from ALL
Available Software
install_all
List Software and Related Information list_software
     List Installed Software and
Related Information
list_installed
           List
Installed Software
list_installed_sw
           List
Applied but Not Committed Software Updates
list_applied_sw
           Show
Software Installation History
show_history
           Show
Fix (APAR) Installation Status
show_apar_stat
           List
Fileset Requisites
list_requisites
           List
Fileset Dependents
list_dependents
           List
Files Included in a Fileset
list_files
           List
Fileset Containing File
what_fileset
           Show
Installed License Agreements
installed_license
      List Software on Media and
Related Information
list_media
           List
Filesets in a Bundle
list_bundle
           List
Software on Installation Media
list_media_sw
           List
Software Fixes (APARs) on Installation Media
list_media_fixes
           List
Supplemental Fileset Information on Installation Media
list_media_info
           Show
License Agreements on Installation Media
license_on_media
Software Maintenance and Utilities maintain_software
     Commit Applied Software Updates
(Remove Saved Files)
commit
     Reject Applied Software Updates
(Use Previous Version)
reject
     Remove Installed Software remove
     Copy Software to Hard Disk for
Future Installation
bffcreate
     Check Software File Sizes After
Installation
check_files
     Verify Software Installation and
Requisites
verify_install
Network Installation Management nim_client
     Configure Network Installation
Management Client Fileset
niminit
     Install and Update Software nim_client_inst
     List Software on Media and Related
Information
nim_client_list
           List
Filesets in a Bundle
nim_c_list_bundle
           List
Software on Installation Media
nim_c_list_sw
           List
Software Fixes (APARs) on Installation Media
nim_c_list_fixes
     Manage Network Install Permissions nim_perms
     Manage Network Install Resource
Allocation
nim_c_mac_res
System Backup Manager backsys
     Back Up the System sysbackup
           Back
Up This System to Tape/File
mksysb
           Create
a Generic Backup CD
mkcdgeneric
     List Files in a System Image lsmksysb
     Restore Files in a System Image restmksysb
Software License Management licenses
Manage Nodelocked Licenses manage_nodelocked
     Add Nodelocked License from a File add_nodelocked_from_file
     Add Nodelocked License from the
Keyboard
add_nodelocked_from_keyboard
     Delete a Nodelocked License delete_nodelocked
Manage License Servers and License Databases manage_servers
     Show Server Characteristics show_server_characteristics
     Manage Concurrent Use and Use Once
Licenses
manage_prod_licenses
     Manage Vendor Information in
License Databases
manage_vendors
Show License Usage on Servers show_server_status
     Show License Usage Summary show_total_license_usage
     Show Licenses Currently Being Used show_current_license_usage
     Show License Information by Server show_installed_licenses
     Show Licenses Held by a Specific
User
show_user_license_held
Show License Agreements show_license_agree
     Show Installed License Agreements installed_license
     Show License Agreements on
Installation Media
license_on_media
Devices dev
Install/Configure Devices Added After IPL cfgmgr
Printer/Plotter printer
TTY tty
PTY pty
Console console
Fixed Disk disk
CD ROM Drive cdrom
Read/Write Optical Drive rwopt
Diskette Drive diskette
Tape Drive tape
Communication commodev
Graphic Displays g_display
Graphic Input Devices input
Low Function Terminal (LFT) lft
SCSI Initiator Device scsiid
SCSI Adapter scsia
Asynchronous I/O aio
Multimedia mm
List Devices lsattr
Configure/Unconfigure Devices devcfg
     Unconfigure a Device devcfg_ucfg
     Configure a Defined Device devcfg_cfg
Install Additional Device Software devinst
PCI Hot Plug Manager devdrpci
     Unconfigure a Device rmdev
     Configure a Defined Device mkdev
     Install/Configure Devices Added
After IPL
cfgmgr
ISA Adapters devisa
System Storage Management (Physical & Logical Storage) storage
Logical Volume Manager lvm
      Volume Groups vg
           List
All Volume Groups
lsvg2
           Add
a Volume Groups
mkvg
           Set
Characteristics of a Volume Group
vgsc
           List
Contents of a Volume Group
lsvg1
           Remove
a Volume Group
reducevg2
           Activate
a Volume Group
varyonvg
           Deactivate
a Volume Group
varyoffvg
           Import
a Volume Group
importvg
           Export
a Volume Group
exportvg
           Mirror
a Volume Group
mirrorvg
           Unmirror
a Volume Group
unmirrorvg
           Synchronize
LVM Mirrors
syncvg
           Back
Up a Volume Group
vgbackup
           Remake
a Volume Group
restvg
           List
Files in a Volume Group Backup
lsbackvg
           Restore
Files in a Volume Group Backup
restsavevg
      Logical Volumes lv
           List
All Logical Volumes by Volume Group
lsvg
           Add
a Logical Volume
mklv
           Set
Characteristics of a Logical Volume
lvsc
           Show
Characteristics of a Logical Volume
lslv
           Remove
a Logical Volume
rmlv
           Copy
a Logical Volume
cplv
      Physical Volumes pv
           Add
a Disk
makdsk
           Change
Characteristics of a Physical Volume
chpv
           List
Contents of a Physical Volume
lspv
           Move
Contents of a Physical Volume
migratepv
      Paging Space pgsp
           Add
Another Paging Space
mkps
           Change/Show
Characteristics of a Paging Space
chps
           Remove
a Paging Space
rmps
           Activate
a Paging Space
swapon
           Deactivate
a Paging Space
swapoff
File Systems fs
     List All File Systems lsfs
     List All Mounted File Systems mount
     Add/Change/Show/Delete File
Systems
manfs
     Mount a File System mountfs
     Mount a Group of File Systems mountg
     Unmount a File System umountfs
     Unmount a Group of File Systems umountg
     Verify a File System fsck
     Backup a File System backfilesys
     Restore a File System restfilesys
     List Contents of a Backup listtoc
Files & Directories filemgr
     Backup a File or Directory backfile
     Restore a File or Directory restfile
     List Contents of a Backup listtoc
Removable Disk Management rds
     List All Mounted File Systems on a
Disk
lsmntdsk
     Unmount File Systems on a Disk umntdsk
     Remove a Disk from the Operating
System
removedsk
     Remove a Disk rmvdsk1
     Open Door open_door
System Backup Manager backsys
     Back Up the System sysbackup
     List Files in a System Image lsmksysb
     Restore Files in a System Image restmksysb
Security and Users security
Users users
     Add a User mkuser
     Change a User's Password passwd
     Change/Show Characteristics of a
User
chuser
     Lock/Unlock a User's Account lockuser
     Reset User's Failed Login Count failed_logins
     Remove a User rmuser
     List All Users lsuser
Groups groups
     List All Groups lsgroup
     Add a Group mkgroup
     Change/Show Characteristics of a
Group
chgroup
     Remove a Group rmgroup
Passwords passwords
     Change a User's Password passwd
     Change/Show Password Attributes
for a User
passwdattrs
Login Controls logins
     Change/Show Login Attributes for a
User
login_user
     Change/Show Login Attributes for a
Port
login_port
Roles roles
     Add a Role mkrole
     Change/Show Characteristics of a
Role
chrole
     Remove a Role rmrole
     List All Roles lsrole
Communications Applications and Services commo
TCP/IP tcpip
      Minimum Configuration &
Startup
mktcpip
      Further Configuration configtcp
           Hostname hostname
           Static
Routes
route
           Network
Interfaces
netinterface
           Name
Resolution
namerslv
           Client
Network Services
clientnet
           Server
Network Services
ruser
           Manage
Print Server
server
           Select
BSD style rc Configuration
setbootup_option
           Authentication
Configuration
auth_config
      Use DHCP for TCPIP
Configuration & Startup
usedhcp
      IPV6 Configuration configtcp6
           IPV6
Static Routes
route6
           IPV6
Network Interfaces
inet6
           IPV6
Daemon/Process Configuration
daemon6
      Quality of Service
Configuration & Startup
configqos
           Start
Using the QoS Subsystem
startqos
           Stop
Using the QoS Subsystem
stopqos
NFS nfs_menus
      Configure TCP/IP (If Not
Already Configured)
tcpip
      Network File System (NFS) nfs
           Configure
NFS on This System
nfsconfigure
           Add
a Directory to Exports List
mknfsexp
           Change/Show
Attributes of an Exported Directory
chnfsexp
           Remove
a Directory from Exports List
rmnfsexp
           Add
a File System for Mounting
mknfsmnt
           Change/Show
Attributes of an NFS File System
chnfsmnt
           Remove
Remove an NFS File System
rmnfsmnt
Print Spooling spooler
Start a Print Job qprt
Manage Print Jobs jobs
     Cancel a Print Job qcan
     Show the Status of Print Jobs qchk
     Prioritize a Print Job qpri
     Hold/Release a Print Job qhld
     Move a Job Between Print Queues qmove
Manage Print Queues pqmanage
     Show Status of Print Queues qstatus
     Stop a Print Queue qstop
     Start a Print Queue qstart
     Set the System's Default Print
Queue
qdefault
Add a Print Queue mkpq
Add an Additional Printer to an Existing Print Queue mkqprt
Change/Show Print Queue Characteristics chpq
Remove a Print Queue rmpq
Manage Print Server server
Programming Tools pqtools
Problem Determination problem
Error Log error
     Generate Error Report errpt
     Change/Show Characteristics of the
Error Log
errdemon
     Clean the Error Log errclear
System Dump dump
     Change the Primary Dump Device dumpchgp
     Change the Secondary Dump Device dumpchgs
     Change the Directory to which Dump
is Copied on Boot
dumpchgd
     Copy a System Dump from a Dump
Device to a File
dump_copy_file
     Copy a System Dump from a Dump
Device to Diskette
dump_copy_dskt
     Always Allow System Dump dump_allow
     System Dump Compression dump_comprs
     Check Dump Resources Utility dump_checkr
Alog alog
     Show an Alog file alog_show
     Change/Show Characteristics of an
Alog File
alog_change
Hardware Diagnostics diag
Verify Software Installation and Requisites verify_install
Performance and Resource Scheduling performance
Resource Status & Monitors monitors
Analysis Tools analysis
Resource Controls controls
     Remove a Process kill
     Set Initial Priority of a Process nice
     Change Initial Priority of a
Process
renice
     Set System Run Level telinit
Schedule Jobs at
Power Management pm
     Configure/Unconfigure Power
Management
pmConfig
     System State Transition from
Enable State
pmState
     Display Power Management pmDisplaySelect
     Battery pmBattery
Workload Management wlm
      Work on alternate
configurations
wlmconfig
           Copy
a configuration
wlmconfig_copy
           Create
a configuration
wlmconfig_create
           Select
a configuration
wlmconfig_select
           Enter
configuration description
wlmconfig_enter
           Remove
a configuration
wlmconfig_delete
      Work on a set of Subclasses wlmsubclass
      Add a class wlmaddclass
      Change/Show Characteristics
of a class
wlmchclass
           General
characteristics of a class
wlmclass_gal
           CPU
resource management
wlmclass_cpu
           Memory
resource management
wlmclass_mem
           diskIO
resource management
wlmclass_bio
      Remove a class wlmrmclass
      Class assignment rules wlmrs
           Create
a new Rule
crewlmrs
           Change/Show
Characteristics of a Rule
chgwlmrs
      Start/Stop/Update WLM wlmmanage
           Start
Workload Management
wlmstart
           Update
Workload Management
wlmupdate
           Stop
Workload Management
wlmoff
      Assign/Unassign processes to
a class/subclass
wlmassign
System Environments system
Stop the System shutdown
Assign the Console chcons
Change/Show Date and Time chtz_date
     Change/Show Date & Time date
     Change Time Zone Using System
Defined Values
chtz
     Change Time Zone Using User
Inputted Values
chtz_user
Manage Language Environment mlang
     Change/Show Primary Language
Environment
chlang
     Add Additional Language
Environments
mle_add_lang
     Remove Language Environments mle_rm_lang_hdr
     Change/Show Language Hierarchy mle_hier_cmd_hdr
     Set User Languages chlang_user
     Change/Show Applications for a
Language
mle_chapp_menu
     Convert System Messages and Flat
Files
nu_iconv
Change/Show Characteristics of Operating System chgsys
Change/Show Number of Licensed Users chlicense
Manage AIX Floating User Licenses for this Server netls_server
Broadcast Message to all Users wall
Manage System Logs logs
Change/Show Characteristics of System Dump dump
Internet and Documentation Services web_configure
     Change/Show Default Browser change_default_browser
     Change Documentation and Search
Server
change_doc_search_server
     Change/Show Default Documentation
Language
chdoclang
     Web-based System Manager web_based_system_manager
Change System User Interface dt_config
Change/Show Default Documentation Language chdoclang
Manage Remote Reboot Facility rrbtty
Manage System Hang Detection shd
Processes and Subsystems src
Processes process
     Remove a Process kill
     Bind a Process to a Processor bindproc
     Unbind a Process unbindproc
Subsystems subsys
     Query a Subsystem qssys
     Start a Subsystem startssys
     Stop a Subsystem stopssys
           Stop
a Single Subsystem
stopassys
           Stop
All Subsystems
stopallssys
     Refresh a Subsystem refresh
     Trace Subsystem tracessys
           Start
Trace
tracessyson
           Stop
Trace
tracessysoff
Subservers subserver
     Query a Subserver qserver
     Start a Subserver startserver
     Stop a Subserver stopserver
     Trace Subserver traceserver
           Start
Trace
startserver.trace
           Stop
Trace
stopserver.trace