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 mxfmtxdb85
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 "mxfapega01" using "mxfapega01" as the p590
partition. It is assumed the "mxfapega01" 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:
mxfapnim01: exportfs -i -o 'root=*' /export/mksysb
mxfapnim01: exportfs -i -o 'root=*' /export/lpp_source
mxfmtxdb85: mkdir /mnt/mksysb
mxfmtxdb85: mount mxfapnim01:/export/mksysb /mnt/mksysb
mxfmtxdb85: mksysb -Xive /mnt/mksysb/mxfmtxdb85.mksysb
mxfmtxdb85: 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:
mxfapega01: showmount -e mxfapnim01
mxfapega01: mount mxfapnim01:/export/mksysb /mnt/mksysb
mxfapega01: mount mxfapnim01:/export/lpp_source /mnt/lpp_source
Perform a PHASE 1 ONLY alt-disk-install of the
mksysb on the p590 partition.
mxfapega01: 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
mxfapega01: 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_mkcmtxdb85_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:
mxfapega01: rm /alt_inst/usr/emgrdata/DBS/efix.db
mxfapega01: rm /alt_inst/usr/emgrdata/DBS/files.db
mxfapega01: 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":
mxfapega01: 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
mxfapega01: 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.
mxfapega01: 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
mxfapega01: 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/mxfmtxdb85.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:
mxfapega01: bootlist -m normal hdisk1 hdisk0
mxfapega01: bootlist -m normal -o
Shutdown the partition and activate the partition from the HMC:
mxfapega01: shutdown -Fh
|