HP Systems Insight Manager 6.0 Command Line Interface Guide

Specify a username and password for a WBEM credential. This option is used with -a -p
protocol/wbem.
NOTE: Be careful when entering passwords in the CLI. This makes them available in the command history,
the process list during execution, and the audit log if the command is executed as part of a task. Be sure to
clear your command history or use alternate methods for specifying passwords, for example, a prompt or
input file.
-c readname:writename
Specify a community read name and community write name for an SNMP credential. This
option is used with -a -p snmp.
-t on|off
Turns on or off the
Try Others
option. This option is turned on, HP SIM attempts to use other
credentials for the system if the specified credentials fail. If this option is not specified, it
defaults to on. This option is used in conjunction with -a-a .
-t fc|fcd
Forces the removal of the specified default or global credentials that might be currently in
use by one or more nodes or systems. The
fd
option completely removes the default or
global credential which might result in the loss of communications with the associated
systems. The
fcd
option, copies the credential to any system(s) using the credential first,
preserving communications with the systems.
-n nodename
Specify a node name. This should be the fully-qualified name, if available. This option is
used with -a, -r, and -l. If the "@defaultN" type format is used for the nodename value,
then mxnodesecurity assumes that a default or global type credential is being specified,
where the N value indicates a specific default or global credential as viewed or referenced
in a credentials listing l output.
Return values
MeaningValue
Required configuration files were updated correctly.0
Command line syntax error.1
Error in a file operation or parsing a file.2
Invalid name.21
Remote exception.250
Examples
Example 1
To add a WBEM credential to the HP SIM credentials database for the node
mycomputer.ak.hp.com
, enter
mxnodesecurity -a -p wbem -c username:password -n mycomputer.ak.hp.com. The
username and password are defined uniquely for
mycomputer.ak.hp.com
.
Example 2
To add a WBEM credential to the the HP SIM credentials database for the node
mycomputer.ak.hp.com
and
a specify a port number of
5990
, enter mxnodesecurity -a -p wbem -c username:password
-n mycomputer.ak.hp.com:5990. The username and password are defined uniquely for
mycomputer.ak.hp.com
.
Example 1 69