API Doc
Search Docs...
⌘ K
ACOSABSAVEANSABDR

Port bonding

Port bonding forms one logical port by bonding multiple physical network ports. Port bonding can improve the reliability of physical network ports and increase the total bandwidth of physical network ports.

When creating a VDS, ACOS can associate one or more network ports of a physical host with the VDS. When a VDS is associated with multiple network ports, you can set the port bonding mode.

When editing a VDS, if the VDS is associated with multiple physical network ports on the host that are not in the quarantined state and the port bonding mode is active-backup, you can specify a normal port as the active port, and the original active port automatically switches to a backup port.

The supported port bonding types and modes vary depending on the network types included in the virtual distributed switch:

  • The storage network with RDMA enabled is not included: The OVS Bond bonding type is used, and the active-backup, balance-tcp, and balance-slb bonding modes are supported.
  • The storage network with RDMA enabled is included:
    • For newly deployed clusters, the OVS Bond bonding type is used, and only the active-backup and balance-tcp bonding modes are supported.
    • For clusters upgraded from earlier versions to this version, the Linux Bond bonding type is used, and the active-backup, 802.3ad, and balance-xor bonding modes are supported. You are advised to contact Arcfra technical support to manually convert the bonding type to OVS Bond.
    • After conversion to OVS Bond, when the bonding mode is balance-tcp, the system automatically enables Data Channel multipathing to fully utilize bandwidth of multiple network ports and improve storage performance.

OVS Bond

OVS Bond supports the following bonding modes:

  • active-backup

    In this mode, only one network port is active and sends and receives all traffic. Other network ports serve as backup ports. If the active port fails, the system immediately switches to a backup port.

  • balance-slb

    The virtual distributed switch calculates hash values based on the source MAC address and VLAN tag of packets and selects different physical network ports to forward different traffic based on different hash values, implementing load balancing of network ports. You can configure the rebalance interval parameter to set the network port load balancing period.

    This mode has no configuration requirements for the physical switch connected to the physical network ports.

  • balance-tcp

    The VDS uses LACP (Link Aggregation Control Protocol, defined by 802.3ad) and can use multiple network ports for traffic forwarding at the same time. If one network port fails, other network ports automatically take over from the failed port and share the traffic. This mode can fully utilize network bandwidth, implement load balancing, and ensure network transmission reliability.

    In this mode, the VDS supports networking with a single physical switch, stacked switches, and M-LAG switches, but LACP dynamic link aggregation must be enabled on the physical switches.

Linux Bond

Linux Bond supports the following bonding modes:

  • active-backup

    In this mode, only one network port is active and sends and receives all traffic. Other network ports serve as backup ports. If the active port fails, the system immediately switches to a backup port.

  • balance-xor

    The virtual distributed switch calculates hash values based on the source MAC address and destination MAC address of packets and selects different physical network ports to forward different traffic based on different hash values, implementing load balancing of network ports.

    In this mode, static EtherChannel must be configured on the physical switch connected to the VDS. Otherwise, MAC address flapping may occur.

  • 802.3ad

    The VDS uses LACP (Link Aggregation Control Protocol, defined by 802.3ad) and can use multiple network ports for traffic forwarding at the same time. If one network port fails, other network ports automatically take over from the failed port and share the traffic. This mode can fully utilize network bandwidth, implement load balancing, and ensure network transmission reliability.

    In this mode, the VDS supports networking with a single physical switch, stacked switches, and M-LAG switches, but LACP dynamic link aggregation must be enabled on the physical switches.

In this article