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

SUPPORTED ACTIONS

45       This resource agent supports the following actions (operations):
46
47       start
48           Starts the resource. Suggested minimum timeout: 20s.
49
50       stop
51           Stops the resource. Suggested minimum timeout: 20s.
52
53       monitor
54           Performs a detailed status check. Suggested minimum timeout: 20s.
55           Suggested interval: 60s.
56
57       monitor
58           Performs a detailed status check. Suggested minimum timeout: 20s.
59           Suggested interval: 120s.
60
61       validate-all
62           Performs a validation of the resource configuration. Suggested
63           minimum timeout: 20s.
64
65       meta-data
66           Retrieves resource agent metadata (internal use only). Suggested
67           minimum timeout: 5s.
68

EXAMPLE

70       The following is an example configuration for a proftpd resource using
71       the crm(8) shell:
72
73           primitive p_proftpd ocf:heartbeat:proftpd \
74             op monitor depth="0" timeout="20s" interval="60s" \
75             op monitor depth="10" timeout="20s" interval="120s"
76

SEE ALSO

78       http://www.linux-ha.org/wiki/proftpd_(resource_agent)
79

AUTHOR

81       Linux-HA contributors (see the resource agent source for information
82       about individual authors)
83
84
85
86resource-agents 3.9.2             07/08/2011           OCF_HEARTBEAT_PROFTP(7)
Impressum