HP Systems Insight Manager 7.0 Command Line Interface Guide

This is the only option that enables MPO or Contract and Warranty data residing
in an XML file to be recognized and evaluated. MPO and Contract and Warranty
data within the XML is not available with -a because a system must first exist before
the MPO or Contract and Warranty data can be added or modified. MPO or
Contract and Warranty data for a system can be added, modified or removed only
through the use of an external XML file. This data cannot be specified directly on
the command line for add, modify or remove operations.
-f filename
Specify a filename containing systems to be added, modified, or removed. The
contents and format of the xml file are shown in the Examples section. See
mxnode(4) for additional information about using XML input files with mxnode.
-w
Force mxnode to wait until the specified nodes have actually been added to the
database. Using this option ensures that any subsequent operations related to the
added nodes will succeed because the nodes are guaranteed to exist in the
database. Using the wait option will cause an mxnode add or modify operation
to take up to several minutes or longer, depending on the total number of nodes
being added. As a result, the mxnode CLI will take longer to return control to the
user or caller.
-p
The prune option must be used in conjunction with the -m option when you want
to use XML input to remove one or more existing MPOs from a system. Any system's
existing MPO that is omitted from the XML MPO section is removed from the system,
thus the "pruning" operation. When using the -p option to remove MPOs, the
command line format and order is important and should look like: -m -p -f
filename.
-ld systemname(s)
Display a detailed list of system attributes for the specified system or all systems.
-ln systemname(s)
Display a simple list of system names for the specified system or all systems.
-lt systemname(s)
Display a tabular listing of system attributes for the specified system or all systems.
-lmpo
Display a name listing of systems that have one or more associated MPOs.
-lf systemname(s)
Display an XML list of system attributes for the specified system or all systems. The
output from this option is suitable for use as the contents of the filename for the
-f option.
-r [-x force]
Remove the specified systems. Use [-x force] to force the removal of systems
that have dependencies on or from other systems.
-b encoding
Specify the character encoding when used with -lf.
70 Command descriptions