docs/doc/source/node_management/kubernetes/node_interfaces/link-aggregation-settings.rst
Elisamara Aoki Goncalves 78be69b6f0 Note on unsupported configuration for Link Aggregation is missing (dsR8)
Add Option Support Matrix table
Add combination of modes and settings table

Change-Id: I724dd6efa57b2555d2e6a1830418e2de9234a8ef
Signed-off-by: Elisamara Aoki Goncalves <elisamaraaoki.goncalves@windriver.com>
2024-01-31 21:15:11 +00:00

7.5 KiB

Link Aggregation Settings

supports several link aggregation () operational modes.

If you select link aggregation (also known as aggregated Ethernet) when configuring the management, cluster-host, or networks, you can choose from the following operational modes. For more information, refer to the Linux kernel Ethernet Bonding Driver documentation available online (https://www.kernel.org/doc/Documentation/networking/bonding.txt).

Note

Ensure that the mode on the corresponding switch ports is configured to match your selection.

Table 3. primary_reselect Options
Options Description Supported Interface Types

Always

(default value)

The primary standby becomes an active standby whenever it comes back up.

, internal management, and cluster-host

Better The primary standby becomes active standby whenever it comes back up, if the speed and the duplex of the primary standby is better than the speed duplex of the current active standby. , internal management, and cluster-host
Failure The primary standby becomes the active standby only if the current active standby fails and the primary standby is up. , internal management, and cluster-host
Table 4. Modes and settings Supported
transmitHashPolicy bond_mode primaryReselect (Always/Better/Failure)
N/A active_standby Supported
Layer2 802.3ad N/A
Layer2 balance-xor N/A
N/A active_standby Supported
Layer2+3 802.3ad N/A
Layer2+3 balance-xor N/A
N/A active_standby Supported
Layer3+4 balance-xor N/A
Layer3+4 802.3ad N/A

xmit_hash_policy: Selects the transmit hash policy to use for slave selection in balance-xor, 802.3ad, and tlb modes. Possible values are:

  • layer2: applicable in all 3 modes supported by
  • layer2+3: applicable in all 3 modes supported by
  • layer3+4: This algorithm is not fully 802.3ad compliant.

Note

It is not possible to create NIC bonding with exception. The option primary_reselect must be 'always' for non-platform interfaces.

LAG Configurations for AIO Duplex Systems

For a duplex-direct system set-up, use a mode with active-backup for the management interface when attaching cables between the active and standby controller nodes. When both interfaces are enabled, the system automatically selects the primary interface within the with the lowest address on the active controller to connect to the primary interface within the with the lowest address on the standby controller.

The controllers act independently of each other when selecting the primary interface. Therefore, it is critical that the inter-node cabling is completed to ensure that both nodes select a primary interface that is attached to the primary interface of the opposite node. The inter-node management cabling attachments must be from the lowest address to the lowest address for the first cable, and the next lowest address to the next lowest address for the second cable. Failure to follow these cabling requirements will result in a loss of communication between the two nodes.

In addition to the special cabling requirements, the node BIOS settings may need to be configured to ensure that the node attempts to network boot from the lowest address interface within the . This may be required only on systems that enable all hardware interfaces during network booting rather than only enabling the interface that is currently selected for booting.

Configure the cables associated with the management so that the primary interface within the with the lowest address on the active controller connects to the primary interface within the with the lowest address on standby controller.