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 Pre-Production environment on 6M2
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 pre-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 pre-production machine "mxdaaega01" 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
mxdaaega01: mkdir /mnt/mksysb
mxdaaega01: mount mxfapnim01:/export/mksysb /mnt/mksysb
mxdaaega01: mksysb -Xive /mnt/mksysb/mxdaaega01.mksysb
mxdaaega01: 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/mxdaaega01.mksysb]
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 []
Determine the last complete maintenance level:
mxfapega01: chroot /alt_inst /usr/sbin/instfix -iv | grep "_ML"
Determine missing AIX 5.2 ML5 filesets:
mxfapega01: chroot /alt_inst /usr/sbin/instfix -ciqv 5200-02_AIX_ML | grep ":-:"
In this example, the missing filesets were determined to be:
csm.client, csm.core, csm.dsh, invscout.com, invscout.ldb,
invscout.rte.
Perform a PHASE 2 ONLY alt-clone install of the
missing filesets using the lpp_source
"/mnt/lpp_source/5.2AllCurrent/installp/ppc". Add the list of filesets
to the line that says "Fileset(s) to install". Also perform a
PHASE 2 ONLY alt-clone install of all devices using the
lpp_source "/mnt/lpp_source/5.2AllCurrent/installp/ppc". Add the
fileset name "devices" to the line that says "Fileset(s) to
install". Add the "devices" fileset name to the end of the list of the
missing filesets, if there are no missing filesets, at least add
"devices".
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 []
-OR-
Fileset(s) to install [csm.client
csm.core
csm.dsh
invscout.com
invscout.ldb
invscout.rte
devices]
Fix bundle to install []
-OR-
Fixes to install []
Directory or Device with images [/mnt/lpp_source/5.2AllCurrent/installp/ppc]
(required if filesets, bundles or fixes used)
installp Flags
COMMIT software updates? yes
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
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/lpp_source/5.2AllCurrent/installp/ppc]
(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/mxdaaega01.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
|