OCF_HEARTBEAT_JBOSS(7) | OCF resource agents | OCF_HEARTBEAT_JBOSS(7) |
ocf_heartbeat_jboss - Manages a JBoss application server instance
jboss [start | stop | status | monitor | meta-data | validate-all]
Resource script for Jboss. It manages a Jboss instance as an HA resource.
jboss_version
(optional, integer, default 5)
resource_name
(unique, optional, string, default "RESOURCE_ID")
console
(unique, optional, string, default "/var/log/RESOURCE_ID.log")
shutdown_timeout
(optional, integer, default 5)
kill_timeout
(optional, integer, default 10)
user
(optional, string, default "root")
statusurl
(optional, string, default "http://127.0.0.1:8080")
java_home
(optional, string, no default)
java_opts
(optional, string, no default)
jboss_home
(required, string, no default)
jboss_base_dir
(optional, string, no default)
pstring
(optional, string, default "java -Dprogram.name=run.sh")
run_command
(optional, string, default "/bin/run.sh")
run_opts
(optional, string, default "-c default")
shutdown_opts
(optional, string, default "-s 127.0.0.1:1099")
rotate_consolelog
(optional, boolean, default false)
rotate_value
(optional, integer, default 86400)
rotate_logsuffix
(optional, integer, default .%F)
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
The following is an example configuration for a jboss resource using the crm(8) shell:
primitive p_jboss ocf:heartbeat:jboss \
params \
jboss_home=string \
op monitor depth="0" timeout="30s" interval="10s"
The following is an example configuration for a jboss resource using pcs(8)
pcs resource create p_jboss ocf:heartbeat:jboss \
jboss_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)
04/13/2023 | resource-agents 4.12.0-2 |