HP System Management Homepage Installation Guide, February 2007

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.
-t <on|off> Set the Tomcat startup mode where:
on Start Tomcat when HP SMH starts.
off Start Tomcat on demand (default).
If no options are specified, then smhstartconfig displays the current startup mode. The
smhstartconfig command does not accept -a on and -b on options simultaneously.
For more information, see the smhstartconfig(1M) manpage: man smhstartconfig or man
sam
After changing the autostart mode to "on boot" (with the smhstartconfig -b on -a
off command), without rebooting you can start the HP-UX Apache-based Web Server
processes with the /opt/hpsmh/lbin/hpsmh start command.
Configuring HP SMH 23