OCF_HEARTBEAT_TOMCAT(7) | OCF resource agents | OCF_HEARTBEAT_TOMCAT(7) |
ocf_heartbeat_tomcat - Manages a Tomcat servlet environment instance
tomcat [start | stop | status | monitor | meta-data | validate-all]
Resource script for Tomcat. It manages a Tomcat instance as a cluster resource.
tomcat_name
-Dname=<tomcat_name> to Tomcat process on start. Used to ensure process is still running and must be unique.
(unique, optional, string, default "tomcat")
script_log
(unique, optional, string, default "/var/log/tomcat.log")
tomcat_stop_timeout
(optional, integer, no default)
tomcat_suspend_trialcount
(optional, integer, no default)
tomcat_user
(optional, string, default "root")
statusurl
(optional, string, default "http://127.0.0.1:8080")
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, default "/logs/catalina.out")
catalina_pid
(unique, optional, string, no default)
force_systemd
(optional, string, default "0")
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, default 86400)
java_endorsed_dirs
(unique, optional, string, no default)
logging_config
(unique, optional, string, no default)
logging_manager
(unique, optional, string, no default)
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
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"
The following is an example configuration for a tomcat resource using pcs(8)
pcs resource create p_tomcat ocf:heartbeat:tomcat \
java_home=string \
catalina_home=string \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="10s"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
12/14/2020 | resource-agents UNKNOWN |