HP Systems Insight Manager 7.1 Command Line Interface Guide

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.
mxexec
Runs a HP SIM tool.
Synopsis
mxexec -t toolname [-u signinuser ] [-p elevationpassword ] [-A argvalue... ]
[-h|-O filespec|-o directory ] [-n target...|-q queryname... ]
mxexec -c [-k] -j job_ID
mxexec [-l n|t] [-i task_id... ] [|-j job_ID... ] [-d date ]
mxexec -l d [-h] -j job_ID...
mxexec 35