beautypg.com

Port 2301, Multihomed certificate alternative names list, Custom ui – HP Systems Insight Manager User Manual

Page 69: Log-based directory, Configurable logging, Autostart mode

background image

smhconfig -v|--log-level[=] logging-level

NOTE:

Log level only affects new messages written in the HTTP error log. You must perform a soft restart

of the system.

Port 2301

Port 2301 determines whether HP SMH listens on port 2301. If the value is set to True, HP SMH listens on
port 2301. If the value is set to False, HP SMH does not listen on port 2301.

The default is set to True.

smhconfig -T|--port2301[=] True | False

Multihomed certificate alternative names list

You can set the name for the certificate through the multihomed option.

It is important to restart the hpsmhd service when running smhconfig with multihomed values using a single
command on the console (--restart option).

smhconfig -u|--multihomed[=] NAMELIST

smhconfig -u|--multihomed[=] NAMELIST --restart

NAMELIST

must be a semicolon-separated list of IP addresses and hostnames.

Custom UI

Enabling custom UI enables you to customize the signin and header images as well as adding a small text
in the signin page. See the HP SMH README.txt in the hpsmh/data/htdocs/custom_ui directory in
the HP SMH install path.

smhconfig -c|--custom-ui[=] True | False

Log-based Directory

To define a particular directory location (path) to the smh error_log and access_log, use the following
command:

smhconfig -O|--log-base-dir[=] DIR

where, DIR is the directory location (path) of the directory where the log is to be saved.

Configurable Logging

To configure the logs in HP SMH, execute the following command:

smhconfig -q |--config-level[=] Informational | Minor | Warning | Major |

Critical

where, Informational, Minor, Warning, Major, and Critical are the logging levels in HP SMH.

Execute the following command to restart the HP SMH service smhconfig -r.

Any logs of severity greater than or equal to the configuration level set is logged in the smh_enc.log file.

Autostart Mode

Autostart mode is a new feature in HP SMH which, if enabled, stops the Apache server after a user-specfied
timeout (server timeout) period to optimize the system resources. Beyond the server timeout period set, HP
SMH cannot be accessed through port 2381 until it is accessed via port 2301 and thus auto starting HP
SMH on port 2381.

Autostart mode is supported for systems running on Linux operating systems. By default, in HP SMH 6.2 first
installation, Autostart mode is disabled on the HP SMH systems. It can be enabled either from the GUI or
through the Command Line Interface.

To configure autostart mode start up from the Command Line Interface, execute the following command:

smhconfig -D|--autostart TRUE|FALSE

where, selecting TRUE enables the autostart mode and FALSE disables the autostart mode.

Port 2301

69

This manual is related to the following products: