HP Systems Insight Manager 7.0 Command Line Interface Guide

Description
The mxnodesecurity command enables a CMS user to add, modify, list, or remove default/global
and node/system credentials in the CMS. The difference between default and node type credentials
should be noted.
All type credentials are stored in the Systems Insight Manager database.
mxnodesecurity -a -p protocol -c username:password [-t on or off ] [-n nodename
]
mxnodesecurity -a -p wbem -c username:password [-t on or off ] -n nodename
[ :Port# ]
mxnodesecurity -a -p snmp -c username:password [-t on or off ] -n nodename
mxnodesecurity -a -p signin -c username:password [-t onoroff ] [-n nodename
]
mxnodesecurity -a -p protocol -c username:password
mxnodesecurity -a -p protocol -c username:password -n @defaultN
mxnodesecurity -a -f filename
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.
mxnodesecurity 79