1OCF_HEARTBEAT_POSTFI(7) OCF resource agents OCF_HEARTBEAT_POSTFI(7)
2
3
4
6 ocf_heartbeat_postfix - Manages a highly available Postfix mail server
7 instance
8
10 postfix [start | stop | monitor | meta-data | validate-all]
11
13 This script manages Postfix as an OCF resource in a high-availability
14 setup.
15
17 binary
18 Full path to the Postfix binary. For example, "/usr/sbin/postfix".
19 (optional, string, default /usr/sbin/postfix)
20
21 config_dir
22 Full path to a Postfix configuration directory. For example,
23 "/etc/postfix". (unique, optional, string, no default)
24
25 parameters
26 The Postfix daemon may be called with additional parameters.
27 Specify any of them here. (optional, string, no default)
28
30 This resource agent supports the following actions (operations):
31
32 start
33 Starts the resource. Suggested minimum timeout: 20s.
34
35 stop
36 Stops the resource. Suggested minimum timeout: 20s.
37
38 reload
39 Suggested minimum timeout: 20s.
40
41 monitor
42 Performs a detailed status check. Suggested minimum timeout: 20s.
43 Suggested interval: 60s.
44
45 validate-all
46 Performs a validation of the resource configuration. Suggested
47 minimum timeout: 20s.
48
49 meta-data
50 Retrieves resource agent metadata (internal use only). Suggested
51 minimum timeout: 5s.
52
54 The following is an example configuration for a postfix resource using
55 the crm(8) shell:
56
57 primitive p_postfix ocf:heartbeat:postfix \
58 op monitor depth="0" timeout="20s" interval="60s"
59
61 http://www.linux-ha.org/wiki/postfix_(resource_agent)
62
64 Linux-HA contributors (see the resource agent source for information
65 about individual authors)
66
67
68
69resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_POSTFI(7)