1OCF_HEARTBEAT_PROFTP(7)       OCF resource agents      OCF_HEARTBEAT_PROFTP(7)
2
3
4

NAME

6       ocf_heartbeat_proftpd - OCF Resource Agent compliant FTP script.
7

SYNOPSIS

9       proftpd [start | stop | monitor | meta-data | validate-all]
10

DESCRIPTION

12       This script manages Proftpd in an Active-Passive setup
13

SUPPORTED PARAMETERS

15       binary
16           The Proftpd binary
17
18           (optional, string, default "/usr/sbin/proftpd")
19
20       conffile
21           The Proftpd configuration file name with full path. For example,
22           "/etc/proftpd.conf"
23
24           (optional, string, default "/etc/proftpd.conf")
25
26       pidfile
27           The Proftpd PID file. The location of the PID file is configured in
28           the Proftpd configuration file.
29
30           (optional, string, default "/var/run/proftpd.pid")
31
32       curl_binary
33           The absolute path to the curl binary for monitoring with
34           OCF_CHECK_LEVEL greater zero.
35
36           (optional, string, default "/usr/bin/curl")
37
38       curl_url
39           The URL which is checked by curl with OCF_CHECK_LEVEL greater zero.
40
41           (optional, string, default "ftp://localhost/")
42
43       test_user
44           The name of the ftp user for monitoring with OCF_CHECK_LEVEL
45           greater zero.
46
47           (optional, string, default "test")
48
49       test_pass
50           The password of the ftp user for monitoring with OCF_CHECK_LEVEL
51           greater zero.
52
53           (optional, string, no default)
54

SUPPORTED ACTIONS

56       This resource agent supports the following actions (operations):
57
58       start
59           Starts the resource. Suggested minimum timeout: 20s.
60
61       stop
62           Stops the resource. Suggested minimum timeout: 20s.
63
64       monitor
65           Performs a detailed status check. Suggested minimum timeout: 20s.
66           Suggested interval: 60s.
67
68       monitor
69           Performs a detailed status check. Suggested minimum timeout: 20s.
70           Suggested interval: 120s.
71
72       validate-all
73           Performs a validation of the resource configuration. Suggested
74           minimum timeout: 20s.
75
76       meta-data
77           Retrieves resource agent metadata (internal use only). Suggested
78           minimum timeout: 5s.
79

EXAMPLE CRM SHELL

81       The following is an example configuration for a proftpd resource using
82       the crm(8) shell:
83
84           primitive p_proftpd ocf:heartbeat:proftpd \
85             op monitor depth="0" timeout="20s" interval="60s" \
86             op monitor depth="10" timeout="20s" interval="120s"
87

EXAMPLE PCS

89       The following is an example configuration for a proftpd resource using
90       pcs(8)
91
92           pcs resource create p_proftpd ocf:heartbeat:proftpd \
93             op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s" \
94             op monitor OCF_CHECK_LEVEL="10" timeout="20s" interval="120s"
95

SEE ALSO

97       http://clusterlabs.org/
98

AUTHOR

100       ClusterLabs contributors (see the resource agent source for information
101       about individual authors)
102
103
104
105resource-agents UNKNOWN           03/25/2021           OCF_HEARTBEAT_PROFTP(7)
Impressum