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
16 Note: DHCP should not be enabled for the interface serving the
17 preferred source address. Enabling DHCP may result in unexpected
18 behavior, such as the automatic addition of duplicate or conflicting
19 routes. This may cause the IPsrcaddr resource to fail, or it may
20 produce undesired behavior while the resource continues to run.
21
23 ipaddress
24 The IP address.
25
26 (required, string, no default)
27
28 cidr_netmask
29 The netmask for the interface in CIDR format. (ie, 24), or in
30 dotted quad notation 255.255.255.0).
31
32 (optional, string, no default)
33
34 destination
35 The destination IP/subnet for the route (default: 0.0.0.0/0)
36
37 (optional, string, default "0.0.0.0/0")
38
39 proto
40 Proto to match when finding network. E.g. "kernel".
41
42 (optional, string, no default)
43
44 table
45 Table to modify. E.g. "local".
46
47 The table has to have a route matching the "destination" parameter.
48
49 (optional, string, no default)
50
52 This resource agent supports the following actions (operations):
53
54 start
55 Starts the resource. Suggested minimum timeout: 20s.
56
57 stop
58 Stops the resource. Suggested minimum timeout: 20s.
59
60 monitor
61 Performs a detailed status check. Suggested minimum timeout: 20s.
62 Suggested interval: 10s.
63
64 validate-all
65 Performs a validation of the resource configuration. Suggested
66 minimum timeout: 5s.
67
68 meta-data
69 Retrieves resource agent metadata (internal use only). Suggested
70 minimum timeout: 5s.
71
73 The following is an example configuration for a IPsrcaddr resource
74 using the crm(8) shell:
75
76 primitive p_IPsrcaddr ocf:heartbeat:IPsrcaddr \
77 params \
78 ipaddress=string \
79 op monitor depth="0" timeout="20s" interval="10s"
80
82 The following is an example configuration for a IPsrcaddr resource
83 using pcs(8)
84
85 pcs resource create p_IPsrcaddr ocf:heartbeat:IPsrcaddr \
86 ipaddress=string \
87 op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
88
90 http://clusterlabs.org/
91
93 ClusterLabs contributors (see the resource agent source for information
94 about individual authors)
95
96
97
98resource-agents UNKNOWN 04/06/2022 OCF_HEARTBEAT_IPSRCA(7)