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

OceanStor 2600 V3 Storage System V300R005 HyperMetro Feature Guide 06

"This document describes the implementation principles and application scenarios of theHyperMetro feature. Also, it explains how to configure and manage HyperMetro."
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).
Configuring Switches of the Replication Network

Configuring Switches of the Replication Network

This section describes how to configure the switches to connect the HyperMetro replication network.

Configuring Fibre Channel Switches (Applicable to FC Connection)

Fibre Channel switch configuration includes setting domain IDs, configuring the long-distance mode for links, and creating zones.

This section uses SNS2248 as an example to describe how to configure Fibre Channel switches.

Prerequisites

The accounts and passwords used to log in to the Fibre Channel switches have been obtained.

Context

Fibre Channel switches are cascaded across data centers and zones are created to enable interworking between storage controllers in the active-active data centers and application hosts and form redundant links, preventing service interruption in the event of single points of failure.

  • Cascaded connection across data centers
    Four Fibre Channel switches are cascaded across active-active data centers, building a mirroring relationship between the storage arrays in the two data centers. If the Fibre Channel switches are cascaded, domain IDs must be set to prevent ID conflicts on the network. A domain ID is a unique identifier of a Fibre Channel. Table 2-17 describes the domain ID planning.
    Table 2-17 Domain ID planning

    Fibre Channel Switch (Example)

    Domain ID (Example)

    Location

    Fibre Channel switch 1

    1

    Data center A

    NOTE:

    Fibre Channel switches 1 and 3 are cascaded.

    Fibre Channel switch 2

    2

    Data center A

    Fibre Channel switch 3

    3

    Data center B

    Fibre Channel switch 4

    4

    Data center B

    NOTE:

    Fibre Channel switches 2 and 4 are cascaded.

  • Zone division

    In a zone, a specific switch and device can communicate with each other. On two Fibre Channel switches that are cascaded, the ports of each link form a zone. Zone planning principles:

    NOTE:

    If one port of the application host has multiple world wide names (WWNs), you can divide zones by WWNs.

    • Each application host is connected to all the controllers of storage arrays A and B.
    • Controllers A and B of storage array A are connected to controllers A and B of storage array B respectively for redundancy.

    Figure 2-17 shows the link planning. For details about zone division, see How Can I Divide Zones on FC Switches?.

    Figure 2-17 Link planning example
