1OCF_HEARTBEAT_ROUTE(7)        OCF resource agents       OCF_HEARTBEAT_ROUTE(7)
2
3
4

NAME

6       ocf_heartbeat_Route - Manages network routes
7

SYNOPSIS

9       Route [start | stop | monitor | meta-data | validate-all]
10

DESCRIPTION

12       Enables and disables network routes.
13
14       Supports host and net routes, routes via a gateway address, and routes
15       using specific source addresses.
16
17       This resource agent is useful if a node's routing table needs to be
18       manipulated based on node role assignment. Consider the following
19       example use case: - One cluster node serves as an IPsec tunnel
20       endpoint. - All other nodes use the IPsec tunnel to reach hosts in a
21       specific remote network. Then, here is how you would implement this
22       scheme making use of the Route resource agent: - Configure an ipsec LSB
23       resource. - Configure a cloned Route OCF resource. - Create an order
24       constraint to ensure that ipsec is started before Route. - Create a
25       colocation constraint between the ipsec and Route resources, to make
26       sure no instance of your cloned Route resource is started on the tunnel
27       endpoint itself.
28

SUPPORTED PARAMETERS

30       destination
31           The destination network (or host) to be configured for the route.
32           Specify the netmask suffix in CIDR notation (e.g. "/24"). If no
33           suffix is given, a host route will be created. Specify "0.0.0.0/0"
34           or "default" if you want this resource to set the system default
35           route.  (unique, required, string, no default)
36
37       device
38           The outgoing network device to use for this route.  (unique,
39           optional, string, no default)
40
41       gateway
42           The gateway IP address to use for this route.  (unique, optional,
43           string, no default)
44
45       source
46           The source IP address to be configured for the route.  (unique,
47           optional, string, no default)
48
49       table
50           The routing table to be configured for the route.  (optional,
51           string, no default)
52

SUPPORTED ACTIONS

54       This resource agent supports the following actions (operations):
55
56       start
57           Starts the resource. Suggested minimum timeout: 20.
58
59       stop
60           Stops the resource. Suggested minimum timeout: 20.
61
62       monitor
63           Performs a detailed status check. Suggested minimum timeout: 20.
64           Suggested interval: 10.
65
66       reload
67           Suggested minimum timeout: 20.
68
69       meta-data
70           Retrieves resource agent metadata (internal use only). Suggested
71           minimum timeout: 5.
72
73       validate-all
74           Performs a validation of the resource configuration. Suggested
75           minimum timeout: 20.
76

EXAMPLE

78       The following is an example configuration for a Route resource using
79       the crm(8) shell:
80
81           primitive p_Route ocf:heartbeat:Route \
82             params \
83               destination=string \
84             op monitor timeout="20" interval="10" depth="0"
85

SEE ALSO

87       http://www.linux-ha.org/wiki/Route_(resource_agent)
88

AUTHOR

90       Linux-HA contributors (see the resource agent source for information
91       about individual authors)
92
93
94
95resource-agents 3.9.2             07/08/2011            OCF_HEARTBEAT_ROUTE(7)
Impressum