HP Systems Insight Manager 6.3 Command Line Interface Guide

Systems Insight Manager configuration
There are many commands available to configure the Systems Insight Manager software after it is
installed, including service start and stop, connecting to an Oracle database, initializing Systems
Insight Manager, and managing trusted certificates.
Systems Insight Manager initialization
After installing the Systems Insight Manager software, you must initialize Systems Insight Manager.
The mxinitconfig command initializes Systems Insight Manager.
# mxinitconfig l ; show configuration status
# mxinitconfig a ; configure Systems Insight Manager
# mxinitconfig r ; unconfigure Systems Insight Manager
The mxinitconfig, or mxinitconfig l commands display the configuration status,
including kernel parameter checks, database setup, web server setup, and thirteen other items.
The a parameter configures Systems Insight Manager starting the web services and Systems
Insight Manager services, and initializes the database.
The r parameter removes all configuration information from Systems Insight Manager by
stopping all services and removing the database.
If you are using an Oracle database, run the mxoracleconfig command before running
mxinitconfig, because mxinitconfig initializes the database and the database must be in place
before initialization. To configure the database, use the following command:
# mxoracleconfig h host [n port] d db u 6 p pw [j jar] [f ]
The h host specifies the host name where the Oracle database is installed.
The d db specifies the instance name of the database Systems Insight Manager will use.
This should be a database created for the exclusive use of Systems Insight Manager, created
to use the Unicode character set, AL32UTF8.
The u user option specifies the user authorized to log in to the Oracle database instance.
The p pw option specifies the password for user.
The n port option specifies the Oracle TCP/IP listener service port. If not specified, the
default port 1521 is used.
The j jar option (optional) specifies the location of the thin client jar file containing the
jdbc driver, typically ojdbc14.jar.
The f option (optional) reruns this command.
Typically, you only need to run the mxoracleconfig command once. To rerun initialization, use
the f option.
Systems Insight Manager services
There are two commands that enable you to stop and start the Systems Insight Manager services.
The mxstop command stops all the Systems Insight Manager services and the Tomcat web server.
The mxstart command starts all the Systems Insight Manager services and the Tomcat web server.
Neither command uses any options. After running mxstop, HP recommends that you do not run
mxstart until all the services and related processes are stopped.
On HP-UX and Linux operating systems, run the ps ef | grep mx command until all processes
that start with mx are stopped. If after several minutes, there are mx processes still running, manually
kill the processes using the kill PID command, where PID is the process ID displayed using the ps
ef|grep mx command.
152 Infrastructure management using CLI