1OCF_PACEMAKER_IFSPEE(7)     Pacemaker Configuration    OCF_PACEMAKER_IFSPEE(7)
2
3
4

NAME

6       ocf_pacemaker_ifspeed - Network interface speed monitor
7

SYNOPSIS

9       OCF_RESKEY_name=string [OCF_RESKEY_iface=string] [OCF_RESKEY_ip=string]
10       [OCF_RESKEY_bridge_ports=string] [OCF_RESKEY_weight_base=integer]
11       [OCF_RESKEY_dampen=integer] [OCF_RESKEY_debug=string] ifspeed [start |
12       stop | monitor | meta-data | validate-all]
13

DESCRIPTION

15       Every time the monitor action is run, this resource agent records (in
16       the CIB) (relative) speed of network interface it monitors. This RA can
17       monitor physical interfaces, bonds, bridges, vlans and (hopefully) any
18       combination of them. Examples: *) Bridge on top of one 10Gbps interface
19       (eth2) and 802.3ad bonding (bond0) built on two 1Gbps interfaces (eth0
20       and eth1). *) Active-backup bonding built on top of one physical
21       interface and one vlan on another interface. For STP-enabled bridges
22       this RA tries to some-how guess network topology and by default looks
23       only on ports which are connected to upstream switch. This can be
24       overridden by 'bridge_ports' parameter. Active interfaces in this case
25       are those in "forwarding" state. For balancing bonds this RA summs
26       speeds of underlying "up" slave interfaces (and applies coefficient 0.8
27       to result). For non-balancing bonds ('active-backup' and probably
28       'broadcast'), only the speed of the currently active slave is used.
29

SUPPORTED PARAMETERS

31       OCF_RESKEY_name = string [ifspeed]
32           Attribute name
33
34           The name of the attribute to set. This is the name to be used in
35           the constraints.
36
37       OCF_RESKEY_iface = string []
38           Network interface
39
40           Network interface to monitor.
41
42       OCF_RESKEY_ip = string []
43           IPv4 or IPv6 address
44
45           Try to detect interface name by detecting the interface that holds
46           the IP address. The IPv4 (dotted quad notation) or IPv6 address
47           (colon hexadecimal notation) example IPv4 "192.168.1.1". example
48           IPv6 "2001:db8:DC28:0:0:FC57:D4C8:1FFF".
49
50       OCF_RESKEY_bridge_ports = string [detect]
51           Bridge ports
52
53           If not null and OCF_RESKEY_iface is a bridge, list of bridge ports
54           to consider. Default is all ports which have
55           designated_bridge=root_id.
56
57       OCF_RESKEY_weight_base = integer [1000]
58           Weight of 1Gbps
59
60           Relative weight of 1Gbps in interface speed. Can be used to tune
61           how big attribute value will be.
62
63       OCF_RESKEY_dampen = integer [5]
64           Dampening interval
65
66           The time to wait (dampening) for further changes to occur.
67
68       OCF_RESKEY_debug = string [false]
69           Verbose logging
70
71           Log what have been done more verbosely.
72

AUTHOR

74       Andrew Beekhof <andrew@beekhof.net>
75           Author.
76
77
78
79Pacemaker Configuration           01/30/2019           OCF_PACEMAKER_IFSPEE(7)
Impressum