ocf_pacemaker_ifspeed - Network interface speed monitor
ifspeed [start | stop | monitor | meta-data |
Every time the monitor action is run, this resource agent records (in the CIB)
(relative) speed of network interface it monitors. This RA can monitor
physical interfaces, bonds, bridges, vlans and (hopefully) any combination of
them. Examples: *) Bridge on top of one 10Gbps interface (eth2) and 802.3ad
bonding (bond0) built on two 1Gbps interfaces (eth0 and eth1). *)
Active-backup bonding built on top of one physical interface and one vlan on
another interface. For STP-enabled bridges this RA tries to some-how guess
network topology and by default looks only on ports which are connected to
upstream switch. This can be overridden by 'bridge_ports' parameter. Active
interfaces in this case are those in "forwarding" state. For
balancing bonds this RA summs speeds of underlying "up" slave
interfaces (and applies coefficient 0.8 to result). For non-balancing bonds
('active-backup' and probably 'broadcast'), only the speed of the currently
active slave is used.
OCF_RESKEY_name = string [ifspeed]
The name of the attribute to set. This is the name to be used in
OCF_RESKEY_iface = string 
Network interface to monitor.
OCF_RESKEY_ip = string 
IPv4 or IPv6 address
Try to detect interface name by detecting the interface that holds
the IP address. The IPv4 (dotted quad notation) or IPv6 address (colon
hexadecimal notation) example IPv4 "192.168.1.1". example IPv6
OCF_RESKEY_bridge_ports = string [detect]
If not null and OCF_RESKEY_iface is a bridge, list of bridge ports
to consider. Default is all ports which have designated_bridge=root_id.
OCF_RESKEY_weight_base = integer 
Weight of 1Gbps
Relative weight of 1Gbps in interface speed. Can be used to tune
how big attribute value will be.
OCF_RESKEY_dampen = integer 
The time to wait (dampening) for further changes to occur.
OCF_RESKEY_debug = string [false]
Andrew Beekhof <email@example.com>
Log what have been done more verbosely.