1OCF_PACEMAKER_IFSPEE(7) Pacemaker Configuration OCF_PACEMAKER_IFSPEE(7)
2
3
4
6 ocf_pacemaker_ifspeed - Network interface speed monitor
7
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]
12
13 ifspeed [start | stop | monitor | meta-data | validate-all]
14
16 Every time the monitor action is run, this resource agent records (in
17 the CIB) (relative) speed of network interface it monitors. This RA can
18 monitor physical interfaces, bonds, bridges, vlans and (hopefully) any
19 combination of them. Examples: *) Bridge on top of one 10Gbps interface
20 (eth2) and 802.3ad bonding (bond0) built on two 1Gbps interfaces (eth0
21 and eth1). *) Active-backup bonding built on top of one physical
22 interface and one vlan on another interface. For STP-enabled bridges
23 this RA tries to some-how guess network topology and by default looks
24 only on ports which are connected to upstream switch. This can be
25 overridden by 'bridge_ports' parameter. Active interfaces in this case
26 are those in "forwarding" state. For balancing bonds this RA summs
27 speeds of underlying "up" slave interfaces (and applies coefficient 0.8
28 to result). For non-balancing bonds ('active-backup' and probably
29 'broadcast'), only the speed of the currently active slave is used.
30
32 OCF_RESKEY_name = string [ifspeed]
33 Attribute name
34
35 The name of the attribute to set. This is the name to be used in
36 the constraints.
37
38 OCF_RESKEY_iface = string []
39 Network interface
40
41 Network interface to monitor.
42
43 OCF_RESKEY_ip = string []
44 IPv4 or IPv6 address
45
46 Try to detect interface name by detecting the interface that holds
47 the IP address. The IPv4 (dotted quad notation) or IPv6 address
48 (colon hexadecimal notation) example IPv4 "192.168.1.1". example
49 IPv6 "2001:db8:DC28:0:0:FC57:D4C8:1FFF".
50
51 OCF_RESKEY_bridge_ports = string [detect]
52 Bridge ports
53
54 If not null and OCF_RESKEY_iface is a bridge, list of bridge ports
55 to consider. Default is all ports which have
56 designated_bridge=root_id.
57
58 OCF_RESKEY_weight_base = integer [1000]
59 Weight of 1Gbps
60
61 Relative weight of 1Gbps in interface speed. Can be used to tune
62 how big attribute value will be.
63
64 OCF_RESKEY_dampen = integer [5]
65 Dampening interval
66
67 The time to wait (dampening) for further changes to occur.
68
69 OCF_RESKEY_debug = string [false]
70 Verbose logging
71
72 Log what have been done more verbosely.
73
75 Andrew Beekhof <andrew@beekhof.net>
76 Author.
77
78
79
80Pacemaker Configuration 05/05/2021 OCF_PACEMAKER_IFSPEE(7)