L2 Switch Planning

If your hosts connect through Layer 2 access switches, plan the switch configuration before deployment to avoid boot and provisioning delays.

L2 access switches connect the StarlingX hosts to the different networks. Proper configuration of the access ports is necessary to ensure proper traffic flow.

One or more L2 switches can be used to connect the StarlingX hosts to the different networks. When sharing a single L2 switch you must ensure proper isolation of network traffic. A sample configuration for a shared L2 switch could include:

  • one port-based VLAN for the internal management network with internal cluster host network sharing this same L2 network (default configuration)

  • one port-based VLAN for the OAM network

  • one or more sets of VLANs for additional networks for external network connectivity

When using multiple L2 switches, there are several deployment possibilities:

  • A single L2 switch for the internal management cluster host and OAM networks. Port or MAC-based network isolation is mandatory.

  • An additional L2 switch for the one or more additional networks for external network connectivity.

  • Redundant L2 switches to support link aggregation, using either a failover model, or VPC for more robust redundancy. For more information, see Redundant switch deployment.

Switch ports that send tagged traffic are referred to as trunk ports. They participate in STP from the moment the link goes up, which results in a several second delay before the trunk port moves to the forwarding state. This delay will impact services such as DHCP and PXE that are used during regular operations of StarlingX.

You must consider configuring the switch ports, to which the management interfaces are attached, to transition to the forwarding state immediately after the link goes up. This option is referred to as a PortFast.

You should consider configuring these ports to prevent them from participating on any STP exchanges. This is done by configuring them to avoid processing inbound and outbound BPDU STP packets completely. Consult your switch’s manual for details.

Redundant Switch Deployment

For a system that uses link aggregation on some or all networks, you can configure redundant ToR switches for additional reliability.

In a redundant ToR switch configuration, each link in a link aggregate is connected to a different switch, as shown in the accompanying figure. If one switch fails, another is available to service the link aggregate.

../../_images/jow1438030468959.png

Redundant Top-of-Rack Switches

StarlingX recommends that you use switches that support VPC. When VPC is used, the aggregated links on the switches act as a single LAG interface. Both switches are normally active, providing full bandwidth to the LAG. If there are multiple failed links on both switches, at least one connection in each aggregate pair is still functional. If one switch fails, the other continues to provide connections for all LAG links that are operational on that switch. For more information about configuring VPC, refer to your switch documentation.

You can use an active/standby failover model for the switches, but at a cost to overall reliability. If there are multiple failed links on both switches, then the switch with the greatest number of functioning links is activated, but links on that switch could be in a failed state. In addition, when only one link in an aggregate is connected to an active switch, the LAG bandwidth is limited to the single link.

Note

You can enhance system reliability by using redundant routers. For more information, refer to your router documentation.

With switch planning complete, proceed to Interface Planning Reference for interface configuration details and sharing options.