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
29 This resource agent supports the following actions (operations):
30
31 start
32 Starts the resource. Suggested minimum timeout: 20s.
33
34 stop
35 Stops the resource. Suggested minimum timeout: 20s.
36
37 monitor
38 Performs a detailed status check. Suggested minimum timeout: 20s.
39 Suggested interval: 10.
40
41 validate-all
42 Performs a validation of the resource configuration. Suggested
43 minimum timeout: 5.
44
45 meta-data
46 Retrieves resource agent metadata (internal use only). Suggested
47 minimum timeout: 5.
48
50 The following is an example configuration for a IPsrcaddr resource
51 using the crm(8) shell:
52
53 primitive p_IPsrcaddr ocf:heartbeat:IPsrcaddr \
54 params \
55 ipaddress=string \
56 op monitor depth="0" timeout="20s" interval="10"
57
59 http://www.linux-ha.org/wiki/IPsrcaddr_(resource_agent)
60
62 Linux-HA contributors (see the resource agent source for information
63 about individual authors)
64
65
66
67resource-agents 3.9.2 03/24/2017 OCF_HEARTBEAT_IPSRCA(7)