smhstartconfig.1m (2011 03)

smhstartconfig(1M) smhstartconfig(1M)
NAME
smhstartconfig - configures the startup mode of the HPSMH server, of the Tomcat instance used by
HPSMH and the Apache version used by HPSMH.
SYNOPSIS
/opt/hpsmh/bin/smhstartconfig
[-a {on|off}|-b {on|off
}] [-t {on|off}]
[
-v {2.2|2.0}]
DESCRIPTION
The
smhstartconfig
script is used to configure the startup mode of the HPSMH server and of the
Tomcat instance used by HPSMH.
If no options are specified,
smhstartconfig
displays the current configuration.
The
smhstartconfig
command does not accept simultaneously
-a on and -b on options.
Note: The
-t on option will not take effect until at least one Java web application is registered (i.e., the
Tomcat server will not be started if there are no Java web applications available).
Options
The
smhstartconfig
command supports the followings 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 HPSMH starts.
off Start Tomcat on demand (default).
-v {2.2 | 2.0} Configure the Apache version to be used where:
2.2 Start HPSMH with "Apache 2.2"
2.0 Start HPSMH with "Apache 2.0"
RETURN VALUES
The
smhstartconfig command returns:
0 upon successful completion
1 if the command failed
EXAMPLES
Enables autostart:
smhstartconfig -a on
Shows settings:
smhstartconfig
HPSMH ’autostart url’ mode.........: ON
HPSMH ’start on boot’ mode.........: OFF
Start Tomcat when HPSMH starts.....: OFF
HPSMH on Apache 2.2................: ON
HPSMH on Apache 2.0................: OFF
WARNINGS
You must be superuser to run smhstartconfig.
AUTHORS
smhstartconfig was developed by Hewlett-Packard.
HP-UX 11i Version 3: March 2011 1 Hewlett-Packard Company 1

Summary of content (2 pages)