table of contents
OCF_HEARTBEAT_PROFTP(7) | OCF resource agents | OCF_HEARTBEAT_PROFTP(7) |
NAME¶
ocf_heartbeat_proftpd - OCF Resource Agent compliant FTP script.
SYNOPSIS¶
proftpd [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
This script manages Proftpd in an Active-Passive setup
SUPPORTED PARAMETERS¶
binary
(optional, string, default "/usr/sbin/proftpd")
conffile
(optional, string, default "/etc/proftpd.conf")
pidfile
(optional, string, default "/var/run/proftpd.pid")
curl_binary
(optional, string, default "/usr/bin/curl")
curl_url
(optional, string, default "ftp://localhost/")
test_user
(optional, string, default "test")
test_pass
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a proftpd resource using the crm(8) shell:
primitive p_proftpd ocf:heartbeat:proftpd \
op monitor depth="0" timeout="20s" interval="60s" \
op monitor depth="10" timeout="20s" interval="120s"
EXAMPLE PCS¶
The following is an example configuration for a proftpd resource using pcs(8)
pcs resource create p_proftpd ocf:heartbeat:proftpd \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s" \
op monitor OCF_CHECK_LEVEL="10" timeout="20s" interval="120s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
10/05/2024 | resource-agents 4.15.1-2 |