HP Systems Insight Manager 5.3 Command Line Interface reference guide

Example 3
To list the certificates in the keystore (short format), enter mxcert -ln.
Example 4
To list the certificates in the keystore (long format), enter mxcert -ld.
Note: The mxcert output includes the alternative names only for the -ld option.
mxcollection
Adds, lists, modifies, or removes collections and members of collections in HP SIM.
Synopsis
mxcollection -a -f filename
mxcollection -a mem -f filename
mxcollection -m mem -f filename
mxcollection -d existcollname
mxcollection -r mem -f filename
mxcollection -reorder mem -f file-name filename
mxcollection -ln
mxcollection -lf existcollname [-b encoding ]
mxcollection -mv existcollname -from fromparentcollname -to toparentcollname [-branch
sysbranch|evbranch ]
mxcollection -cp existcollname -name newcollname -to toparentcollname [-branch
sysbranch|evbranch ]
mxcollection -a combo newcombocollname -syscoll systemcollname -evcoll eventcollname
-parent toparentcollname [-branch sysbranch|evbranch ]
Description
mxcollection allows you to add, list, modify, copy or delete collections.
NOTE: In earlier HP SIM releases, categories were created and manipulated with mxquery . In HP SIM
5.0 and later, collections are an extension of categories, and are managed with mxcollection, which
allows you to choose members individually by name. You can continue using mxquery to manage collections
that are created by specifying member attributes.
mxcollection -a -f filename
This command allows you to add collections and collection members. Possible collection members
include systems, queries, and other collections. Collection information is provided in an XML file, and
you can add multiple collections with a single file. See the mxcollection(4) manpage and the
Examples section for information about the required XML file format.
During an add operation, HP SIM adds only collections whose names do not reference existing collections
and node groups in the database. If a duplicate name is detected, the duplicate collection is skipped,
and all non-duplicate collections are added. Skipping duplicate collections does not affect the return
value.
mxcollection -a mem -f filename
This command allows you to add members to existing collections. When modifying a collection, you
must be the collection owner or a full configuration rights user.
mxcollection -m mem -f filename
This command allows you to modify the properties of collection members. When modifying a collection
and its contents, you must be the collection owner or a full configuration rights user.
Example 3 25