HP Systems Insight Manager 6.3 Command Line Interface Guide

attempts to write the file in the encoding currently defined on the system. See http://
www.iana.org/assignments/character-sets for the list of valid character sets.
XML file support
The mxngroup command enables administrative rights users to add, modify, or remove system
groups by specifying an XML file containing a list of system groups and system group attributes.
See the Examples section and the mxngroup(4) manpage for more information.
XML input files are processed in two passes:
1. The first pass attempts to parse the XML file and generate a list of system groups to process.
This pass ensures that the XML file is formatted correctly, that the system group names are
valid, and the system group objects contain valid information. During the first pass, if an error
is detected, Systems Insight Manager interrupts the process, issues an error message, and
leaves the database unchanged.
2. If the XML file is successfully processed in the first pass, Systems Insight Manager attempts to
process the system group list collected during the first pass. During the second pass, Systems
Insight Manager processes the system group list until it processes the entire list or it encounters
a logic error, such as specifying a duplicate system group during an add, or specifying a
nonexistent system group during a modify or remove.
If an error occurs during the second pass, Systems Insight Manager interrupts processing and
issues an error message. If the input file contains valid system group data prior to the invalid
data, that data is processed completely, and the database is updated. Data subsequent to
the invalid data is not processed.
Options
-a
Add a group.
-m
Modify a group.
-r
Remove a group.
-l d
Display a detailed screen-viewable list of system group information.
-l f
Display a file-formatted list of system group information (see mxngroup(4) ).
-l m
Display the member systems of the system group.
-l n
Display the names of the system groups.
-f filename
Specify the path and name of the input file for an add, modify, or remove operation.
-g groupname
Specify the name of the group to be added, modified, removed, or listed.
56 Command descriptions