Configures the Network Installation Management (NIM) client package.
To Configure the NIM Client Package
niminit{-a name=Name -a pif_name=Pif -a master=Hostname} [ -a master_port=PortNumber ] [ -a registration_port=PortNumber ] [ -a cable_type=Type | -a ring_speed=Speed] [-a iplrom_emu=Device ] [ -a platform=PlatformType ] [ -a netboot_kernel=NetbootKernelType ] [-a adpt_add=AdapterAddress] [ -a is_alternate= yes | no ] [ -a connect=value ] [ -a vlan_tag=value] [-a vlan_pri=value]
To Rebuild the /etc/niminfo File
niminit {-a name=Name -a master=Hostname -a master_port=PortNumber}
The niminit command configures the NIM client package. This must be done before the nimclient command can be used. When the required attributes are supplied to the niminit command, a new machine object will be created to represent the machine where the niminit command is being executed. When the niminit command completes successfully, the machine will be able to participate in the NIM environment.
After the NIM client package has been successfully configured, the niminit command can be run again to rebuild the /etc/niminfo on the client. The /etc/niminfo file is used by the nimclient command and must be rebuilt if it is accidentally removed by a user.
This command configures an alternate_master when the is_alternate attribute is set to yes. The bos.sysmgt.nim.master fileset must be installed prior to configuring an alternate_master. Once the configuration of an alternate_master is successful, the master that it registered with will be able to run alternate_master operations on this machine.
Item | Description | Attribute Description |
---|---|---|
-a | Specifies up to five different attributes for the niminit command. All of the following attribute=value pairs are preceded by the -a flag: | |
name=Name | Specifies the name that NIM will use to identify the workstation. This value is required. | |
pif_name=Pif | Defines the name of the network interface for all NIM communications. This value is required. | |
master=Hostname | Specifies the hostname of the NIM master. The client must have the ability to resolve this hostname to an Internet Protocol (IP) address. This value is required. | |
master_port=PortNumber | Specifies the port number of the nimesis daemon used for NIM communications. | |
cable_type=CableType | Specifies the ethernet cable type. When the pif_name refers to an ethernet network, this value must be given. Acceptable values are: bnc, dix, and N/A. | |
ring_speed=Speed | Speed in Mbps. When the pif_name refers to a token ring network, this value must be given. Acceptable values are: 4 and 16. | |
iplrom_emu=Device | Specifies a device that contains a ROM emulation image. This image is required for models that do not have internal support for booting via network interface. | |
platform=PlatformType | Specifies the platform
that corresponds to the client's machine type. If this attribute is
not specified, the default, chrp, will be used. The supported
platforms are:
|
|
adpt_add=AdapterAddress | Specifies the hardware address that corresponds to the network adapter. | |
registration_port=PortNumber | Specifies the port number
used for NIM client registration. Note:
|
|
netboot_kernel= NetbootKernelType | Specifies the type of
kernel to use when booting the client over the network. The netboot_kernel values
are:
The default is up. |
|
is_alternate=[yes|no] | Set this to yes if this machine is to be configured as an alternate_master. | |
connect=value | Specifies the communicating service used by the NIM client for remote execution of NIM commands. Value options are shell (for rsh) and nimsh. The default setting is connect=shell. This attribute is optional. If the is_alternate attribute is set to yes then nimsh is the default setting, and is the only valid value. Using the is_alternate attribute is optional. | |
vlan_tag=value | Specifies the virtual logical area network (VLAN) identifier that is used for VLAN tagging. The ID is used to identify the VLAN to which the Ethernet frame must belong. The ID allows the network administrator to organize the client's communication logically rather than assigning the network to the subnet. The VLAN tagging value is used by NIM to perform a network boot of a client. The configuration of the VLAN tag communication must be handled outside of NIM before using the value. Valid values are 0 - 4094. | |
vlan_pri=value | Specifies the virtual logical area network (VLAN) priority that is used for VLAN tagging. The priority value, along with the VLAN tag, is used to identify the VLAN to which the Ethernet frame must belong. The priority allows the network administrator to organize the client's communication logically rather than assigning the network to the subnet. The VLAN tagging value is used by NIM to perform a network boot of a client. The configuration of the VLAN tag communication must be handled outside of NIM before using the value. Valid values are 0 - 7. |
Access Control: You must have root authority to run the niminit command.
Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.
niminit -a name=scuba -a pif_name=en0 -a cable_type=bnc \
-a master=manta
niminit -a name=robin -a master=superman -a master_port=1058
niminit -a name=starfish -a pif_name=en0 -a cable_type=dix \
-a master=whale -a master_port=1058 -a platform=rspc
niminit -a name=bluefish -a pif_name=at0 -a master=redfish \
-a master_port=1058
niminit -a name=jellyfish -a pif_name=en0 -a cable_type=dix \
-a master=whale -a master_port=1058 -a platform=rspcsmp
niminit -a iplrom_emu=/dev/fd0 -a name=octopus -a pif_name=tr0 \
-a ring_speed=16 -a master=dolphin -a master_port=1700 \
-a registration_port=1701
niminit -a is_alternate=yes -a name=octopus -a pif_name=en0 \
-a cable_type=bnc -a master=dolphin
Item | Description |
---|---|
/etc/niminfo | Contains variables used by NIM. |