HP Integrity rx2800 System Management Homepage Installation Guide - Page 18

Configuring HP SMH, Configuring the startup mode

Page 18 highlights

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 JAVA_HOME Variable 15 TIMEOUT_SMH TIMEOUT_TOMCAT Description Script This variable points to the /opt/hpsmh/lbin/envvars /opt/hpsmh/lbin/envvars directory where JDK is installed. The 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 tag using any value between 6 and 120 minutes. /opt/hpsmh/conf.common/smhpd.xml 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. /opt/hpsmh/conf/timeout.conf 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. /opt/hpsmh/conf/timeout.conf 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 18 Installing HP SMH on HP-UX operating systems

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67

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