This document provides supplemental information, including available options and tips to consider.
WARNING: This procedure is valid only with a mksysb and will not work with a Sysback 6000 system backup.
When cloning 4.3.0/4.3.1 systems that have bos.rte* filesets installed at 4.3.2.x (i.e. 4.3.1 systems with bos.rte.libc 4.3.2.x), these systems should be upgraded to 4.3.2.0 maintenance level first and should use 4.3.2 bootable media to boot in service mode for cloning.
mksysb -i /dev/rmt0If a tape drive other than /dev/rmt0 is being used, substitute it in the above command.
On the target system, boot from the installation cd-rom that is at the same AIX level as the source system. Make sure the tape drive is turned on, but do not load the mksysb tape at this point. It is preferable to use the install cd-rom, but if there is not one available, the AIX install product tape at the same level may be used. If the install tape is used, the install tape and mksysb tape may need to be switched back and forth a few times during the restoration.
WARNINGS:
If the system is a single processor, the boot process should begin immediately. If it is a multiprocessor, go through the hardware boot menu first. For more information, consult the model documentation or contact your AIX support center for assistance.
Welcome to Base Operating System Installation and Maintenance
The following choices will then appear:
1 Start Install Now with Default Settings 2 Change/Show Installation Settings and Install 3 Start Maintenance Mode for System Recovery
Select option 3, Start Maintenance Mode for System Recovery. A menu heading of Maintenance and the following selections will appear:
1 Access a Root Volume Group 2 Copy a System Dump to Removable Media 3 Access Advanced Maintenance Functions 4 Install from a System Backup
Select option 4, Install from a System Backup.
1 Start Install Now with Default Settings 2 Change/Show Installation Settings and Install 3 Start Maintenance Mode for System Recovery
This time, select option 2, Change/Show Installation Settings and Install. A menu heading of System Backup Installation and Settings and selections similar to the following will appear:
1 Disk(s) Where You Want to Install.....hdisk0... Use Maps............................No 2 Shrink File Systems...................No >>> 0 Install with the settings listed above.
To shrink the file systems to reclaim free space allocated to the file systems, select option 2 so the setting is Yes. For the file systems to be restored with the same allocated space as the original system, make sure option 2 is set to No.
Once the setting preference is completed for option 2, select option 1 to select which disks will be used for the installation. A menu heading of Change Disk(s) Where You Want to Install with selections similar to the following will appear:
>>> 1 hdisk0 00-00-0S-0,0 400 rootvg yes no 2 hdisk1 00-00-0S-1,0 850 not in VG yes no >>> 0 Continue with choices indicated above.
Disks selected for the installation will be marked with a ">>>". A disk can be selected or not selected by entering the number that appears to the left of that disk in the listing. Make sure that only the disk to install to is selected. Verify the disk by its "Location Code" and not by the hdisk number because these may be different from the running system.
After all the disks to be used for installation have been selected, select option 0 to continue. A menu with the heading System Backup Installation and Settings will be displayed. Select option 0, Install with the settings listed above, and the installation will begin.
bootinfo -TRunning this command will return one of the following: rs6k, rspc, chrp, or PAL.
bootinfo -pRunning this command will return one of the following: rs6k, rs6ksmp, or rspc.
WARNING: The type rs6ksmp is not valid at AIX 4.2 even though this command reports it.
The type rspc will be reported for all non-rs6k types.
bootinfo -z 0 = up (single processor) 1 = mp (multi processor)
The following new fields have been added to the bosinst.data file.
RECOVER_DEVICES = yes, no (default - yes) BOSINST_DEBUG = no, yes (default - no) SWITCH_TO_PRODUCT_TAPE = no, yes (default - no)
The RECOVER_DEVICES option allows the choice to recover the customized ODM attributes (for example, network addressing, static routes, tty settings, and multi-port adapter cards).
YES - To recover the source ODM. The file /etc/firstboot will be created and run on reboot. NO - NOT to restore any attributes.
WARNING: Attempting to install customized attributes when the devices are not in exactly the same location will not work and the devices will not be defined. Only use this option when restoring a mksysb back to the system in which it was created.
The BOSINST_DEBUG option allows the install process to debug if something goes wrong. Either use this variable or enter 911 on the initial Installation and Maintenance screen to see debug output. Prior to AIX 4.1.5, there were no set steps to get debug output.
The SWITCH_TO_PRODUCT_TAPE option allows a product tape to be used instead of the cd-rom.
Yes - Boot from tape product media. No - Boot from CD-ROM product media.
NOTE: If you continue to boot from product media, you have the choice of using a cd-rom or tape on an rs6k or rs6ksmp system. For rspc or chrp system types, boot from a cd-rom because no rspc or chrp product tapes are being shipped.
NOTE: The following tip applies to AIX version 4.2. In AIX version 4.3 the OpenGL and PEX_PHIGS device filesets are included on the AIX 4.3 install media.
If the source system is using OpenGL or PEX_PHIGS, there may be some device filesets from these LPs that need to be installed on the target system after the cloning process. OpenGL and PEX_PHIGS have graphics-adapter-specific filesets that are on separate media, so to clone onto a system with a different graphics adapter, do the following on the target system:
echo OpenGL.OpenGL_X.dev > \ /usr/sys/inst.data/user_bundles/graphic_dev.bn echo PEX_PHIGS.dev >> \ /usr/sys/inst.data/user_bundles/graphic_dev.bn
smitty install_bundle
If any filesets are installed, reboot the system before using OpenGL and PEX_PHIGS; otherwise it may cause performance problems.
When booting from 4.2.0 cd-rom installation media and attempting to restore a mksysb which is at 4.2.1, the following errors may be displayed:
0653-341 The file /dev/ipldevice does not exist 0301-150 bosboot: Invalid or no boot device specified. 1) to continue 2) maintenance
WORKAROUND:
export LIBPATH=/../SPOT/usr/lib:$LIBPATH lslv -l hd5 ( --> hdisk# ) ln -f /dev/r<hdisk#> /dev/ipldevice bosboot -ad /dev/ipldevice exit
export LIBPATH=/.../usr/lib:$LIBPATH cd /../usr/lib mv libc.a libc.orig lslv -l hd5 ( --> hdisk# ) ln -f /dev/r<hdisk#> /dev/ipldevice bosboot -ad /dev/iplevice exit
This problem is corrected with AIX 4.2.1 cd-rom media.
[ Doc Ref: 90605198914842 Publish Date: Oct. 16, 2000 4FAX Ref: 9296 ]