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.
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 750MB 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.
Notes:
- Depending on the speed of your machine, this could be a very lengthy process.
- This procedure provides the capability for much more than just configuring the NIM master and creating the lpp_source and SPOT resources. However, for this simple configuration, only a subset of the available functions will be used. Advanced NIM administrators can use the SMIT screens accessed through this procedure to create a more complex environment.
- As you develop a better understanding of configuration tasks, you may prefer to not automatically undo all configuration when failures occur (as in step 10 above). Continuing from the last point of failure results in faster configuration for experienced administrators.
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_speed1=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*400)) \ -m /export/lpp_source -A yes -p rw -t no \ -a frag=4096 -a nbpi=4096 -a compress=no
mount /export/lpp_source
nim -o define -t lpp_source -a source=/dev/cd0 \ -a server=master -a location=/export/lpp_source/lpp_source1 \ lpp_source1
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=lpp_source1 \ -a server=master -a location=/export/spot spot1
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
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.
- A SPOT resource is required for supporting diskless and dataless clients. The SPOT created in step 13 can be used for this purpose, so there is no need to create another SPOT specifically for diskless and dataless clients.
- For more information about NIM resources, see "NIM Resources".