HP Systems Insight Manager 7.0 Command Line Interface Guide

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 Systems Insight Manager 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
Example 14
The command below removes all default/global (and only default/global) type credentials in the
Systems Insight Manager of the specified protocol type/name.
mxnodesecurity -r -p protocol
Example 15
The command below removes the specified default/global type credential (as specified by the
numeric N value) in the Systems Insight Manager of the specified protocol type/name. 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 -r -p protocol -n @defaultN
Example 16
The command below removes credentials in the Systems Insight Manager database based on the
contents of the XML file named /home/user1/defs/oldcredentials.xml.
mxnodesecurity -r -f /home/user1/defs/oldcredentials.xml
Example 17
The command below displays the list of all default/global and node/system credentials contained
in the Systems Insight Manager database.
mxnodesecurity -l
84 Command descriptions