HP Systems Insight Manager 6.0 Command Line Interface Guide

The mxgetdbinfo command displays information about the HP SIM database. Without any parameters,
the database port, database name, user ID, database type, path to executables, and path to data appear.
The following options are supported:
The a option displays the same output as if you did not provide an option.
The h option returns the host name of the server where the database is installed.
The p option returns the TCP/IP port number used to connect to the database.
The d option returns the name of the database used by HP SIM.
The u option returns the username or userID used by HP SIM to log into the database.
The t option returns the database type—SQLServer, PostgreSQL, or Oracle.
The r option (HP-UX only) returns the path to the postgreSQL data directory.
The b option (HP-UX only) returns the path to the postgreSQL program directory.
HP SIM settings
The mxglobalsettings command sets and displays global settings stored in the file
/etc/opt/mx/config/globalsettings.props on HP-UX and Linux, or in the HP SIM installation
directory under config\globalsettings.props on Windows. This file is a text file that contains
configuration data and their default values. To set or display global settings, enter:
# mxglobalsettings s [f] setting=value ; set value(s)
# mxglobalsettings ld [setting ] ; display value(s)
The s option sets or creates entries in the globalsettings.props file. If setting exits in the file, then it
is changed to the specified value. If setting is not in the file, then mxglobalsettings prompts for
confirmation to create a new entry.
If confirmed, the entry is created and sets the initial data to the value you specify in value.
The f option forces creation of the new entry, bypassing the confirmation process.
The ld option displays the settings and their current value in the name = value format. If one or more
setting names are provided, then only those settings are listed. Otherwise, all the settings appear.
HP SIM server certificate
The mxcert command manages the server and trusted certificates in the HP SIM key store.
To create a new server certificate, enter:
# mxcert n CN=common_name ALT=alternative_name(s) OU=organization_unit
O=organization_name L=locality_name ST=state C=country_code
To import a signed server certificate, enter:
# mxcert i f filespec
Where filespec is the full path to the signed certificate file.
To import a trusted certificate, enter:
# mxcert t f filespec
To tell HP SIM to require or not require a trusted certificate, use the b option. For example:
# mxcert b [1|3]
Where the value 3 requires the use of trusted certificates and the value 1 does not require using trusted
certificates. To list the certificates in the key store, use either the ln or ld option. For example:
# mxcert ln | ld
The ln option lists basic information about the certificate.
The ld option lists detailed information about the certificates, including certificate fingerprint data.
The s option synchronizes the server certificate with the server certificate in the SSL shared directory.
The c option creates a Certificate Signing Request.
132 Infrastructure management using CLI