1OCF_HEARTBEAT_PURE-(7)        OCF resource agents       OCF_HEARTBEAT_PURE-(7)
2
3
4

NAME

6       ocf_heartbeat_Pure-FTPd - Manages a Pure-FTPd FTP server instance
7

SYNOPSIS

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

DESCRIPTION

12       This script manages Pure-FTPd in an Active-Passive setup
13

SUPPORTED PARAMETERS

15       script
16           The full path to the Pure-FTPd startup script. For example,
17           "/sbin/pure-config.pl"
18
19           (unique, optional, string, default "/sbin/pure-config.pl")
20
21       conffile
22           The Pure-FTPd configuration file name with full path. For example,
23           "/etc/pure-ftpd/pure-ftpd.conf"
24
25           (unique, optional, string, default "/etc/pure-ftpd/pure-ftpd.conf")
26
27       daemon_type
28           The Pure-FTPd daemon to be called by pure-ftpd-wrapper. Valid
29           options are "" for pure-ftpd, "mysql" for pure-ftpd-mysql,
30           "postgresql" for pure-ftpd-postgresql and "ldap" for pure-ftpd-ldap
31
32           (unique, optional, string, no default)
33
34       pidfile
35           PID file
36
37           (optional, string, default
38           "/run/resource-agents/pure-ftpd-RESOURCE_ID.pid")
39

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

62       The following is an example configuration for a Pure-FTPd resource
63       using the crm(8) shell:
64
65           primitive p_Pure-FTPd ocf:heartbeat:Pure-FTPd \
66             op monitor depth="0" timeout="20s" interval="60s"
67

EXAMPLE PCS

69       The following is an example configuration for a Pure-FTPd resource
70       using pcs(8)
71
72           pcs resource create p_Pure-FTPd ocf:heartbeat:Pure-FTPd \
73             op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s"
74

SEE ALSO

76       http://clusterlabs.org/
77

AUTHOR

79       ClusterLabs contributors (see the resource agent source for information
80       about individual authors)
81
82
83
84resource-agents UNKNOWN           11/03/2021            OCF_HEARTBEAT_PURE-(7)
Impressum