HP System Management Homepage Installation Guide

ScriptDescriptionVariable
/opt/hpsmh/tomcat/conf/tomcat.conf
/opt/hpsmh/tomcat/conf/server.xml
NOTE: The value of Connector port in
/opt/hpsmh/tomcat/conf/server.xml
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 set to 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
only (nothing listens on port 2381, so that port fails). When it contacts port 2301 (http), then the HP-UX
Apache-based Web Server starts on port 2381 (https), and the page redirects.
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
using a web browser and navigating to https://hostname:2381/. Daemons listen on both
http://hostname:2301/ and https://hostname:2381/. If you use port 2301 (http), then the HP-UX
Apache-based Web Server starts on port 2381 (https), and the page automatically redirects.
NOTE: For autostart URL and automatic startup on boot, you can use http://hostname:2301. This
is possible on an HP-UX operating system only.
Manual startup
You can start HP SMH from the HP-UX CLI.
Configure the startup mode of the HP SMH server and the Tomcat instance using
/opt/hpsmh/bin/smhstartconfig script.
Syntax: smhstartconfig [ -a {on|off} -b {on|off} ] [ -t {on|off} ]
Options:
-a {on|off} Enable or disable the autostart URL mode.
-b {on|off} Enable or disable the automatic startup on boot mode.
-t {on|off} Set the Tomcat startup mode where:
on Starts Tomcat when HP SMH starts.
off Starts Tomcat on demand (default).
You can start HP SMH from the HP-UX CLI.
To configure the Apache version to be used by the HP SMH (HP-UX 11i v3), execute the following
script.
smhstartconfig -v {2.0|2.2}
Options where, selecting
2.2 starts HP SMH with "Apache 2.2"
2.0 starts HP SMH with "Apache 2.0"
If you do not specify an option, then smhstartconfig displays the current startup mode. The
smhstartconfig command does not accept -a on and -b on options simultaneously.
20 Installing HP SMH on HP-UX operating systems