No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei SAN Storage Host Connectivity Guide for SUSE

HUAWEI SAN Storage Host Connectivity Guide for SUSE Linux Servers
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Switch Configuration

(Optional) Switch Configuration

This section describes how to configure Ethernet switches, including configuring VLANs and binding ports. Skip this section if you use direct-attached connections.

Configuring VLANs

When many hosts are connected by an Ethernet network, a large number of broadcast packets are generated during communication between the hosts. Broadcast packets sent from one host will be received by all the other hosts on the network, consuming considerable bandwidth. Moreover, all hosts on the network can access each other, leaving data vulnerable to security risks.

Dividing hosts on an Ethernet network into multiple logical groups helps save bandwidth and prevent security risks. Each logical group is a VLAN. The following uses Huawei Quidway 2700 Ethernet switch as an example to explain how to configure VLANs.

In the following example, two VLANs (VLAN 1000 and VLAN 2000) are created. VLAN 1000 contains ports GE 1/0/1 to 1/0/16. VLAN 2000 contains ports GE 1/0/20 to 1/0/24.

  1. Go to the system view.

    <Quidway>system-view 
    System View: return to User View with Ctrl+Z.

  2. Create VLAN 1000 and add ports to it.

    [Quidway]VLAN 1000 
    [Quidway-vlan1000]port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/16

  3. Configure an IP address for VLAN 1000.

    [Quidway-vlan1000]interface VLAN 1000 
    [Quidway-Vlan-interface1000]ip address 192.168.5.1 255.255.255.0

  4. Create VLAN 2000, add ports, and configure an IP address.

    [Quidway]VLAN 2000 
    [Quidway-vlan2000]port GigabitEthernet 1/0/20 to GigabitEthernet 1/0/24 
    [Quidway-vlan2000]interface VLAN 2000 
    [Quidway-Vlan-interface2000]ip address 192.168.6.1 255.255.255.0

Binding Ports

When storage systems and hosts are connected point-to-point, existing bandwidth may be insufficient for storage data transmission. Moreover, redundancy in connection cannot be achieved in point-to-point connection. To address these problems, ports are bound (link aggregation) to improve bandwidth and balance loads among multiple links.

Three Ethernet link aggregation modes are available:

  • Manual aggregation

    Commands are run to add ports to an aggregation group. Ports added to the aggregation group must have the same link type.

  • Static aggregation

    Commands are run to add ports to an aggregation group. Ports added to the aggregation group must have the same link type and LACP must be enabled.

  • Dynamic aggregation

    The protocol dynamically adds ports to an aggregation group. Ports added in this way must have LACP enabled and the same speed, duplex mode, and link type.

Table 5-2 compares these aggregation modes.

Table 5-2 Comparison among link aggregation modes

Link Aggregation Mode

Packet Exchange

Port Detection

CPU Usage

Manual aggregation

No

No

Low

Static aggregation

Yes

Yes

High

Dynamic aggregation

Yes

Yes

High

Huawei OceanStor storage devices support 802.3ad link aggregation (dynamic aggregation). In this link aggregation mode, multiple network ports are in an active aggregation group and work in duplex mode and at the same speed. After binding iSCSI front-end ports on a storage device, enable aggregation for their peer ports on the switch. Otherwise, links are unavailable between the storage device and the switch.

This section uses switch ports GE 1/0/1 and GE 1/0/2 and the storage system's ports P2 and P3 as an example to explain how to bind ports.

The port binding method differs with the OceanStor system version. For details, refer to the specific storage product documentation. The following steps use OceanStor V3 V300R003 as an example.

  1. Log in to DeviceManager and choose Provisioning > Port.
  2. Bind ports.

    1. Select the ports that you want to bind and choose More > Bond Port.

      The Bond Port dialog box is displayed.

    2. Enter a Bond Name, select the target ports, and click OK.
    3. In the security alert dialog box that is displayed, select I have read and understand the consequences associated with performing this operation and click OK.

    After the storage system ports are bound, configure link aggregation on the switch using the following command:

    <Quidway>system-view  
    System View: return to User View with Ctrl+Z.  
    [Quidway-Switch]interface GigabitEthernet 1/0/1  
    [Quidway-Switch-GigabitEthernet1/0/1]lacp enable  
    LACP is already enabled on the port!  
    [Quidway-Switch-GigabitEthernet1/0/1]quit  
    [Quidway-Switch]interface GigabitEthernet 1/0/2  
    [Quidway-Switch-GigabitEthernet1/0/2]lacp enable  
    LACP is already enabled on the port!  
    [Quidway-Switch-GigabitEthernet1/0/2]quit

    After the command is executed, LACP is enabled for ports GE 1/0/1 and GE 1/0/2. Then the ports can be automatically detected and added to an aggregation group.

Download
Updated: 2019-05-16

Document ID: EDOC1000150158

Views: 39661

Downloads: 541

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next