This fax provides supplemental information, including available options and tips to consider.
WARNING: This procedure is valid ONLY with a mksysb image
and will NOT work with a SYSBACK 6000 system backup.
The AIX and RS/6000 product documentation library is also available:
http://www.rs6000.ibm.com/resource/
On the NIM server, create a file system (for example /mksysb) to hold the mksysb.
To get a rough estimate of the maximum space required, run lsvg rootvg and look at
the USED PPs: column. After the file system has been created, execute the
following command to NFS export it:
Each environment will be different, depending on the machine resources.
The choice of which machine is the master, and which machine is the server,
must be made based on each individual environment.
In the following procedure, the master is the server for all resources. The
CD-ROM is the lpp_source. This will save space, but it will also keep the
CD-ROM busy until all of the client machines have been installed. The user
may not want this condition to occur if InfoExplorer from the CD-ROM is being used.
SPOT must be created from the CD-ROM (see the product documentation or
see "Managing SPOT Resources" in
InfoExplorer).
A separate 200-Mb file system should be created and called /4spot for a
non-/usr SPOT. If the user selects yes to the prompt Expand file systems if space
needed?, the initial size of the file system does not matter. The volume group
nimvg is being used to create the file system. nimvg should be replaced with
the volume group where the user wants the file system to reside.
Next, create an lpp_source with your CD-ROM to save space (see the product
documentation or see "Managing lpp_source Resources" in Info Explorer).
The standalone client needs to be defined as the target machine (see the
product documentation or see "Adding a
Running Client to the NIM Environment" in InfoExplorer).
Creating a customized bosinst.data file is usually used to enable
"no-prompt" installs (see the product documentation or see
"Customizing the BOS Install Program" in
InfoExplorer).
Using a favorite editor, open the following file:
Fill in the appropriate fields below if it is decided to have NIM create the
mksysb from a client.
System Backup Image Creation Options:
Allocate the 420cd, 420spot, clone_mksysb, and
clone_bosinst_data
(optional).
See "Initiating BOS Installation of Standalone Client" in the product
documentation or, at AIX 4.2, in InfoExplorer.
WARNING: YOU MUST BE AT THE NIM CLIENT FOR THIS CASE.
When cloning to a platform with a different kernel type (for example, RS6K ->
RSPC), the first bosboot attempt will FAIL and a message will print asking if
you wish to go into "maintenance mode" or "continue". Select "continue" and
the cloner script will then run. You will see no additional output until the
copyright screen appears just before the system reboots. This problem has been
corrected at AIX 4.1.5.0.
WARNING: The type rs6ksmp is not valid at AIX 4.2 and 4.3 even
though this command reports it. The rspc type will be reported for all
non-rs6k types.
The following new fields have been added to the bosinst.data file.
The RECOVER_DEVICES option allows the user to choose to recover the
customized ODM attributes (for example, network addressing, static routes, tty
settings, and multi-port adapter cards).
WARNING: Do NOT attempt to install customized attributes
when the devices are not in EXACTLY the same location. This is ONLY to be used
when restoring a mksysb back to source system.
The BOSINST_DEBUG option allows the user to see the bos install debug information,
even though the user does NOT wish to set up the NIM DEBUG (for example, because there
is not a tty to boot with). To see debug output, either set the variable to "yes" or enter
"911" on the initial "Installation and Maintenance".
The SWITCH_TO_PRODUCT_TAPE option allows the user to use a product tape
instead of the CD-ROM.
NOTE: In AIX 4.2 and 4.3 the user must continue to boot from product media,
but now there is a choice of using a CD-ROM or tape on an rs6k or rs6ksmp
system. For rspc or chrp system types, you MUST 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 if the user clones onto a
system with a different graphics adapter, the following will need to be done on
the target system:
If any filesets are installed, the user will need to reboot the system
before using OpenGL and PEX_PHIGS. Otherwise, performance problems may be
experienced.
NOTE: If the user has the OpenGL and PEX_PHIGS filesets in the
lpp_source, then a separate bundle may be created and allocated with the
mksysb.
When booting from 4.2.0 CD-ROM installation media and attempting to
restore a mksysb which is at 4.2.1, and the following errors may occur:
WORKAROUND:
FIX: Corrected with AIX 4.2.1 CD-ROM media.
Related Documentation
For complete documentation on NIM, see Info Explorer (at AIX Version 4.2) or order the "Network
Install Management Guite and Reference", PUBS #SC23-2671-01.
Creating a mksysb
/usr/sbin/mknfsexp -d /mksysb -t rw -r \
[ hosts allowed root access ] -B
/usr/sbin/mount <NIMserver>:/mksysb /mksysb
mksysb -i /mksysb/clone.image
tctl -f /dev/rmt0 rewind
tctl -f /dev/rmt0.1 fsf 3
dd if=/dev/rmt0.1 of=/mksysb/clone.image bs=<tpebs>
tpebs = blocksize of the 4th image
Setting Up NIM
Create the NIM environment by choosing and defining a master. Refer to
Chapter 3 of the "Network Install
Management Guide and Reference", "Setting up Master / Network Objects",
for further information on this topic.
mklv -y spotlv nimvg 50
crfs -v jfs -d spotlv -m /420spot
mount /420spot
smitty nim_mkres
spot = Shared Product Object Tree
* Resource Object Name [420spot]
* Resource Type spot
* Server of Resource [master]
* Source of Install Images [/dev/cd0]
* Location of Resource [/420spot]
crfs -v cdrfs -d /dev/cd0 -m /CD -p ro
mount /CD
smitty nim_mkres
lpp_source = source device for optional
product images
* Resource Object Name [420cd]
* Resource Type lpp_source
* Server of Resource [master]
* Location of Resource [/CD/usr/sys/inst.images]
smitty nim_mac
"Define a Machine Object"
cp /usr/lpp/bosinst/bosinst.template /mksysb/bosinst.data
/mksysb/bosinst.data
INSTALL_METHOD = overwrite
EXISTING_SYSTEM_OVERWRITE = yes
target_disk_data:
LOCATION =
SIZE_MB =
HDISKNAME =
bosinst_data = config file used during base
system installation
* Resource Object Name [clone_bosinst_data]
* Resource Type bosinst_data
* Server of Resource [master]
* Location of Resource [/mksysb/bosinst.data]
smitty nim_mkres
mksysb = an AIX mksysb image
* Resource Name [clone_mksys]
* Resource Type mksysb
* Server of Resource [master]
* Location of Resource [/mksysb/clone.image]
CREATE system backup image? no
NIM CLIENT to back []
PREVIEW only? no
IGNORE space requirements? no
EXPAND /tmp if needed? no
Create MAP files? no
Number of BLOCKS to write in a single output []
(leave blank to use system default)
Use local EXCLUDE file? no
(specify no to include all files in backup)
-OR-
EXCLUDE_FILES resource []
(leave blank to include all files in backup)
nim -o allocate -a mksysb=clone_mksysb \
-a bosinst_data=clone_bosinst_data \
-a script=cloner_script \
-a spot=420spot -a lpp_source=420cd <client>
nim -o bos_inst -a source=mksysb <clientname>
nim -o bos_inst -a source=mksysb -a force_push=yes
nim -o bos_inst -a source=mksysb -a no_client_boot=yes
Tips on Creating and Restoring a mksysb Image at AIX 4.2 and 4.3
Creating Tips and Hints
bootinfo -z
Running this command returns one of the following: 0 = up (single processor) or
1 = mp (multiprocessor).
bootinfo -T
Running this command returns one of the following: rs6k, rspc,
chrp, or PAL.
bootinfo -p
Running this command will return one of the following: rs6k, rs6ksmp, or
rspc.
RECOVER_DEVICES = yes, no (default - yes)
BOSINST_DEBUG = no, yes (default - no)
SWITCH_TO_PRODUCT_TAPE = no, yes (default - no)
YES - You wish to recover the source ODM. The file
/etc/firstboot will be created and run on reboot.
NO - You do NOT wish to restore any attributes.
Yes - Boot from tape product media.
No - do not.
Restoring Tips and Hints
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
0653-341 The file /dev/ipldevice does not exist
0301-150 bosboot: Invalid or no boot device specified.
1) to continue
2) maintenance
LIBPATH=/../SPOT/usr/lib:$LIBPATH
export LIBPATH
lslv -l hd5 ( --> hdisk# )
ln -f /dev/r<hdisk#> /dev/ipldevice
bosboot -ad /dev/ipldevice
exit
Dated: 98/11/09~00:00 Category: bak
This HTML file was generated 99/06/24~12:41:56
Comments or suggestions?
Contact us