HP System Management Homepage Installation Guide, June 2007
the default configuration, you can modify the scripts to properly set the value of the following
variables.
ScriptDescriptionVariable
/opt/hpsmh/lbin/envvars
Points to the directory where JDK is
installed.
JAVA_HOME
/opt/hpsmh/conf/timeout.conf
Defines the SMH timeout in minutes.
If it is not defined or equal to 0 (zero),
then HP SMH is started without
timeout. If present, then HP SMH is
stopped after this time period has
elapsed without any user-activity.
TIMEOUT_SMH
/opt/hpsmh/conf/timeout.conf
Defines the Tomcat timeout in
minutes. If it is not defined or equal
to 0 (zero), then Tomcat is started
without timeout. In this case, Tomcat
is stopped only when HP SMH is
stopped. If present, Tomcat is
stopped after this time period has
elapsed without any request to a Java
web application. By default, the
timeout for the HP-UX Tomcat-based
Servlet Engine is 20 minutes and the
timeout for the HP-UX Apache-based
Web Server is 30 minutes.
TIMEOUT_TOMCAT
Configuring the startup mode
HP SMH supports three startup modes:
• Autostart URL
This mode is the default setting for startup. You can start HP SMH by using a web browser
and navigating to http://hostname:2301/. If autostart is configured as the default,
there is a daemon listening on http://hostname:2301 only (nothing is listening on port 2381
so that port will fail). When it contacts port 2301 (http), then the HP-UX Apache-based Web
Server is started on port 2381 (https) and the page is automatically redirected.
• Automatic startup on boot
This mode starts HP SMH automatically during system initialization. If the automatic startup
on boot start mode is enabled and the system was rebooted using this configuration, you
can access HP SMH by using a web browser and navigating to https://hostname:2381/.
Daemons are listening on both http://hostname:2301/ and https://hostname:2381/. If you
use port 2301 (http), then the HP-UX Apache-based Web Server is started on port 2381 (https)
and the page is automatically redirected.
NOTE: For autostart URL and automatic startup on boot, you can use http://hostname:2301,
as it works in both cases. This is possible on an HP-UX system only.
• Manual startup
You can start HP SMH from the HP-UX command line.
Use the /opt/hpsmh/bin/smhstartconfig script to configure the startup mode of the
HP SMH server and the Tomcat instance that HP SMH uses.
Syntax: smhstartconfig [ -a <on|off> -b <on|off> ] [ -t <on|off> ]
Options:
-a <on|off> Enable/disable the autostart URL mode.
-b <on|off> Enable/disable the automatic startup on boot mode.
Configuring HP SMH 21