
ocf:Route (7)
ocf:Route — Manages network routes
Synopsis
OCF_RESKEY_destination
=string
OCF_RESKEY_device
=string
OCF_RESKEY_gateway
=string
OCF_RESKEY_source
=string
Route
[start | stop
| monitor | reload | meta-data | validate-all]
Description
Enables and disables network routes. Supports host and net routes, routes via a gateway
address, and routes using specific source addresses. This resource agent is useful if a
node's routing table needs to be manipulated based on node role assignment. Consider
the following example use case: - One cluster node serves as an IPsec tunnel endpoint.
- All other nodes use the IPsec tunnel to reach hosts in a specific remote network. Then,
here is how you would implement this scheme making use of the Route resource agent:
- Configure an ipsec LSB resource. - Configure a cloned Route OCF resource. - Create
an order constraint to ensure that ipsec is started before Route. - Create a collocation
constraint between the ipsec and Route resources, to make sure no instance of your
cloned Route resource is started on the tunnel endpoint itself.
Supported Parameters
OCF_RESKEY_destination
=Destination network
The destination network (or host) to be configured for the route. Specify the netmask
suffix in CIDR notation (e.g. "/24"). If no suffix is given, a host route will be cre-
ated. Specify "0.0.0.0/0" or "default" if you want this resource to set the system
default route.
OCF_RESKEY_device
=Outgoing network device
The outgoing network device to use for this route.
HA OCF Agents
247
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......