4.7 Creating Installation
Images on a Hard Disk
Alternate disk installation, available in AIX Version 4.3, allows installing the system while it is still up and running, which allows install or upgrade downtime to be decreased considerably. It also allows large facilities to manage an upgrade because systems can be installed over a longer period of time while the systems are still running at the existing version. The switch over to the new version can then happen with a simple reboot.
Alternate disk installation requires the following filesets to be installed before you are able to use the functions. The filesets are:
Once you have installed these filesets, the alternate disk installation functions are available to you in the Software Installation and Maintenance menu. Use the SMIT fast path:
A screen similar to Figure 33 is
Figure 33: Alternate Disk Installation
Alternate disk installation can be used in one of two ways:
Cloning the rootvg to an alternate disk can have many advantages.
In order to clone your rootvg to a new disk, do the following procedure:
Use the SMIT fast path:
A screen similar to Figure 34 is
Figure 34: smitty alt_clone
The following sequence of output is shown in SMIT while the system is cloning to the new disk:
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 /alt_inst / file system Creating /alt_inst/usr file system Creating /alt_inst/var file system Creating /alt_inst/tmp file system Creating /alt_inst/home 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 Systems Modifying ODM on cloned disk Building boot image on cloned disk Forced umount of /alt_inst/home Forced umount of /alt_inst/tmp Forced umount of /alt_inst/var Forced umount of /alt_inst/usr Forced umount of /alt_inst/ Changing logical volume names in Volume Group Descriptor Area Fixing Logical Volume control blocks Fixing File system super blocks Bootlist is set to the bootdisk:hdisk1
By default, the bootlist will be set to the new cloned rootvg for the next reboot. This completes the cloning of the rootvg using the alt_disk_install command.
An alternate mksysb install involves installing a mksysb image that has already been created from another system onto an alternate disk of the target system. The mksysb image (AIX Version 4.3 or later) would be created on a system that was either the same hardware configuration as the target system or would have all the device and kernel support installed for a different machine type or platform and/or different devices.
In order to create the alternate mksysb system, use the SMIT fast path:
A screen similar to Figure 35 is shown:
Figure 35: smitty alt_mksysb
Once the mksysb image is restored to the new disk, the system reboots from the new alternate rootvg. This completes your alternate mksysb installation.