Procedure
  1. Log in to Fibre Channel switch 1.

    Use an account with administrator permission to log in to the switch via Telnet.

  2. Run the licenseshow command to view the licenses that have been added.

    The licenses are E-port cascading and Long distance transmission.

  3. Set its domain ID.

    In the address bar, enter the IP address of the Fibre Channel switch, such as http://XXX.XXX.XXX.XXX or https://XXX.XXX.XXX.XXX. On the Web Tools page, complete the following operations:
    1. On the menu bar, choose Configure > Switch Admin.
    2. In the Switch Status area, select Disable.
    3. In the Switch Name and Domain ID area, enter a domain ID in Domain ID.
    4. In the Switch Status area, select Enable.

  4. (Optional) Configure long-distance transmission.

    NOTE:

    The configuration is only for the cascading ports on the switch when the link distance is over 10 km.

    1. Open the Switch Administration page.
    2. Click Show Advanced Mode.
    3. Click the Extended Fabric tab.
    4. In the Long Distance area, select LS.
    5. Double-click Desired Distance (km) and enter a desired distance.

      To determine the value of Desired Distance (km), do as follows:

      1. Query the following table and confirm the estimated maximum distance that can be configured for your switch based on the switch model and port rate.
        Table 2-18 Estimated maximum distance that can be configured for a switch

        Switch Model

        2 Gbit/s

        4 Gbit/s

        8 Gbit/s

        16 Gbit/s

        SNS2124

        486 km

        243 km

        121 km

        N/A

        SNS2224

        3252 km

        1626 km

        813 km

        406 km

        SNS2248

        3856 km

        1928 km

        964 km

        482 km

        SNS3096

        2368 km

        1184 km

        592 km

        296 km

      2. The Desired Distance (km) of a port is equal to the estimated value in Table 2-18 divided by the number of ports.

      For example, if the SNS2124 switch is used and three 2 Gbit/s ports are configured, the Desired Distance (km) of each port is 162 km (486/3).

      NOTE:

      According to the best practices, it is recommended that you set this parameter to 1.5 times the actual distance.

    6. After setting the Long Distance and Desired Distance (km) of all ports, click Apply.
    7. Click Yes to confirm the modification.

  5. Log in to Fibre Channel switch 3 and perform operations from Step 2 to Step 4.
  6. Create zones.

    1. On the Zone Administration page of the SNS switch, select a format to display zone members on the Member Selection List tab page.
    2. On the Zone tab page, click New Zone.

      The Create New Zone dialog box is displayed.

    3. Enter a zone name and click OK.

      In the Name list, the new zone information is displayed.

    4. In Member Selection List, click the member that you want to add to the zone and click the right arrow.

      The selected member is moved to the Zone Members page.

    5. Repeat the operation in Step 6.4 to add another member to the zone.
    6. Choose Zoning Actions > Save Config to save the configuration.

      The zone is created successfully.

    7. Refer Step 6.2 to Step 6.6 to create other zones.
      NOTE:

      For details, see the zone management sections in the OceanStor SNS2124&SNS2224&SNS22248&SNS3096&SNS5192&SNS5384 Fibre Channel Switch V100R002C01 Product Documentation.

  7. Log in to Fibre Channel switch 2 and perform operations from Step 2 to Step 4.
  8. Log in to Fibre Channel switch 4 and perform operations from Step 2 to Step 4 and Step 6.
  9. Optional: Disable the QoS and Buffer Credit Recovery functions on the ports.

    This operation improves switch performance when the Fibre Channel switches of the two data centers are connected by DWDM devices. Skip this step when the Fibre Channel switches are connected by fibers.
    1. Log in to the CLI of each Fibre Channel switch.
    2. Run the portcfgqos --disable [slot/]port command to disable the QoS function.

      port indicates the switch's port that is connected to the DWDM device.

    3. Run the portcfgcreditrecovery --disable [slot/]port command to disable the Buffer Credit Recovery function.
    4. Repeat the preceding steps to disable the QoS and Buffer Credit Recovery functions on all Fibre Channel switches.

  10. Verify that the number of paths from the storage arrays to the application hosts is the same as planned.

    1. Log in to UltraPath of any application host.
    2. Run the upadmin show array command to check the number of paths between the storage arrays and the application host.

      upadmin show array [id=<ID1,ID2,…]

      NOTE:

      This section uses a Linux application server as an example. For other operating systems, see the corresponding user guides.

      • OceanStor UltraPath for Linux V100R008C50 User Guide
      • OceanStor UltraPath for AIX V100R008C50 User Guide
      • OceanStor UltraPath for Solaris V100R008C50 User Guide
      • OceanStor UltraPath for vSphere V100R008C50 User Guide
      • OceanStor UltraPath for Windows V100R008C50 User Guide
    3. Check the value of PathInfo.
    4. If the value of PathInfo is the same as the number of zones, the configuration is successful. If they are inconsistent, adjust the configuration according to the zone planning.

      The following is a configuration example.

      1. Run the show array command to check the storage array IDs.

      2. Run the upadmin show array id=0 command.
      3. Check whether the value of PathInfo is the same as the number of zones.
        Figure 2-18 PathInfo

Configuring Ethernet Switches (Applicable to iSCSI Connection)

Ethernet switches are used as access and core switches in the two data centers. This section describes how to configure Ethernet switches to exchange information in and between the two data centers.

Ethernet Planning

Figure 2-19 shows the Ethernet planning in and between the two data centers in the active-active data center solution.

Figure 2-19 Ethernet planning
Configuration Requirements
  • When the distance between the data centers is 80 km or greater, DWDM devices are used for interconnection.
  • When the distance between the data centers is within 80 km, single-mode optical fibers are used for interconnection. Single-mode optical modules must be configured on the core switches for long-distance transmission. Multiple pairs of single-mode optical fibers must be configured. Each service link is carried by a pair of single-mode optical fibers.
    NOTE:

    Ensure that the switches that you use support the single-mode optical modules and the maximum transmission distance supported by the optical modules is greater than the actual distance between the switches.

  • Virtual local area networks (VLANs) are used to isolate different services.
NOTE:

In this solution, you are advised to use Huawei CloudEngine 12800 series and 5800/6800 series as core switches and access switches respectively.

See the switch documentation to complete the configurations according to the preceding requirements. You can obtain the documents from the following paths:

Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000106183

Views: 26262

Downloads: 269

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