table of contents
OCF_HEARTBEAT_TOMCAT(7) | OCF resource agents | OCF_HEARTBEAT_TOMCAT(7) |
NAME¶
ocf_heartbeat_tomcat - Manages a Tomcat servlet environment instance
SYNOPSIS¶
tomcat [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
Resource script for Tomcat. It manages a Tomcat instance as a cluster resource.
SUPPORTED PARAMETERS¶
tomcat_name
-Dname=<tomcat_name> to Tomcat process on start. Used to ensure process is still running and must be unique.
(unique, optional, string, no default)
script_log
(unique, optional, string, no default)
tomcat_stop_timeout
(optional, integer, no default)
tomcat_suspend_trialcount
(optional, integer, no default)
tomcat_user
(optional, string, default "root")
statusurl
(optional, string, no default)
max_stop_time
(optional, integer, no default)
java_home
(required, string, no default)
java_opts
(optional, string, no default)
catalina_home
(required, string, no default)
catalina_base
(unique, optional, string, no default)
catalina_out
(unique, optional, string, no default)
catalina_pid
(unique, optional, string, no default)
tomcat_start_script
(optional, string, no default)
tomcat_start_opts
(optional, string, no default)
catalina_opts
(optional, string, no default)
catalina_tmpdir
(unique, optional, string, no default)
catalina_rotate_log
(optional, boolean, default NO)
catalina_rotatetime
(optional, integer, no default)
java_endorsed_dirs
(unique, optional, string, no default)
logging_config
(unique, optional, string, no default)
logging_manager
(unique, optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
EXAMPLE¶
The following is an example configuration for a tomcat resource using the crm(8) shell:
primitive p_tomcat ocf:heartbeat:tomcat \
params \
java_home=string \
catalina_home=string \
op monitor depth="0" timeout="30s" interval="10s"
SEE ALSO¶
AUTHOR¶
Linux-HA contributors (see the resource agent source for information about individual authors)
03/22/2017 | resource-agents 3.9.2 |