Using the Node Management Services (NMS) Utilities (32022-90053)

84 Chapter5
Using NMMGR in Maintenance Mode
ADDNODE
ADDNODE
Adds or updates a node in the current network directory.
Syntax
ADDNODE [filename]
Parameters
filename The name of a text file that contains node name and
address information for each node to be added or
updated in the network directory. The format for the
file name is:
filename[.groupname[.accountname]]
A file lockword may not be specified. The contents of the
file must be formatted as described here.
Description
ADDNODE adds or updates nodes in the network directory. New nodes
are automatically created when they are entered. New path reports (IP
address/additional address pairs) can be added to new or existing
nodes. Path reports on existing nodes can be modified.
The directory file must be opened either via the Open
Configuration/Directory File screen or via the OPENDIR maintenance
mode command before ADDNODE can be used.
This command can be run interactively, by entering maintenance mode
from screen mode and typing the command, or it can be run from a
batch job.
When the command is run interactively and no filename is specified,
you are prompted to enter parameters for each node. When the
command is run interactively and a filename is specified, or when the
command is run from a job, parameters for each node name entry are
formatted as follows:
nodename[,] “IP address”[,] [additional address type[,][additional address]] [;]
The description of each parameter that must be defined when the
command is run from a job or with a filename specified is as follows:
nodename The name of a node to be added or updated with new
path report data. The format is:
nodename.domain.organization
Each of the three names may be from one to sixteen
characters long, must begin with a letter, and may
contain letters, digits, underscores, or dashes.
If the nodename does not exist, it will be created. If it
does exist, the IP address and additional address (if
any) will be added to its path report list in the directory.