HP Systems Insight Manager 6.0 Command Line Interface Guide

MeaningValue
Database error.102
The CMS is not initialized.222
Unable to connect to the session manager.249
Remote exception.250
Examples
Example 1
To create the system group
group1
containing systems
systema
,
systemb
, and
systemc
, enter mxngroup
-a -g group1 -d "Example system group" -n systema systemb systemc.
Example 2
To modify the system group
group1
by replacing system
systemc
with system
systemd
, enter mxngroup -m
-g group1 -n systema systemb systemd.
Example 3
To update group
group1
enter mxngroup -m -g group1 -u.
Example 4
To update group
group1
from the collection and enable automatic update, enter mxngroup -m -g group1
-ut.
Example 5
To update the group
group1
from the collection and disable automatic update, enter mxngroup -m -g
group1 -uf.
Example 6
To list the member systems of group
group1
enter mxngroup -l m -g group1.
Example 7
To list the names of all system groups that contain the member
systemb
, enter mxngroup -l n -n systemb.
Example 8
To use the XML file test.xml to define a system group named
group1
with a description and two member
systems,
system1.corp.com
and
system2.corp.com
, enter mxngroup -a -f test.xml
The test.xml file might look like:
<?xml version="1.0" encoding="UTF-8"?>
<node-group-list>
<node-group name="group1">
<description>This is group1.</description>
<member-node value="system1.corp.com" />
<member-node value="system2.corp.com" />
</node-group>
</node-group-list>
Example 9
To use the XML file test2.xml to define a system group named
group1
with a description and the member
systems,
system1.corp.com
and
system2.corp.com
, with auto-update enabled, enter mxngroup -a -f
test2.xml The test2.xml file might look like:
<?xml version="1.0" encoding="UTF-8"?>
<node-group-list>
<node-group name="group1" auto-update="true">
Example 1 51