1OCF_HEARTBEAT_IPSRCA(7) OCF resource agents OCF_HEARTBEAT_IPSRCA(7)
2
3
4
6 ocf_heartbeat_IPsrcaddr - Manages the preferred source address for
7 outgoing IP packets
8
10 IPsrcaddr [start | stop | monitor | meta-data | validate-all]
11
13 Resource script for IPsrcaddr. It manages the preferred source address
14 modification.
15
17 ipaddress
18 The IP address.
19
20 (required, string, no default)
21
22 cidr_netmask
23 The netmask for the interface in CIDR format. (ie, 24), or in
24 dotted quad notation 255.255.255.0).
25
26 (optional, string, no default)
27
28 destination
29 The destination IP/subnet for the route (default: 0.0.0.0/0)
30
31 (optional, string, default "0.0.0.0/0")
32
33 proto
34 Proto to match when finding network. E.g. "kernel".
35
36 (optional, string, no default)
37
38 table
39 Table to modify. E.g. "local".
40
41 The table has to have a route matching the "destination" parameter.
42
43 (optional, string, no default)
44
46 This resource agent supports the following actions (operations):
47
48 start
49 Starts the resource. Suggested minimum timeout: 20s.
50
51 stop
52 Stops the resource. Suggested minimum timeout: 20s.
53
54 monitor
55 Performs a detailed status check. Suggested minimum timeout: 20s.
56 Suggested interval: 10s.
57
58 validate-all
59 Performs a validation of the resource configuration. Suggested
60 minimum timeout: 5s.
61
62 meta-data
63 Retrieves resource agent metadata (internal use only). Suggested
64 minimum timeout: 5s.
65
67 The following is an example configuration for a IPsrcaddr resource
68 using the crm(8) shell:
69
70 primitive p_IPsrcaddr ocf:heartbeat:IPsrcaddr \
71 params \
72 ipaddress=string \
73 op monitor depth="0" timeout="20s" interval="10s"
74
76 The following is an example configuration for a IPsrcaddr resource
77 using pcs(8)
78
79 pcs resource create p_IPsrcaddr ocf:heartbeat:IPsrcaddr \
80 ipaddress=string \
81 op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
82
84 http://clusterlabs.org/
85
87 ClusterLabs contributors (see the resource agent source for information
88 about individual authors)
89
90
91
92resource-agents UNKNOWN 11/03/2021 OCF_HEARTBEAT_IPSRCA(7)