Windows
Storage System Configuration
If the OS native multipathing software is used, retain the default settings of the initiator and configure Host Access Mode and Preferred Path for HyperMetro as required. Table 7-21 lists the detailed settings.
HyperMetro Working Mode |
Storage System |
OS Setting |
Host Access Mode |
Preferred Path for HyperMetro |
Description |
---|---|---|---|---|---|
Load balancing mode |
Local storage |
Windows |
Asymmetric |
Yes |
The host uses all paths of a disk with equal priority. |
Remote storage |
Windows |
Asymmetric |
Yes |
||
Local preferred mode |
Local storage |
Windows |
Asymmetric |
Yes |
The host considers the paths from the local storage system as preferred paths, and those from the remote storage system as non-preferred paths. |
Remote storage |
Windows |
Asymmetric |
No |
Configuring the Load Balancing Mode
Perform the following operations to configure the load balancing mode:
- On DeviceManager, choose Services > Hosts. Select the desired host, click
on the right, and choose Modify.
Figure 7-76 Modifying the host properties- The information displayed on the GUI may vary slightly with the product version.
- On DeviceManager of OceanStor Dorado V6 6.0.1 and later versions, the
icon is changed to More.
- On the Modify Host page, set Host Access Mode of the local storage system to Asymmetric and Preferred Path for HyperMetro to Yes.Figure 7-77 Settings on the local storage system
- Repeat the preceding steps to set Host Access Mode of the remote storage system to Asymmetric and Preferred Path for HyperMetro to Yes.
Configuring the Local Preferred Mode
Perform the following operations to configure the local preferred mode:
- On DeviceManager, choose Services > Hosts. Select the desired host, click
on the right, and choose Modify.
Figure 7-78 Modifying the host properties- The information displayed on the GUI may vary slightly with the product version.
- On DeviceManager of OceanStor Dorado V6 6.0.1 and later versions, the
icon is changed to More.
- For the local storage system, set Host Access Mode to Asymmetric and Preferred Path for HyperMetro to Yes.Figure 7-79 Settings on the local storage system
- For the remote storage system, set Host Access Mode to Asymmetric and Preferred Path for HyperMetro to No.Figure 7-80 Settings on the remote storage system
- For details about the Windows versions, see the Huawei Storage Interoperability Navigator.
- If a LUN has been mapped to a host, you must restart the host for the configuration to take effect after you modify Host Access Mode or Preferred Path for HyperMetro. If you map the LUN for the first time, restart is not needed.
- When data is migrated from other Huawei storage systems (including OceanStor Dorado V3, OceanStor V3, and OceanStor V5) to OceanStor Dorado V6, configure the storage system by following instructions in "Recommended Configurations for OceanStor Dorado V6 for Taking Over Data from Other Huawei Storage Systems When the Host Uses the OS Native Multipathing Software" in the OceanStor Dorado Host Connectivity Guide for Windows.
- If the storage system version is Dorado V6 6.1.RC3 or later, enable automatic LUN SN synchronization on both storage systems before configuring HyperMetro. If this function is not enabled, one HyperMetro LUN may be identified as two disks by host applications. For details, see section "What Can I Do If the Host Identifies One HyperMetro LUN as Two Disks?" in the HyperMetro Feature Guide for Block.
Host Configuration
In Windows, MPIO is disabled by default. You must manually enable it.
This section uses Windows Server 2016 as an example to describe how to install and configure MPIO. The MPIO installation and configuration procedures in other Windows Server releases are similar. For more details, see the Microsoft official documentation.
- Add Multipath I/O.
Start Server Manager, choose Manage > Add Roles and Features, and select Multipath I/O.
Figure 7-81 Adding Multipath I/O - Query the device's VID and PID.
VID indicates the vendor ID, for example, HUAWEI.
PID indicates the product ID, for example, S5500T, S5600T, or XSG1.
If MPIO is installed on Windows Server 2008 to 2019, you can use multipathing command mpclaim to query disk information.
If Host Access Mode is set to Asymmetric on the storage system, use the command in Figure 7-82 to query disk information.
In the preceding figures, the VID is HUAWEI and the PID is XSG1. MPIO-ed is NO, indicating that the LUN is not taken over by MPIO.
The PID and VID in this section are examples only.
- Configure MPIO to take over the storage system.
You can add the target storage system on the MPIO console or run a command in Command Prompt to take over the storage. In this example, a command is run in Command Prompt.
On the Windows server, open Command Prompt and run the mpclaim -r -i -d "HUAWEI XSG1 " command. Note that the VID must contain eight characters and the PID must contain 16 characters. If the characters are insufficient, add spaces. You can copy the VID and PID from the output of the mpclaim -e command.
Figure 7-83 Taking over Huawei storageAfter the command is executed, the host restarts automatically. If the host does not restart automatically, restart it manually.
- View MPIO policies.
Rescan for disks after restarting the host. Ensure that the number of discovered disks is consistent with that of LUNs mapped to the host. Right-click a disk and choose Properties from the shortcut menu. You can view the policies on the MPIO tab page.
If Host Access Mode is set to Asymmetric on the storage system, the default MPIO policy of the OS is Round Robin With Subset.
Figure 7-84 MPIO policy management page - Enable path verification.
On the MPIO tab, click Details. In the dialog box that is displayed, select Path Verify Enabled and click OK. Then restart the host for the configuration to take effect.
Figure 7-85 Enabling path verification
- 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", "How Do I Modify the iSCSI Initiator's Driver Timeout Time", and "How Do I Change the Number of TCP Data Retransmission Times" in the OceanStor Dorado Host Connectivity Guide for Windows to shorten I/O interruption.
- If the underlying physical signals between the storage system and Cisco switch are poor, the Cisco switch resets the link. There is a low probability that the Cisco switch does not detect the port status change and does not send RSCN messages. In this case, Windows MPIO cannot detect the port status change, and host services are interrupted due to I/O retry timeout on an abnormal link. Huawei UltraPath can be used to avoid this risk.
Verification
Verifying the Load Balancing Mode
If HyperMetro works in load balancing mode, run the mpclaim -s -d command to verify that the configuration has taken effect.
Run the mpclaim -s -d MPIO Disk No. command to verify path information about an MPIO disk.
In the preceding figure, the MPIO policy is Round Robin, and the paths whose TPG_State is Active/Optimized are preferred paths.
Verifying the Local Preferred Mode
If HyperMetro works in local preferred mode, run the mpclaim -s -d command to verify that the configuration has taken effect.
Run the mpclaim -s -d MPIO Disk No. command to verify path information about an MPIO disk.
In the preceding figure, the MPIO policy is Round Robin with Subset. The paths whose TPG_State is Active/Optimized are preferred path, and the paths whose TPG_State is Active/Unoptimized are non-preferred paths.