docs/doc/source/node_management/kubernetes/node_interfaces/link-aggregation-settings.rst
Adil be194a5ee1 Added new content for primary reselect
'Configure AE Interfaces using CLI' and 'Link Aggregation Settings'
Included example for primary_reselect option
Created new table (table 3)

Patch 3: acted on comments from review (Teresa).

Patch 4: fixed wrong command line.

Patch 5: acted on comments from Greg (added links to 'Link aggregation settings).

Patch 7: acted on new comments to restructure the topics

Story: 2008706
Task: 42208

https://review.opendev.org/c/starlingx/docs/+/784824


Signed-off-by: Adil <mohamed.adilassakkali@windriver.com>
Change-Id: Id0041bef2a51657e3aa5cf929856c84f71e2a893
2021-04-15 16:04:35 +00:00

6.4 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 slave becomes an active slave whenever it comes back up.

, internal management, and cluster-host

Better The primary slave becomes active slave whenever it comes back up, if the speed and the duplex of the primary slave is better than the speed duplex of the current active slave. , internal management, and cluster-host
Failure The primary slave becomes the active slave only if the current active slave fails and the primary slave is up. , internal management, and cluster-host

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.