The following document describes the alt-disk-install procedure to
perform an AIX operating system update from AIX 5200-ML2 to AIX
5200-ML5. This procedure is used to migrate from the existing IBM
Power4 architecture running the EGATE Production environment on S85
machines, to the new IBM Power5 architecture running on the p590
machines. This procedure is required because EGATE requires AIX 5.2 and
will not run on AIX 5.3. The lowest version of AIX that will run on the
p590 Power5 architecture is AIX 5200-05 and EGATE is currently running
on AIX 5200-02.
This procedure creates a "mksysb" of the current mdctxudb85
production EGATE rootvg, installs this "mksysb" using the
"alt-disk-install" method, and updates the "alt-disk" to AIX
5200-05.
This procedure is documented as a specific example of updating the
EGATE production machine "mdcapega01" using "mdcapega01" as the p590
partition. It is assumed the "mdcapega01" partition is configured and
running AIX 5.2 ML5 on the p590 and a disk is available to perform an
alt-disk-install.
Perform a mksysb of the existing pre-production EGATE system to the
NIM server:
mdcapnim01: exportfs -i -o 'root=*' /export/mksysb
mdcapnim01: exportfs -i -o 'root=*' /export/lpp_source
mdctxudb85: mkdir /mnt/mksysb
mdctxudb85: mount mdcapnim01:/export/mksysb /mnt/mksysb
mdctxudb85: mksysb -Xive /mnt/mksysb/mdctxudb85.mksysb
mdctxudb85: umount /mnt/mksysb
Mount the "mksysb" filesystem from the NIM server to the new p590
partition under /mnt/mksysb. Mount the "lpp_source" filesystem from the
NIM server to the new p590 partition under /mnt/lpp_source:
mdcapega01: showmount -e mdcapnim01
mdcapega01: mount mdcapnim01:/export/mksysb /mnt/mksysb
mdcapega01: mount mdcapnim01:/export/lpp_source /mnt/lpp_source
Perform a PHASE 1 ONLY alt-disk-install of the
mksysb on the p590 partition.
mdcapega01: smitty alt_install
Alternate Disk Installation
Move cursor to desired item and press Enter.
Install mksysb on an Alternate Disk
Clone the rootvg to an Alternate Disk
NIM Alternate Disk Migration
mdcapega01: select "Install mksysb on an Alternate Disk"
Install mksysb on an Alternate Disk
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Target Disk(s) to install [hdisk1]
* Device or image name [/mnt/mksysb/mksysb_mkctxudb85_20050511]
Phase to execute 1
image.data file []
Customization script []
Set bootlist to boot from this disk
on next reboot? no
Reboot when complete? no
Verbose output? no
Debug output? no
resolv.conf file []
Before proceding, remove any locked eFixes that may prevent the "alt-clone"
process from executing successfully. Remove the following files:
mdcapega01: rm /alt_inst/usr/emgrdata/DBS/efix.db
mdcapega01: rm /alt_inst/usr/emgrdata/DBS/files.db
mdcapega01: rm /alt_inst/usr/emgrdata/DBS/pkglck.db
Perform a PHASE 2 ONLY alt-clone install and do an
"update_all" for all AIX 5.2 filesets installed on the alt-disk. Use
the lpp_source "/mnt/lpp_source/5.2AllCurrent/installp/ppc" and add the
keyword "update_all" to the line that says "Bundle to install":
mdcapega01: smitty alt_install
Alternate Disk Installation
Move cursor to desired item and press Enter.
Install mksysb on an Alternate Disk
Clone the rootvg to an Alternate Disk
NIM Alternate Disk Migration
mdcapega01: select "Clone the rootvg to an Alternate Disk"
Clone the rootvg to an Alternate Disk
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* Target Disk(s) to install [hdisk1]
Phase to execute 2
image.data file []
Exclude list []
Bundle to install [update_all]
-OR-
Fileset(s) to install []
Fix bundle to install []
-OR-
Fixes to install []
Directory or Device with images [/mnt/aix/aix_5200-06]
(required if filesets, bundles or fixes used)
installp Flags
COMMIT software updates? no
SAVE replaced files? no
AUTOMATICALLY install requisite software? yes
EXTEND file systems if space needed? yes
OVERWRITE same or newer versions? no
VERIFY install and check file sizes? no
ACCEPT new license agreements? yes
Customization Script []
Set bootlist to boot from this disk
on next reboot? no
Reboot when complete? no
Verbose output? no
Debug output? no
Complete the alt-disk mksysb install by performing PHASES 2
AND 3 of the mksysb. Use the same mksysb image previously used
in phase 1.
mdcapega01: smitty alt_install
Alternate Disk Installation
Move cursor to desired item and press Enter.
Install mksysb on an Alternate Disk
Clone the rootvg to an Alternate Disk
NIM Alternate Disk Migration
mdcapega01: Select "Install mksysb on an Alternate Disk"
Install mksysb on an Alternate Disk
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Target Disk(s) to install [hdisk1]
* Device or image name [/mnt/mksysb/mdctxudb85.mksysb]
Phase to execute 2 & 3
image.data file []
Customization script []
Set bootlist to boot from this disk
on next reboot? no
Reboot when complete? no
Verbose output? no
Debug output? no
resolv.conf file []
When phase 3 completes, all filesystem associated with the
altinst_rootvg should be automatically unmounted and the altinst_rootvg
volume group should be automatically varied off. Change the bootlist to
boot from the newly built and updated alternate disk:
mdcapega01: bootlist -m normal hdisk1 hdisk0
mdcapega01: bootlist -m normal -o
Shutdown the partition and activate the partition from the HMC:
mdcapega01: shutdown -Fh
|