Configuring Interoperation Between CE Series Switches and Servers Using Mellanox ConnectX Ethernet Adapter Network Adapters (Fault Tolerance Mode)
Applicable Products and Versions
This example applies to CE series switches of V100R001C00SPC200 or later versions.
Networking Requirements
As shown in Figure 2-7, a server uses a network adapter group consisting of two Mellanox ConnectX Ethernet Adapter network adapters that connect to SwitchA and SwitchB, respectively. It is required that the two network adapters work in active/standby mode. If the active network adapter or interface connected to the active network adapter fails, traffic can be automatically switched to the standby network adapter, preventing service interruptions.
Configuration Roadmap
- Add 10GE1/0/1 of SwitchA and 10GE1/0/1 of SwitchB to the same VLAN.
- Configure the network adapter group to work in fault tolerance mode. In this mode, only the active network adapter in the group transmits data. If the active network adapter or link connected to the active network adapter fails, the standby network adapter takes over data transmission.
Procedure
- Configure a VLAN on CE series switches. Create VLAN 2 and add Ethernet interfaces connected to the server to VLAN 2. The following uses SwitchA as an example. The configuration of SwitchB is similar to that of SwitchA, and is not mentioned here.
<HUAWEI> system-view [~HUAWEI] sysname SwitchA [*HUAWEI] commit [~SwitchA] vlan batch 2 [*SwitchA] interface 10ge 1/0/1 [*SwitchA-10GE1/0/1] port default vlan 2 [*SwitchA-10GE1/0/1] commit
When a 40GE interface on the CE-L36LQ-EG card is connected to an interface on a Mellanox network adapter using a passive QSFP+ high-speed cable, the two interfaces may fail to go Up due to different 40GBASE-CR4 negotiation mechanisms used on the interfaces. In this case, disable the auto-negotiation function on the 40GE interface so that the two interfaces can go Up and communicate properly.
- Configure a network adapter group on the server.
- Choose Start > Control Panel > Network and Sharing Center. Click Change adapter settings. The Network Connections page is displayed.
- Right-click a network adapter to be added to the network adapter group, and click Properties. The Mellanox ConnectX-3 Ethernet Adapter Properties window is displayed.
- Click the LBFO tab page and click Create in the lower left corner to create a network adapter group.
- Enter the network adapter group name, for example, TX, in the Bundle Name text box. In the Bundle Type drop-down list box, choose Fault Tolerance, select network adapters to be added to the network adapter group, and click Commit to complete the network adapter group configuration.
- Choose Start > Control Panel > Network and Sharing Center. Click Change adapter settings. The Network Connections page is displayed. Right-click the created network adapter group, and click Properties.
- Click the Network tab page and double-click Internet Protocol Version 4 (TCP/IPv4) to configure the IP address of the network adapter group.
- In the Internet Protocol Version 4 (TCP/IPv4) Properties window, select an IP address obtaining mode, and click OK.
Checking the Configuration
- On the CE switch, ping the IP address of the server in the user view. The ping succeeds.
Check properties of the created network adapter group TX. On the Network Connections page, right-click the created network adapter group, and click Properties. In the window that is displayed, click Config, and click the Settings tab page. Check the network adapter group status based on information in Table 2-14.