HP Systems Insight Manager 7.2 Command Line Interface Guide

used to sign into the managed system. A node name is not specified when adding default/global
type credentials. The Try Others option is explicitly set to the "on" state. When listing
default/global credentials, the node names are the form of @defaultN, where N is an auto-assigned
numerical value indicating usage precedence.
mxnodesecurity -a -p sign-in|signin -c username:password
Example 7
The command below adds a node/system type credential to the HP SIM database of specified
SIGN-IN protocol for the specified node named mycomputer.ak.hp.com. A Sign-in type credential
is a special protocol independent credential which is used to sign into the managed system. The
Try Others option is explicitly set to the "on" state. If this credential already exist in the HP SIM
credentials database (based off protocol and nodename), then a modify operation is automatically
performed on the credential and the user name and password will be updated.
mxnodesecurity -a -p sign-in|signin -c username:password -n
mycomputer.ak.hp.com
Example 8
The command below adds a default/global type SNMP protocol credential to the HP SIM database
with the Try others option explicitly set to the off state. The read and write community strings
are required for the SNMP type protocol. A node name is not specified when adding default/global
type credentials. When listing default/global credentials, the node names are in the form of
@defaultN, where N is an auto-assigned numerical value indicating usage precedence.
mxnodesecurity -a -p snmp -c readname:writename
Example 9
The command below would modify the user name and password of an existing default/global
credential with a specified protocol type of SSH and a specified nodename of @default3@default3.
The nodename reference used in the command below would be acquired from an mxnodesecurity
list (-l) command. Note that when listing default/global credentials, the node names are in the form
of @defaultN, where N is an auto-assigned numerical value indicating usage precedence.
mxnodesecurity -a -p ssh -c username:password -n @default3
Example 10
The command below adds or modifies credentials in the HP SIM database based on the contents
of the XML file named /home/user1/defs/newcredentials.xml.
mxnodesecurity -a -f /home/user1/defs/newcredentials.xml
Example 11
The command below removes all WBEM credentials for the node named mycomputer.ak.hp.com.
mxnodesecurity -r -p wbem -n mycomputer.ak.hp.com
Example 12
The command below removes all VME credentials for the protocol vCenter and node named
mycomputer.ak.hp.com. Since port is not specified, default port is used. (vCenter - 443, scvmm-
7999)
mxnodesecurity -r -p vme:vcenter -n mycomputer.ak.hp.com
Example 13
The command below removes all VME credentials for the protocol vCenter and node named
mycomputer.ak.hp.com and port 5566.
mxnodesecurity -r -p vme:vcenter -n mycomputer.ak.hp.com:5566
84 Command descriptions