This document describes how to clone to an unknown system type using a mksysb tape for rootvg and Sysback for additional volume groups.
The information in this document applies to AIX Versions 4.2 and 4.3 with Sysback V4 only.
When cloning 4.3.0 and 4.3.1 systems that have bos.rte filesets installed at 4.3.2.x
(for example, 4.3.1 systems with bos.rte.libc 4.3.2.x), these systems should first be upgraded to the 4.3.2.0 maintenance
level, and second, should use 4.3.2 bootable media to boot in service mode for cloning.
Related documentation
The documentation library is also available:
http://www.rs6000.ibm.com/resource/aix_resource/Pubs/index.html
To create a mksysb tape on the source system, enter:
mksysb -i /dev/rmt0
If a tape drive other than /dev/rmt0 is being used, subsitute it in the above command.
On the source system, create a Sysback tape by Installation or Volume Group Method:
Use the SMIT interface:
smit AIX System Backup & Recovery/6000 Backup & Recovery Options Backup Options Backup the System (Installation Image)Or, enter the following command:
smit sb_sysback
If volume groups, other than rootvg exist on the system, the following screens will display:
Use the SMIT interface:
smit AIX System Backup & Recovery/6000 Backup & Recovery Options Backup Options Backup Volume GroupsOr, enter the following command:
smit sb_mkvgback
The following screens will display:
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 can be used. If the install tape is used, you may need to switch the install tape and mksysb tape 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 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.
Use the SMIT Interface:
smit AIX System Backup & Recovery/6000 Backup & Recovery Options Recreate Volume Groups, Logical Volumes or Filesystems
Or, enter the following command:
smit sb_create
NOTE: Provided that multiple backups are not stacked on the tape, you can use the default Backup Sequence Number. Otherwise, call your support center for assistance on which image number to use.
smit AIX System Backup & Recovery/6000 Backup & Recovery Options Restore Data from a BackupOr, enter the following command:
smit sb_restore
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: 95797646212204 Publish Date: Oct. 19, 2000 4FAX Ref: 8561 ]