Custom ui, Log-based directory, Configurable logging – HP Serveur lame HP ProLiant BL680c G5 User Manual

Page 62: Autostart mode, Httpd error log

Advertising
background image

Custom UI

Enabling custom UI enables you to customize the sign-in and header images as well as adding a
small text in the sign-in 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 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.

When Autostart mode is enabled, you can set the timeout in minutes for the server timeout value
between 1 and 60 minutes (default value is 30 minutes)

To set the server timeout in minutes, execute the following command: smhconfig
-F|--timeoutsmh(1-60)

where, (1-60) corresponds to the time in minutes for the server timeout.

Restart the HP SMH application for the Apache server to use the newly-configured values.

NOTE:

Enabling the Autostart mode enables port 2301.

Httpd Error log

The httpd error log option enables you to determine if it is possible to view the httpd error_log
log file through the user interface.

smhconfig -p|--httpd-error-log[=] True | False

62

Command Line Interface configuration

Advertising
This manual is related to the following products: