Use this procedure only if the NIM environment is to be used exclusively for diskless and dataless client management. If the NIM environment is also to be used for installing and maintaining software on standalone machines, follow the procedure for "Configuring the NIM Master and Creating Basic Installation Resources".
Note: This procedure produces a large amount of output, especially when creating the SPOT resource. Be sure to scan through the output to look for nonfatal errors and warnings that may not be evident from a successful return code.
The NIM master must have at least 300MB of available disk space. If such space is not available, see "Using Client Machines as Resource Servers", "Defining /usr versus non-/usr SPOTs", and "Defining an lpp_source on CD-ROM versus Disk".
Note: You can also open a TaskGuide by selecting the icon, then selecting Open from the Selected menu.
Note: In most NIM environments, the SPOT will already exist to support base operating system installation operations on standalone machines. In such environments, it is not necessary to create a new SPOT.
mkdir /cdfs
crfs -v cdrfs -p ro -d'cd0' -m'/cdfs'
mount /cdfs
installp -agX -d /cdfs/usr/sys/inst.images bos.sysmgt.nimor to install the bos.sysmgt.nim fileset from a tape, enter:
installp -agX -d /dev/rmt0 bos.sysmgt.nim
unmount /cdfs
nimconfig -a attr1=value1 \ -a attr2=value2 \ ...For example, to configure a NIM master with the following configuration:
master host name = master1 primary network interface = tr0 ring speed = 16 platform = rspc kernel type = mpenter the following command sequence:
nimconfig -a netname=network1 -a pif_name=tr0 -a ring_speed=16 \ -a platform=rspc -a netboot_kernel=mp
Note: See the "nimconfig Command" for additional attribute information.
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
mount /export/spot
nim -o define -t spot -a source=/dev/cd0 -a server=master \ -a location=/export/spot spot1
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
mount /export/dd_resource
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 root1To 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 dump1To 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 paging1To create the home resource named home1 (optional), enter:
nim -o define -t home -a server=master \ -a location=/export/dd_resource/home1 home1To 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_home1To create the tmp resource named tmp1 (optional), enter:
nim -o define -t tmp -a server=master \ -a location=/export/dd_resource/tmp1 tmp1
Notes:
- The file systems created for the NIM resources are not required, but they can be beneficial for storage management.
- For more information about NIM resources, see "NIM Resources".