HP Systems Insight Manager 6.0 Command Line Interface Guide

<node-authorization user-name="user1" toolbox-name="webadmin"
node-name="node1.corp.com" />
<node-authorization user-name="user2" toolbox-name="operator"
node-name="node1.corp.com" />
<node-authorization user-name="user3" toolbox-name="dbadmin"
node-name="node2.corp.com" />
</auth-list>
To remove the system authorization, remove the group authorization, and remove authorizations as specified
in the XML file, respectively, replace the a option with the r option in the previous examples.
To view authorizations, use the mxauth lt command. This command lists all of the authorizations for
system authorizations in the format user:toolboxname:n:nodename, and group authorizations in the format,
user:toolboxname:g:groupname.
The mxauth lf command displays authorizations in an XML format.
HP SIM configuration
There are many commands available to configure the HP SIM software after it is installed, including service
start and stop, connecting to an Oracle database, initializing HP SIM, and managing trusted certificates.
HP SIM initialization
After installing the HP SIM software, you must initialize HP SIM. The mxinitconfig command initializes
HP SIM.
# mxinitconfig l ; show configuration status
# mxinitconfig a ; configure HP SIM
# mxinitconfig r ; unconfigure HP SIM
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 HP SIM starting the web services and HP SIM services, and initializes the
database.
The r parameter removes all configuration information from HP SIM 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 HP SIM will use. This should be a database
created for the exclusive use of HP SIM, 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.
HP SIM services
There are two commands that enable you to stop and start the HP SIM services. The mxstop command stops
all the HP SIM services and the Tomcat web server. The mxstart command starts all the HP SIM services
130 Infrastructure management using CLI