HP Systems Insight Manager 5.3 Command Line Interface reference guide

MeaningValue
Command line syntax error.2
An error occurred during operation.-1
Examples
Example 1
To add the collections
cupertino site
and
building 45
, each with two members, enter: mxcollection -a
-f my_collections.xml .
The contents of my_collections.xml might look like:
<?xml version="1.0" encoding="UTF-8" ?>
<collection-list xmlns="http://www.hp.com/hpsim5.1.0.0">
<collection name="cupertino site" type="system" parent="Systems by Type">
<member name="All Servers" type="query" display-status="0"
default-view="tableview" hidden="false" />
<member name="ovwpc600" type="node" display-status="0" default-view="
tableview" hidden="false" />
</collection>
<collection name="building 45" type="system" parent="cupertino site">
<member name="All Enclosures" type="query" display-status="0"
default-view="tableview" hidden="false" />
<member name="All Racks" type="query" display-status="0"
default-view="tableview" hidden="false" />
</collection>
</collection-list>
Example 2
To create a combination collection named
another new combo
that includes the system collection
All Servers
and the event collection
Important Events
, and is saved in the list of Event collections under the parent
collection
Login Events
, enter mxcollection -a combo "another new combo" -syscoll "All
Servers" -evcoll "All Important Events" -to "Login Events" -branch evbranch.
Example 3
To move a collection called
test collection
from the parent collection
parent1
to the parent collection
parent2
in the list of System collections, enter mxcollection -mv "test collection" -from "parent1"
-to "parent2".
Example 4
To copy a collection called
sample collection
, rename it to
sample collection copy
, and assign the parent
collection Private in the Events list, enter mxcollection -cp "sample collection" -name "sample
collection copy" -to Private -branch evbranch.
See also
mxcollection(4), mxquery(1M)
mxconfigrepo
Verifies and fixes HP SIM database errors. mxconfigrepo is also used by the installer to create or remove
the database.
Synopsis
mxconfigrepo -c
mxconfigrepo -f
28 Command descriptions