HP Systems Insight Manager 6.0 Command Line Interface Guide

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
mxconfigrepo -a
mxconfigrepo -r
Description
The mxconfigrepo command enables you to recreate the database (init), merge in updated SQL files for
an upgrade, or search for corrupted records or database inconsistencies. The tool will search the database
for any known issues and verify or fix the database to enable HP SIM to start without requiring a re-install.
mxconfigrepo c
This command enables you to detect and log errors. Run this command from the lbin directory.
mxconfigrepo f
Use mxconfigrepo f if issues exist with the database. Before using this command, stop the HP SIM
service. mxconfigrepo f will remove records from the database which may include users, nodes,
and authorization information. For HP SIM 5.3 and later mxconfigrepo f executes each time HP
SIM restarts.
mxconfigrepo a
mxconfigrepo f is reserved for the installer and creates a new database schema for HP SIM. For
this command to function correctly, the database must not have a schema applied.
mxconfigrepo r
mxconfigrepo r is reserved for the installer and removes the database that HP SIM is using. Under
normal conditions, you should not use mxconfigrepo r. HP recommends uninstalling and reinstalling
the database instead of using this option. For some Linux installations, you can use mxconfigrepo
r and then mxconfigrepo a to clear the database.
Options
-c
Detect and log database errors.
-f
Fixes database errors and inconsistencies.
-a
Creates a new database schema.
-r
Removes the HP SIM database.
Example 4 27