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

NAME

6       ocf_heartbeat_rsyslog - rsyslog resource agent
7

SYNOPSIS

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

DESCRIPTION

12       This script manages a rsyslog instance as an HA resource.
13

SUPPORTED PARAMETERS

15       configfile
16           This parameter specifies a configuration file for a rsyslog
17           instance managed by this RA.
18
19           (unique, required, string, no default)
20
21       rsyslog_binary
22           This parameter specifies rsyslog's executable file.
23
24           (optional, string, default "/sbin/rsyslogd")
25
26       start_opts
27           This parameter specifies startup options for a rsyslog instance
28           managed by this RA. When no value is given, no startup options is
29           used. Don't use option '-F'. It causes a stuck of a start action.
30
31           (optional, string, no default)
32

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

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

EXAMPLE PCS

67       The following is an example configuration for a rsyslog resource using
68       pcs(8)
69
70           pcs resource create p_rsyslog ocf:heartbeat:rsyslog \
71             configfile=string \
72             op monitor depth="0" timeout="20s" interval="20s"
73

SEE ALSO

75       http://clusterlabs.org/
76

AUTHOR

78       ClusterLabs contributors (see the resource agent source for information
79       about individual authors)
80
81
82
83resource-agents UNKNOWN           03/09/2020           OCF_HEARTBEAT_RSYSLO(7)
Impressum