Infrastructure management using the HP SIM command line interface (436331-002, January 2009)

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 of the
XML syntax required to manage toolboxes using an XML file, see the mxtoolbox(4) man page.
Toolboxes are an integral part of creating authorizations in HP SIM. A toolbox contains a set of
HP SIM tools that one or more users can run on the systems they are authorized to manage. An
example of using toolboxes is to create a toolbox containing tools that apply only to HP-UX systems
and a toolbox containing tools that apply only to Windows systems. This enables HP-UX and
Windows administrators using HP SIM to only see the tools they need.
HP SIM has four predefined toolboxes, All Tools, Monitor Tools, Full Rights, and Limited Rights.
All Tools contains all the predefined tools, and cannot be modified.
Monitor Tools contains tools that monitor, display, view, and report information, and can be
modified.
Full Rights toolbox contains all the tools in the Central Management Server.
Limited Rights toolbox contains only the create and edit reports and tools.
When you install HP Storage Essentials, a toolbox for Storage Essentials tools is added to HP SIM.
The following examples add, modify, and remove toolboxes, respectively:
# mxtoolbox –a tbname [-d description] [-e t|f]; add toolbox “tbname”
# mxtoolbox –m tbname [-d description] [-N newtbname] [-e t|f]; modify
toolbox “tbname”
# mxtoolbox –r tbname ; remove toolbox “tbname”
22