GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OCF_HEARTBEAT_PROFTP(7) OCF resource agents OCF_HEARTBEAT_PROFTP(7)

ocf_heartbeat_proftpd - OCF Resource Agent compliant FTP script.

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

This script manages Proftpd in an Active-Passive setup

binary
The Proftpd binary

(optional, string, default "/usr/sbin/proftpd")

conffile

The Proftpd configuration file name with full path. For example, "/etc/proftpd.conf"

(optional, string, default "/etc/proftpd.conf")

pidfile

The Proftpd PID file. The location of the PID file is configured in the Proftpd configuration file.

(optional, string, default "/var/run/proftpd.pid")

curl_binary

The absolute path to the curl binary for monitoring with OCF_CHECK_LEVEL greater zero.

(optional, string, default "/usr/bin/curl")

curl_url

The URL which is checked by curl with OCF_CHECK_LEVEL greater zero.

(optional, string, default "ftp://localhost/")

test_user

The name of the ftp user for monitoring with OCF_CHECK_LEVEL greater zero.

(optional, string, default "test")

test_pass

The password of the ftp user for monitoring with OCF_CHECK_LEVEL greater zero.

(optional, string, no default)

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 20s.

stop

Stops the resource. Suggested minimum timeout: 20s.

monitor

Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 60s.

monitor

Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 120s.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.

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" 

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" 

http://clusterlabs.org/

ClusterLabs contributors (see the resource agent source for information about individual authors)
04/12/2022 resource-agents 4.10.0

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.