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).
UltraPath

UltraPath

Storage System Configuration

If you use UltraPath, retain the default initiator settings. Do not select Uses third-party multipath software.

Figure 6-17 Initiator setting when UltraPath is used

Host Configuration

Install UltraPath by following instructions in the OceanStor UltraPath for Linux User Guide.

After you install UltraPath, set the trespass policy for LUNs as follows:
  • For UltraPath earlier than 21.2.0, it is recommended that you run the set luntrespass command to disable the trespass policy.
    UltraPath CLI #3 >set luntrespass=off 
    The current configuration will overwrite the configuration of all VLUNs in this array.  
    Are you sure you want to continue? [y,n]: y  
    Succeeded in executing the command.
    The command format is set luntrespass={ on | off } [ array_id=ID | vlun_id={ ID | ID1,ID2... | ID1-ID2 } ]. Table 6-5 describes the key parameters in the command.
    Table 6-5 Parameter description

    Parameter

    Description

    Default Value

    { on | off }

    Trespass policy of LUNs

    • on: Switchover of LUNs' working controller is enabled.
    • off: Switchover of LUNs' working controller is disabled.

    on

    array_id=ID

    ID of the storage array

    You can run the show array command to query the ID of the storage array.

    None

    vlun_id={ ID | ID1,ID2... | ID1-ID2 }

    ID of the virtual LUN

    You can run the show vlun type=all command to query the IDs of all virtual LUNs.

    None

  • For UltraPath 21.2.0 and later, it is recommended that you retain the default settings (the trespass policy is disabled by default).

After configuring the trespass policy, set the HyperMetro working mode to local preferred on UltraPath. In this mode, the local storage array is preferred in processing host services. The remote storage array is used only when the local array is faulty. This improves the service response speed and reduces the access latency.

Table 6-6 lists the command for setting the HyperMetro working mode.

Table 6-6 Setting the HyperMetro working mode

Operating System

Command

Example

Linux

set hypermetroworkingmode={priority|balance}primary_array_id=ID

upadmin set hypermetro workingmode=priority primary_array_id=0

Table 6-7 describes the parameters.

Table 6-7 Parameter description

Parameter

Description

Default Value

workingmode={ priority | balance }

HyperMetro working mode.

  • priority: local preferred mode
  • balance: load balancing mode
NOTE:

If you set the HyperMetro working mode for a specific virtual LUN first and then the global HyperMetro working mode for the storage system, the working mode for the virtual LUN remains unchanged.

priority

priority is recommended. balance is applicable when two active-active data centers are in the same building.

primary_array_id=ID

ID of the preferred storage array.

The ID is allocated by UltraPath. The storage array that is in the same data center as the application hosts is preferred.

Run the command to obtain the storage array ID:

  • Linux: upadmin show array
  • Windows/AIX/Solaris: upadm show array
NOTE:
  • In priority mode, this parameter indicates the storage array to which I/Os are preferentially delivered.
  • In balance mode, this parameter indicates the storage array where the first slice section resides.

None

NOTE:

Mapping relationship between application hosts and storage arrays:

  • Storage array A is the preferred array for all application hosts in data center A.
  • Storage array B is the preferred array for all application hosts in data center B.

Verification

Run the upadmin show upconfig command. If the command output contains the following information, the configuration is successful.

HyperMetro WorkingMode : read write within primary array

Figure 6-18 provides an example.

Figure 6-18 Verifying the HyperMetro working mode

Download
Updated: 2019-05-16

Document ID: EDOC1000150158

Views: 39664

Downloads: 541

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