HP Systems Insight Manager 7.2 Command Line Interface Guide

The add option lets you add a default or node credential. You can specify an input XML file
that describes credentials for one or more target nodes, or you can declare credentials and
(optionally) a node name on the command line.
If you specify a file name on the command line, the file must be an XML file. See XML file
support section and the mxnodesecurity(4) manpage for details on the required XML file
format. You can also specify the credential characteristics on the command line with the node
name. If the node name is omitted, the default credentials are changed to the new credential
characteristics.
If the node name is included on the command line, mxnodesecurity tries to get the
fully-qualified name for the node. If the fully-qualified name is not available, the IP address is
requested. If an IP address is not available, the name supplied on the command line is used.
The mxnodesecurity application then searches for the node in the database. If the node
exists, the credentials for that node are updated. If the node is not found, a new line item is
added for the node with the credential characteristics.
mxnodesecurity -r -p protocol -n nodename
mxnodesecurity -r -p wbem -n nodename [:Port#]
mxnodesecurity -r -p protocol -n @defaultN [-x fd or fcd ]
mxnodesecurity -r -p protocol [-x fd or fcd ]
mxnodesecurity -r -f filename
The remove option lets you delete a default or node credential. Like the add option, the remove
option enables you to supply a file name with the credentials and node name for deletion.
The remove option enables you to remove one credential at a time based on the node name,
or to remove all credentials of a specified protocol type.
When removing default/global credentials, it may be necessary to use the [-x] (extended)
option to force removal of the specified default/global credential. The reason is that there
may abe instances when the global credential being specified for removal is currently being
used by some node/system as its working credential, the global credential is currently in use.
If you attempt to remove a global credential that is currently in use, the CLI displays an error
message, indicating that the credential was not removed and describing the two methods ([-x])
that can be used to forcefully remove the credential.
To forcefully remove a global credential without copying the credential, use the -x option
with the following argument:
mxnodesecurity -r -p protoName [-x {forceDelete | fd}]
This option can cause loss of communications with some systems. You must fun
identification or discovery to attempt to re-establish working system credentials.
To first copy the credential, then forcefully remove the global credential, use the -x option
with the following argument:
mxnodesecurity -r -p protoName [-x {forceCopyDelete | fd}]
mxnodesecurity -r -p protoName -n @default1 [-x {forceCopyDelete | fd}]
mxnodesecurity -l [-p protocol ] [-n nodename ]
If the user omits the node name during a remove operation, all default/global credentials for
the supplied protocol are removed from the HP SIM database.
The list option enables you to list both default or global and node or system type credentials
stored in the HP SIM credentials database. You can specify a protocol or a node name to
filter the list results.
If the list option is used with the protocol option, all nodes with credentials of the specified
protocol are listed. If the list option is used with the node option, the node is located, and all
80 Command descriptions