Configuring Hp Smh; Configuring The Startup Mode; Variables And Tags - HP Integrity rx5670 Installation Manual

Hp-ux, linux, and microsoft windows operating systems
Hide thumbs Also See for Integrity rx5670:
Table of Contents

Advertisement

6.
Save the bundle to a local directory such as /var/temp.
7.
Install the product to your system:
swinstall -s /var/temp/ depot_filename.depot bundlename
For example: swinstall -s \
/var/temp/SysMgmtHomepage_A2214_HP-UX_B.11.23_IA+PA.depot SysMgmtWeb
8.
Start using HP SMH.

Configuring HP SMH

The HP SMH configuration is based on environment variables and tags that are set by the
/opt/hpsmh/lbin/envvars, /opt/hpsmh/conf.common/smhpd.xml and
/opt/hpsmh/conf/timeout.conf files. To change the default configuration, you can modify the files
to set the value of the following variables and tags to meet your needs.
Table 4-2 Variables and tags
Variable
JAVA_HOME
<session-timeout>15</session-timeout>
TIMEOUT_SMH
TIMEOUT_TOMCAT

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
22
Installing HP SMH on HP-UX operating systems
Description
This variable points to the
/opt/hpsmh/lbin/envvars directory
where JDK is installed.
The <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.
The 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.
This 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.
Script
/opt/hpsmh/lbin/envvars
/opt/hpsmh/conf.common/smhpd.xml
/opt/hpsmh/conf/timeout.conf
/opt/hpsmh/conf/timeout.conf

Advertisement

Table of Contents
loading

Table of Contents