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


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


Huawei SAN Storage Host Connectivity Guide for Windows

HUAWEI SAN Storage Host Connectivity Guide for Windows 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).


This section describes the operations on storage systems and hosts when UltraPath is used.

Storage System Configuration

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

Figure 6-12 Initiator setting when UltraPath is used

Host Configuration

Install UltraPath by following instructions in the OceanStor UltraPath for Windows 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 array_id=0
    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-7 describes the key parameters in the command.
    Table 6-7 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.



    ID of the storage array

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


    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.


  • 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-8 lists the command for setting the HyperMetro working mode.

Table 6-8 Setting the HyperMetro working mode

Operating System




set hypermetroworkingmode={priority|balance}primary_array_id=ID

upadm set hypermetro workingmode=priority primary_array_id=0

Table 6-9 describes the parameters.

Table 6-9 Parameter description



Default Value

workingmode={ priority | balance }

HyperMetro working mode.

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

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 is recommended. balance is applicable when two active-active data centers are in the same building.


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
  • 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.



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.

If a path switchover takes a long period of time, you can modify the timeout time for a driver by following instructions in How Do I Modify the Timeout Time for the FC HBA Port Driver? or How Do I Modify the iSCSI Initiator's Driver Timeout Time?, thereby shortening I/O interruption.


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

HyperMetro WorkingMode : read write within primary array

Figure 6-13 provides an example.

Figure 6-13 Verifying the HyperMetro working mode

Updated: 2019-08-22

Document ID: EDOC1000150159

Views: 76873

Downloads: 3471

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