HP Systems Insight Manager 7.1 Command Line Interface Guide

<member-node value="system2.corp.com" />
</node-group>
</node-group-list>
To modify existing system groups, the syntax is identical to that for adding system groups however,
you replace the a option with the m: option, for example:
# mxngroup m g grpname [d description] [n [member1 member2 ¦]] [u
[t|f]]
If you do not provide both the optional d and n parameters, then the group is not modified.
Using the d parameter replaces the existing group description with the one you provide.
Using the n option is only recommended for groups that have very few entries because you
must list the systems in the same order as they were added, with new system names in the
place of the systems they are replacing. If you are adding new systems, they must be placed
at the end of the list.
Using the u [t|f] option sets the automatic update feature to enabled or disabled.
The following are examples of modifying a group called grp, with three members, n1, n2, and
n3, listed in the order the groups were created:
# mxngroup m g grp n n4 n2 n3 ; replace n1 with n4.
# mxngroup m g grp n n5 ; n5 is the only member of the group
# mxngroup m g grp n n5 n4 n3 n2 ; add n4, n3, n2 to the group
Use caution when modifying groups from the command line, as the second example illustrates,
the m option is replacing systems in the group.
Using XML syntax to modify a group is more reliable, especially when the group contains many
members. To modify a group that is described in a file called grp.xml, enter:
# mxngroup m f grp.xml
The same rules apply when replacing systems using XML syntax.
To remove a system group, or several system groups, use one of the following commands:
# mxngroup r g grp ; remove group â grpâ
# mxngroup r f grprm.xml ; remove groups listed in XML file grprm.xml
When modifying or removing system groups, HP SIM modifies or removes, respectively, any
authorizations associated with the groups.
Using the mxngroup command you can display group information by group name or group
members, for example:
# mxngroup l [d | f | m | n] g grpname
# mxngroup l [d | f | m | n] n member
The first command displays information about group grpname. The second command displays
information for all the groups that contain the member. If you omit the g grpname or n member
options, then the information for all system groups in HP SIM appear.
The optional parameters define the formatting style and amount of information displayed.
The -d option displays detailed, screen-viewable listing of group information.
The -f option displays group information in XML format.
The -m option displays the members of the group.
The -n option displays the names of the system groups.
Managing toolboxes
The mxtoolbox command enables you to add, modify, remove, or list toolboxes in HP SIM. For
a complete description of mxtoolbox, see the mxtoolbox man page. For a complete description
Managing users and authorizations 151