Adding a diskless or dataless client to the NIM environment from the command line
Follow this procedure for adding a diskless or dataless client to the NIM environment from the command line.
To define a diskless or dataless client,
enter:
nim -o define -t Diskless/Dataless \
-a platform=PlatformType -a netboot_kernel=NetbootKernelType \
-a if1=InterfaceDescription -a net_definition=DefinitionName \
-a ring_speed1=Speedvalue -a cable_type1=TypeValue \
-a iplrom_emu=DeviceName MachineName
Note: For detailed attribute information, see the descriptions
of diskless and dataless clients in NIM machines.
Example 1:
To add the diskless client with the host
name
diskless1
to the NIM environment with the following
configuration: host name=diskless1
platform=rspc
kernel=up
network type=ethernet
subnet mask=255.255.240.0
default gateway=gw1
default gateway used by NIM master=gw_master
cable type=bnc
network boot capability=yes (no emulation needed)
enter
the following command sequence:
nim -o define -t diskless -a platform="rspc" \
-a netboot_kernel="up" -a if1="find_net diskless1 0" \
-a cable_type1="bnc" \
-a net_definition="ent 255.255.240.0 gw1 gw_master" \
diskless1
Example 2:
To
add the dataless client with the host name
dataless1
to the
NIM environment with the following configuration: host name=dataless1
platform=rs6k
netboot_kernel=up
network type=token ring
subnet mask=255.255.225.0
default gateway=gw2
default gateway used by NIM master=gw_master
ring speed=16
network boot capability=no (use emulation on a diskette)
enter the following command sequence:
nim -o define -t dataless -a platform="rs6k" \
-a netboot_kernel="up" -a if1="find_net dataless1 0" \
-a ring_speed1="16" \
-a net_definition="tok 255.255.225.0 gw2 gw_master" \
-a iplrom_emu="/dev/fd0" dataless1
Note: If the find_net keyword
in the if attribute causes NIM to successfully match a network definition
to the client definition, the net_definition attribute is ignored.