ocf_heartbeat_SendArp man page

ocf_heartbeat_SendArp — Broadcasts unsolicited ARP announcements

Synopsis

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

Description

This RA can be used _instead_ of the IPaddr2 or IPaddr RA to send gratuitous ARP for an IP address on a given interface, without adding the address to that interface. For example, if for some resaon you wanted to send gratuitous ARP for addresses managed by IPaddr2 or IPaddr on an additional interface.

Supported Parameters

ip

The IP address for sending ARP packet.

(required, string, no default)

nic

The NIC for sending ARP packet.

(required, string, no default)

background

Send ARPs in background. Set to false if you want to test if sending ARPs succeeded.

(optional, boolean, default true)

Supported Actions

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: 20. Suggested interval: 10.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

Example Crm Shell

The following is an example configuration for a SendArp resource using the crm(8) shell:

primitive p_SendArp ocf:heartbeat:SendArp \
  params \
    ip=string \
    nic=string \
  op monitor depth="0" timeout="20" interval="10"

Example Pcs

The following is an example configuration for a SendArp resource using pcs(8)

pcs resource create p_SendArp ocf:heartbeat:SendArp \
  ip=string \
  nic=string \
  op monitor depth="0" timeout="20" interval="10"

See Also

http://www.linux-ha.org/wiki/SendArp_(r…

Author

Linux-HA contributors (see the resource agent source for information about individual authors)

Info

02/09/2016 resource-agents UNKNOWN OCF resource agents