HP Systems Insight Manager 7.1 Command Line Interface Guide

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.
XML file support
The format used for an XML input file is defined by the following example:
<?xml version="1.0" encoding="UTF-8" ?>
<nodelist>
<node name="nodeName"v
<credential protocol="wbem" username="userName" password="userPassword" encoded ="">
</node>
<node name="nodeName2">
<credential protocol="vme:vcenter" username="userName1" password="userPassword2"
encoded=""/>
</nodelist>
If the CMS detects a formatting error while processing an input file, it does not make any changes
to the node security repository. The CMS will interrupt processing and issue an error message.
See mxnodesecurity(4) for more XML usage information.
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 specified node.
since no port number is specified, the credential will use a default port assigned by the CMS.
Although the Try Others option is not explicitly specified, it will be turned on by default for this
particular credential. If this credential already exists 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.
82 Command descriptions