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

NAME

6       ocf_heartbeat_rsyncd - Manages an rsync daemon
7

SYNOPSIS

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

DESCRIPTION

12       This script manages rsync daemon
13

SUPPORTED PARAMETERS

15       binpath
16           The rsync binary path. For example, "/usr/bin/rsync"
17
18           (optional, string, default "rsync")
19
20       conffile
21           The rsync daemon configuration file name with full path. For
22           example, "/etc/rsyncd.conf"
23
24           (optional, string, default "/etc/rsyncd.conf")
25
26       bwlimit
27           This option allows you to specify a maximum transfer rate in
28           kilobytes per second. This option is most effective when using
29           rsync with large files (several megabytes and up). Due to the
30           nature of rsync transfers, blocks of data are sent, then if rsync
31           determines the transfer was too fast, it will wait before sending
32           the next data block. The result is an average transfer rate
33           equaling the specified limit. A value of zero specifies no limit.
34
35           (optional, string, no default)
36

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

59       The following is an example configuration for a rsyncd resource using
60       the crm(8) shell:
61
62           primitive p_rsyncd ocf:heartbeat:rsyncd \
63             op monitor depth="0" timeout="20s" interval="60s"
64

EXAMPLE PCS

66       The following is an example configuration for a rsyncd resource using
67       pcs(8)
68
69           pcs resource create p_rsyncd ocf:heartbeat:rsyncd \
70             op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s"
71

SEE ALSO

73       http://clusterlabs.org/
74

AUTHOR

76       ClusterLabs contributors (see the resource agent source for information
77       about individual authors)
78
79
80
81resource-agents UNKNOWN           01/25/2023           OCF_HEARTBEAT_RSYNCD(7)
Impressum