HP Systems Insight Manager 7.2 Command Line Interface Guide

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.
HP SIM passwords
The mxpassword command adds, removes, modifies, and lists SSH key passwords stored by HP
SIM. Passwords appear in clear text. When using this command, ensure that the passwords are
protected.
156 Infrastructure management using CLI