B    Configuring Switches for a Highly Available LAN Interconnect

The recommended highly available LAN interconnect configuration includes two network adapters per member configured as a two-member redundant array of independent network adapters (NetRAIN) virtual interface and connected to two independent switches. Proper operation of NetRAIN in this configuration requires an interswitch link to carry its maintenance and failover traffic. In this no-single-point-of-failure (NSPOF) LAN interconnect configuration, no single failure of the interconnect hardware will disable the whole cluster. However, the failure of this interswitch link can, under certain circumstances, result in a network partition that can cause the removal of up to half of the members from the cluster. (See Section 6.3.3.)

We recommend that you configure an additional interswitch link between the switches to avoid this behavior. However, the introduction of the additional link requires that the switches be additionally configured to avoid packet-forwarding problems caused by the routing loop created by the second link.

Typical switches provide at least one of the following three mechanisms to support parallel interswitch links. In order of decreasing desirability for cluster configurations, the mechanisms are:

Link aggregation

Treats multiple physical links as a single link and distributes packet traffic among them. (Section B.1)

Link resiliency

Treats multiple physical links as an active link and one or more standby links and fails over between them. (Section B.2)

Spanning Tree Protocol

Employs a distributed routing protocol to permit switches to cooperate to remove routing loops. This is an IEEE standard mechanism (IEEE 802-1d). (Section B.3)

The following sections discuss each of these in detail and describe the switch requirements and configuration options appropriate to each mechanism.

B.1    Link Aggregation

If it is supported, link aggregation (also known as port trunking) is the best available solution to implement parallel interswitch links for a highly available LAN interconnect. Using link aggregation, you group the ports on each switch that are cross-cabled to the ports on the other switch. Each set of ports makes up a single virtual link. Traffic between the two switches is sent across the physical links that make up the virtual link.

This configuration provides several benefits:

B.2    Link Resiliency

Some switches support link resiliency. If link aggregation is not supported, link resiliency is the next best option. Resilient links are specifically designed to support link failover. Typically, two links are involved: a main link and a standby link. Only the main link carries traffic between the two switches. When a failure is detected with the main link, the switches immediately start using the standby link. If the main link comes back on line, the switches may either start using the main link again, or they may continue using the standby link.

Like link aggregation, link resiliency supports a quick failover in the event of link failure. However, unlink link aggregation, only one link is in use at a time, so there is no increase in available bandwidth.

B.3    Spanning Tree Protocol (STP)

If neither of the previous two options are supported, you can use parallel links between the switches if both switches support the Spanning Tree Protocol standard (IEEE 802.1d). This industry-wide standard is designed to detect and remove packet loops in a network. When STP is enabled between the switches, only one interswitch link is used. If that link fails, the switches reconfigure themselves and use the other interswitch link, similar to resilient links.

When using STP in a LAN interconnect, the switch must adhere to the following requirements:

When configuring a switch capable of STP in a LAN interconnect, comply with the following rules: