GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OCF_HEARTBEAT_ROUTE(7) OCF resource agents OCF_HEARTBEAT_ROUTE(7)

ocf_heartbeat_Route - Manages network routes

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

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 colocation constraint between the ipsec and Route resources, to make sure no instance of your cloned Route resource is started on the tunnel endpoint itself.

destination
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 created. Specify "0.0.0.0/0" or "default" if you want this resource to set the system default route.
(unique, required, string, no default)
device
The outgoing network device to use for this route.
(optional, string, no default)
gateway
The gateway IP address to use for this route.
(optional, string, no default)
source
The source IP address to be configured for the route.
(optional, string, no default)
table
The routing table to be configured for the route.
(optional, string, no default)
family
The address family to be used for the route ip4 IP version 4 ip6 IP version 6 detect Detect from 'destination' address.
(required, string, default "detect")

This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20s.
stop
Stops the resource. Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10s.
reload
Suggested minimum timeout: 20s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

The following is an example configuration for a Route resource using the crm(8) shell:
primitive p_Route ocf:heartbeat:Route \
  params \
    destination= string \
    family="detect" \
  op monitor timeout="20s" interval="10s" depth="0" 

The following is an example configuration for a Route resource using pcs(8)
pcs resource create p_Route ocf:heartbeat:Route \
  destination= string \
  family="detect" \
  op monitor timeout="20s" interval="10s" depth="0" 

http://clusterlabs.org/

ClusterLabs contributors (see the resource agent source for information about individual authors)
01/01/2019 resource-agents UNKNOWN

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.