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. (required, string, no default)
19
20 cidr_netmask
21 The netmask for the interface in CIDR format. (ie, 24), or in
22 dotted quad notation 255.255.255.0). (optional, string, no
23 default)
24
26 This resource agent supports the following actions (operations):
27
28 start
29 Starts the resource. Suggested minimum timeout: 20s.
30
31 stop
32 Stops the resource. Suggested minimum timeout: 20s.
33
34 monitor
35 Performs a detailed status check. Suggested minimum timeout: 20s.
36 Suggested interval: 10.
37
38 validate-all
39 Performs a validation of the resource configuration. Suggested
40 minimum timeout: 5.
41
42 meta-data
43 Retrieves resource agent metadata (internal use only). Suggested
44 minimum timeout: 5.
45
47 The following is an example configuration for a IPsrcaddr resource
48 using the crm(8) shell:
49
50 primitive p_IPsrcaddr ocf:heartbeat:IPsrcaddr \
51 params \
52 ipaddress=string \
53 op monitor depth="0" timeout="20s" interval="10"
54
56 http://www.linux-ha.org/wiki/IPsrcaddr_(resource_agent)
57
59 Linux-HA contributors (see the resource agent source for information
60 about individual authors)
61
62
63
64resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_IPSRCA(7)