HP Systems Insight Manager 7.2 Command Line Interface Guide

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, HP SIM interrupts the process, issues an error message, and leaves the database
unchanged.
2. If the XML file is successfully processed in the first pass, HP SIM attempts to process the system
group list collected during the first pass. During the second pass, HP SIM 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, HP SIM 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.
System group names must be 80 characters or less, and must start with an alphabetic
character. After the first character, system group names can contain alphanumeric,
underscore (_), dash (-), period (.), and embedded blank characters.
60 Command descriptions