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

NAME

6       ocf_heartbeat_postfix - Manages a highly available Postfix mail server
7       instance
8

SYNOPSIS

10       postfix [start | stop | monitor | meta-data | validate-all]
11

DESCRIPTION

13       This script manages Postfix as an OCF resource in a high-availability
14       setup.
15

SUPPORTED PARAMETERS

17       binary
18           Full path to the Postfix binary. For example, "/usr/sbin/postfix".
19
20           (optional, string, default "/usr/sbin/postfix")
21
22       config_dir
23           Full path to a Postfix configuration directory. For example,
24           "/etc/postfix".
25
26           (unique, optional, string, no default)
27
28       parameters
29           The Postfix daemon may be called with additional parameters.
30           Specify any of them here.
31
32           (optional, string, no default)
33

SUPPORTED ACTIONS

35       This resource agent supports the following actions (operations):
36
37       start
38           Starts the resource. Suggested minimum timeout: 20s.
39
40       stop
41           Stops the resource. Suggested minimum timeout: 20s.
42
43       reload
44           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 postfix resource using
60       the crm(8) shell:
61
62           primitive p_postfix ocf:heartbeat:postfix \
63             op monitor depth="0" timeout="20s" interval="60s"
64

EXAMPLE PCS

66       The following is an example configuration for a postfix resource using
67       pcs(8)
68
69           pcs resource create p_postfix ocf:heartbeat:postfix \
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           11/03/2021           OCF_HEARTBEAT_POSTFI(7)
Impressum