Name

ocf:tomcat — tomcat resource agent

Synopsis

OCF_RESKEY_tomcat_name=string OCF_RESKEY_script_log=string [OCF_RESKEY_tomcat_stop_timeout=integer] [OCF_RESKEY_tomcat_suspend_trialcount=integer] [OCF_RESKEY_tomcat_user=string] [OCF_RESKEY_statusurl=string] [OCF_RESKEY_java_home=string] OCF_RESKEY_catalina_home=string OCF_RESKEY_catalina_pid=string [OCF_RESKEY_tomcat_start_opts=string] [OCF_RESKEY_catalina_opts=string] [OCF_RESKEY_catalina_rotate_log=string] [OCF_RESKEY_catalina_rotatetime=integer] tomcat [start | stop | status | monitor | meta-data | validate-all]

Description

Resource script for tomcat. It manages a Tomcat instance as an HA resource.

Supported Parameters

OCF_RESKEY_tomcat_name=The name of the resource

The name of the resource

OCF_RESKEY_script_log=A destination of the log of this script

A destination of the log of this script

OCF_RESKEY_tomcat_stop_timeout=Time-out at the time of the stop

Time-out at the time of the stop

OCF_RESKEY_tomcat_suspend_trialcount=The re-try number of times awaiting a stop

The re-try number of times awaiting a stop

OCF_RESKEY_tomcat_user=A user name to start a resource

A user name to start a resource

OCF_RESKEY_statusurl=URL for state confirmation

URL for state confirmation

OCF_RESKEY_java_home=Home directory of the Java

Home directory of the Java

OCF_RESKEY_catalina_home=Home directory of Tomcat

Home directory of Tomcat

OCF_RESKEY_catalina_pid=A PID file name of Tomcat

A PID file name of Tomcat

OCF_RESKEY_tomcat_start_opts=Tomcat start options

Tomcat start options

OCF_RESKEY_catalina_opts=Catalina options

Catalina options

OCF_RESKEY_catalina_rotate_log=Rotate catalina.out flag

Rotate catalina.out flag

OCF_RESKEY_catalina_rotatetime=Time span of the rotate catalina.out

Time span of the rotate catalina.out