System Management Homepage 6.3 Installation and Configuration Guide

To change the default configuration, you can modify the files to set the value of the variables and tags
described in Table 3-2 “Variables and tagstable.
Table 3-2 Variables and tags
ScriptDescriptionVariable
/opt/hpsmh/lbin/envvarsThis variable points to the
/opt/hpsmh/lbin/envvars directory
where JDK is installed.
JAVA_HOME
/opt/hpsmh/conf.common/smhpd.xmlThe <session-timeout> tag defines the HP
SMH session timeout in minutes. If it is
defined, then the HP SMH session stops
after the time period has elapsed without
any user activity. If it is not defined, then
the default for the HP SMH session timeout
is 15 minutes. You can define the
<session-timeout> tag using any value
between 6 and 120 minutes.
<session-timeout>15</session-timeout>
/opt/hpsmh/conf/timeout.confThe TIMEOUT_SMH environment variable
defines the HP SMH server timeout in
minutes. If it is defined and lower than the
HP SMH session timeout, the HP SMH
server stops 3 minutes after the HP SMH
session timeout. If it is defined and greater
than the HP SMH session timeout, then the
HP SMH server stops after the time period
has elapsed without any user activity. If it
is not defined or equal to zero, then HP
SMH starts without timeout. When the
"automatic startup on boot" startup mode
is in use, the timeout mechanism does not
start.
TIMEOUT_SMH
/opt/hpsmh/conf/timeout.confThis variable defines the Tomcat timeout in
minutes in the
/opt/hpsmh/conf/timeout.conf file.
If it is defined, Tomcat istops 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. If it is not defined or equal to
zero, then Tomcat starts without timeout. In
this case, Tomcat stops only when HP SMH
is stopped.
TIMEOUT_TOMCAT
/opt/hpsmh/tomcat/conf/tomcat.conf
/opt/hpsmh/tomcat/conf/server.xml
NOTE: The value of the Connector port in
the
/opt/hpsmh/tomcat/conf/server.xml
file should match the port number mentioned
in the
/opt/hpsmh/tomcat/conf/tomcat.conf
file for successful communication between
the HP SMH Apache and Tomcat process.
Restart the HP SMH process whenever there
is a change in this port value.
With HP SMH running on Apache 2.2, this
parameter defines the port used for
communication between the Apache server
and the Tomcat server. The default value
is 1188.
TOMCAT_PORT=1188
TOMCAT_PORT (HP-UX 11i v3)
Configuring the startup mode
HP SMH supports three startup modes:
Autostart URL
This mode is the default setting. You can start HP SMH by using a web browser and navigating to
http://hostname:2301/. If autostart is the default, a daemon listens on http://hostname:2301
Configuring HP SMH 17