10 Unattended Pristine Installation with IBM Tivoli Configuration Manager
2.3.1 Configuring the master and creating basic installation
resources
Using this procedure, you can configure the NIM master, create the minimum
basic installation resources required to install NIM client machines, and manage
the resources for diskless and dataless clients. There are three ways to do this:
from the Web-Based System Manager, from SMIT, and from the command line
interface. We describe how to do this only from the command line interface.
The NIM master must have at least 750MB of available disk space.
This section covers the following topics:
򐂰 Configuring the master and creating installation resources
򐂰 Adding standalone NIM clients to the NIM environment
򐂰 Verifying the status of your client machine
Configuring the master and creating installation resources
To configure the NIM master and create the basic installation resources:
1. Insert the AIX 5L Version 5.1 Server Product CD or tape into the CD-ROM or
tape drive of the designated master machine.
2. To create a mount point for the CD, enter:
mkdir/cdfs
3. To create a cdrom file system, enter:
crfs -v cdrfs -p ro -d'cd0'-m'/cdfs'
4. To mount the CD, enter:
mount /cdfs
5. To install the bos.sysmgt.nim fileset from the CD, enter:
installp -agX -d /cdfs/usr/sys/inst.images bos.sysmgt.nim
6. To install the bos.sysmgt.nim fileset from the tape, enter:
installp -agX -d /dev/rmt0 bos.sysmgt.nim
7. If installing from CD, to umount the cdrom file system, enter:
umount /cdfs
8. To configure the NIM master using the nimconfig command, enter:
nimconfig -a attr1 =value 1 \
-a attr2 =value2
Chapter 2. Integrating AIX NIM with IBM Tivoli Configuration Manager 11
9. To configure a NIM master with the configuration shown in Table 2-1, enter
the following command:
nimconfig -a netname=network1 -a pif_name=en0 \
-a ring_speed1=16 -a platform=rspc -a netboot_kernel=mp
Table 2-1 NIM configuration attributes
10.To create a file system in the rootvg volume group with 500 MB of space with
a mount point of /export/lpp_source, enter:
crfs -v jfs -g rootvg -a size=$((2000*500)) -m /export/lpp_source -A yes \
-p rw -t no -a frag=4096 -a nbpi=4096 -a compress=no
11.To mount the file system, enter:
mount /export/lpp_source
12.The lpp_source contains the installation images copied from the source
device (in this example, the CD-ROM). The server of the lpp_source will be
the NIM master. The images will be stored in the
/export/lpp_source/lpp_source1 directory. To create the lpp_source resource
named lpp_source1, enter:
nim -o define -t lpp_source -a source=/dev/cd0 \
-a server=master -a location=/export/lpp_source/lpp_source1 lpp_source1
13.To create a file system in the rootvg volume group with 200 MB of space with
a mount point of /export/epot, enter:
crfs -v jfs -g rootvg -a size=$((2000*200)) -m /export/spot -A yes -p rw \
-t no -a frag=4096 -a nbpi=4096 -a compress=no
14.To mount the file system, enter:
mount /export/spot
15.The shared product object tree (SPOT) resource is installed from images in
the image source (in this case, the lpp_source that was created in step 11).
The server of the resource will be the NIM master, and the SPOT will be
Attribute Value
master host name master1
primary network interface tr0
ring speed 16
platform rspc
kernel type mp
12 Unattended Pristine Installation with IBM Tivoli Configuration Manager
stored in the /export/spot/spot1 directory. To create the SPOT resource
named spot1, enter:
nim -o define -t spot -a source=lpp_source1 \
-a server=master -a location=/export/spot spot1
16.If you are not supporting diskless and dataless clients, you do not need to
continue with this procedure. If you are supporting diskless and dataless
clients, create and mount a file system for their resources.
To create a file system in the rootvg volume group with 150 MB of space and
a mount point of /export/dd_resource, enter:
crfs -v jfs -g rootvg -a size=$((2000*150)) -m /export/dd_resource -A yes \
-p rw -t no -a frag=4096 -a nbpi=4096 -a compress=no
17.To mount the file system, enter:
mount /export/dd_resource
18.Create the diskless and dataless client resources in subdirectories of the
/export/dd_resource directory. Not all resources are required. Create only the
resources to be used in your environment.
To create the root resource named root1 (required for diskless and dataless
clients), enter:
nim -o define -t root -a server=master \
-a location=/export/dd_resource/root1 root1
19.To create the dump resource named dump1 (required for diskless and
dataless clients, enter:
nim -o define -t dump -a server=master \
-a location=/export/dd_resource/dump1 dump1
20.To create the paging resource named paging1 (required for diskless clients),
enter:
nim -o define -t paging -a server=master \
-a location=/export/dd_resource/paging1 paging1
21.To create the home resource named home1 (optional), enter:
nim -o define -t home -a server=master \
-a location=/export/dd_resource/home1 home1
22.To create the shared_home resource named shared_home1 (optional), enter:
nim -o define -t shared-home -a server=master \
-a location=/export/dd_resource/shared_home1 shared_home1
23.To create the tmp resource named tmp1 (optional), enter:
nim -o define -t tmp -a server=master \
-a location=/export/dd_resource/tmp1 tmp1

Get Unattended Pristine Installation with IBM Tivoli Configuration Manager now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.