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 VMware ESXi

HUAWEI SAN Storage Host Connectivity Guide for VMware ESXi 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).
OS Native Multipathing Software

OS Native Multipathing Software

Huawei storage firmware is classified into:

  • Old storage version

    OceanStor T V1, T V2, 18000 V1, V3 V300R001, V3 V300R002, V3 V300R003C00, V3 V300R003C10, V3 V300R005, Dorado V3 V300R001C00

  • New storage version

    OceanStor V5 V500R007C00 and later, V3 V300R003C20SPC200 and later, V3 V300R006C00SPC100 and later, Dorado V3 V300R001C01SPC100 and later

For details about the old and new storage versions, see ALUA.

New-Version Huawei Storage

Recommended NMP Configurations

Table 6-4 provides the recommended NMP configurations when ESX/ESXi hosts of various versions interconnect with Huawei storage.

The recommended NMP configuration is a universal configuration, but may be not the best configuration in your storage environments.

For example, VMW_PSP_RR has better performance than VMW_PSP_FIXED, but VMW_PSP_RR has some use restrictions: for the MSCS and WSFC clusters deployed on VMs, you can set RDM LUNs to PSP_RR only in VMware ESXi 5.5 and later versions. For details, see VMware KB 2147662.

Table 6-4 Recommended NMP configurations when different ESXi versions interconnect with OceanStor V3, OceanStor V5, and Dorado V3

Storage Array

ALUA Enabled or Not

VM Cluster

SATP Type

PSP Type

Remarks

ESXi 5.0.*

OceanStor V5/18000 V5

OceanStor V3/18000 V3 V300R003C20 and later versions

Dorado V3

Yes

N/A

VMW_SATP_ALUA

VMW_PSP_FIXED

See Notes 1, 2, 3, 6, and 7.

ESXi 5.1.*

OceanStor V5/18000 V5

OceanStor V3/18000 V3 V300R003C20 and later versions

Dorado V3

Yes

Yes

VMW_SATP_ALUA

VMW_PSP_FIXED

See Notes 1, 2, 3, 6, and 7.

No

VMW_SATP_ALUA

VMW_PSP_RR

See Notes 1, 2, 3, 4, 5, 6, and 7.

ESXi 5.5.*, 6.0.*, 6.5.*, 6.7.*

OceanStor V5/18000 V5

OceanStor V3/18000 V3 V300R003C20 and later versions

Dorado V3

Yes

N/A

VMW_SATP_ALUA

VMW_PSP_RR

See Notes 1, 2, 3, 4, 5, 6, and 7.

  1. Failback is supported upon recovery from a path fault.
  2. On the VMware command line interface, run the following commands to add SATP rules:
    esxcli storage nmp satp rule add -V HUAWEI -M XSG1 -s VMW_SATP_ALUA -P VMW_PSP_RR -c tpgs_on.

    Change the preceding information in bold based on your actual situation.

    New SATP rules will immediately take effect for newly mapped LUNs, but will not take effect for previously mapped LUNs until the host is restarted.

  3. This configuration is recommended for ALUA-enabled storage.
  4. For the MSCS and WSFC clusters deployed on VMware ESXi 5.1 or earlier VMs, you cannot set the path selection policy to Round Robin for RDM LUNs used by the MSCS and WSFC clusters, but you can set it to FIXED. For details, see How Can I Query and Modify the Path Selection Policy? or VMware KB1036189.
  5. When using all-flash arrays, it is advised to set IOPS Limit to 1 on ESXi (More details about IOPS Limit, please click here). For ESXi 5.x and 6.x, run the command:
    esxcli storage nmp psp roundrobin deviceconfig set --device=device_NAA** --iops=1 --type iops

    Change the preceding information in bold based on your actual situation.

  6. Dorado V3 systems must be V300R001C01SPC100 or later versions, with multi-controller ALUA and HyperMetro ALUA supported.
  7. For details about the parameters in the host commands, see https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.storage.doc/GUID-D10F7E66-9DF1-4CB7-AAE8-6F3F1F450B42.html.

For details about the VMware ESXi versions, see the Huawei Storage Interoperability Navigator.

Storage System Configuration

Choose the ALUA mode or AA mode according to your site requirements.

Configuring the ALUA Mode

For non-HyperMetro configuration, use the configuration listed in Table 6-5.

Table 6-5 Configuration on non-HyperMetro OceanStor V5, OceanStor V3, or Dorado V3 storage array for interconnection with VMware ESXi 5.0.x, 5.1.x, 5.5.x, 6.0.x, 6.5.x, or 6.7.x

Storage Array

OS Setting

Third-Party Multipathing Software

Switchover Mode

Special Mode

Path Type

Two-controller, multi-controller

VMware ESX

Enabled

Special mode

Mode 1

Optimal

For details about the VMware ESXi versions, see the Huawei Storage Interoperability Navigator.

If a LUN has been mapped to the host, you must restart the host for the configuration to take effect after you modify the initiator parameters. If you configure the initiator for the first time, restart is not needed.

The preceding table provides the recommended configuration. In specific scenarios, the customer can modify the configuration based on the actual service requirements.

In OceanStor V3 V300R003C20, special mode 1 and special mode 2 are disabled by default. For details about how to enable them, see the OceanStor 5300 V3&5500 V3&5600 V3&5800 V3&6800 V3 Storage System V300R003C20 Restricted Command Reference or OceanStor 18500 V3&18800 V3 Storage System V300R003C20 Restricted Command Reference. Contact Huawei technical support engineers to obtain the documents.

In OceanStor V5 V500R007C00, OceanStor V3 V300R006C00SPC100, Dorado V3 V300R001C01SPC100, and later versions, you can configure special mode 1 and special mode 2 on DeviceManager directly.

Figure 6-5 Querying the special mode type

Configuring the AA Mode

Configure the AA mode for the initiator on the storage as follows:

  • Select Use third-party multipath software.
  • Set Switchover Mode to ALUA not used.
  • Set Path Type to Optimal Path.
Figure 6-6 Configuring the AA mode for the initiator

Host Configuration

Choose the ALUA mode or AA mode according to your site requirements.

Configuring the ALUA Mode

For non-HyperMetro configuration, perform the following steps to configure VMware NMP.

After enabling ALUA on Huawei storage, perform the following steps to add multipathing rule on the ESXi hosts:

  1. Check the vendor and model information of the storage systems.

    Use the SSH tool to log in to the ESXi Shell, and run esxcli storage core device list to view Vendor and Model information of the storage system.

    [root@localhost:~] esxcli storage core device list
    naa.630d17e100b3020708d125f600000026
     Display Name: HUAWEI Fibre Channel Disk (naa.630d17e100b3020708d125f600000026)
     Has Settable Display Name: true
     Size: 15360
     Device Type: Direct-Access 
     Multipath Plugin: NMP
     Devfs Path: /vmfs/devices/disks/naa.630d17e100b3020708d125f600000026
     Vendor: HUAWEI  
     Model: XSG1            
     Revision: 4303
     SCSI Level: 6
     Is Pseudo: false
     Status: on

  2. Add an SATP rule.

    Run the following command for the respective path mode:

    • VMW_PSP_Fixed:
      esxcli storage nmp satp rule add -V HUAWEI -M XSG1 -s VMW_SATP_ALUA -P VMW_PSP_FIXED -c tpgs_on
    • VMW_PSP_RR (recommend):
      esxcli storage nmp satp rule add -V HUAWEI -M XSG1 -s VMW_SATP_ALUA -P VMW_PSP_RR -c tpgs_on

    In these commands, HUAWEI is an example of the storage vendor and XSG1 is an example of the storage model. Change the two values based on your actual storage configurations. Table 6-6 provides the vendor and model information of Huawei mainstream storage devices.

    Table 6-6 Huawei storage vendor and model information

    Storage Device

    Vendor

    Model

    S2200T/S2600T/S5500T/S5600T/S5800T/S6800T

    HUAWEI/SYMANTEC/HUASY

    S2200T/S2600T/S5500T/S5600T/S5800T/S6800T

    Dorado2100 G2

    HUAWEI/SYMANTEC/HUASY

    Dorado2100\ G2

    Dorado5100

    HUAWEI/SYMANTEC/HUASY

    Dorado5100

    18500

    HUAWEI

    HVS85T

    18800/18800F

    HUAWEI

    HVS88T

    V5 series

    18000 V5 series

    V3 series

    18000 V3 series

    Dorado V3 Series

    HUAWEI

    XSG1

    • In VMware vSphere ESXi 6.5 Update 2 and later versions, the system integrates Huawei storage's VMW_SATP_ALUA and PSP_RR rules (system-level) by default. However, you are advised to run the preceding commands to manually add VMW_SATP_ALUA and PSP_RR rules (user-level). Manually added rules have a higher priority than the default ones.
    • If a LUN is mapped to multiple ESXi hosts in a cluster as VMFS datastores, raw devices (RDM), or virtual volumes (VVols), the host LUN IDs of the LUN for all of these ESXi hosts must be the same. You are advised to add all ESXi hosts in a cluster that are served by the same storage device to a host group and to the same mapping view.
    • To delete an existing SATP rule, run the following command. Replace [path policy] in the command with the configured path mode (for example, VMW_PSP_Fixed).
      esxcli storage nmp satp rule remove -V HUAWEI -M XSG1 -s VMW_SATP_ALUA -P [path policy] -c tpgs_on
    • For details about the parameters in the host commands, see https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.storage.doc/GUID-D10F7E66-9DF1-4CB7-AAE8-6F3F1F450B42.html.

  3. Confirm that the SATP rule is added successfully.

    esxcli storage nmp satp rule list | grep HUAWEI

    New SATP rules will immediately take effect for newly mapped LUNs, but will not take effect for previously mapped LUNs until the host is restarted.

Configuring the AA Mode

For non-HyperMetro configuration, perform the following steps to configure VMware NMP.

Select ALUA not used on Huawei storage, and perform the following steps to add multipathing rule on the ESXi hosts:

  1. Check the vendor and model information of the storage systems.

    Use the SSH tool to log in to the ESXi Shell, and run esxcli storage core device list to view Vendor and Model information of the storage system.

    [root@localhost:~] esxcli storage core device list
    naa.630d17e100b3020708d125f600000026
     Display Name: HUAWEI Fibre Channel Disk (naa.630d17e100b3020708d125f600000026)
     Has Settable Display Name: true
     Size: 15360
     Device Type: Direct-Access 
     Multipath Plugin: NMP
     Devfs Path: /vmfs/devices/disks/naa.630d17e100b3020708d125f600000026
     Vendor: HUAWEI  
     Model: XSG1            
     Revision: 4303
     SCSI Level: 6
     Is Pseudo: false
     Status: on

  2. Add an SATP rule.

    Run the following command for the respective path mode:

    • VMW_PSP_Fixed:
      esxcli storage nmp satp rule add -V HUAWEI -M XSG1 -s VMW_SATP_DEFAULT_AA -P VMW_PSP_FIXED -c tpgs_off
    • VMW_PSP_RR (recommend):
      esxcli storage nmp satp rule add -V HUAWEI -M XSG1 -s VMW_SATP_DEFAULT_AA -P VMW_PSP_RR -c tpgs_off

    In these commands, HUAWEI is an example of the storage vendor and XSG1 is an example of the storage model. Change the two values based on your actual storage configurations. Table 6-7 provides the vendor and model information of Huawei mainstream storage devices.

    Table 6-7 Huawei storage vendor and model information

    Storage Device

    Vendor

    Model

    S2200T/S2600T/S5500T/S5600T/S5800T/S6800T

    HUAWEI/SYMANTEC/HUASY

    S2200T/S2600T/S5500T/S5600T/S5800T/S6800T

    Dorado2100 G2

    HUAWEI/SYMANTEC/HUASY

    Dorado2100\ G2

    Dorado5100

    HUAWEI/SYMANTEC/HUASY

    Dorado5100

    18500

    HUAWEI

    HVS85T

    18800/18800F

    HUAWEI

    HVS88T

    V5 series

    18000 V5 series

    V3 series

    18000 V3 series

    Dorado V3 Series

    HUAWEI

    XSG1

  3. Confirm that the SATP rule is added successfully.

    esxcli storage nmp satp rule list | grep HUAWEI

    New SATP rules will immediately take effect for newly mapped LUNs, but will not take effect for previously mapped LUNs until the host is restarted.

Verification

Perform the following operations to verify that VMware NMP configurations have taken effect:

  1. Run the esxcli storage nmp satp rule list | grep -i huawei command to verify that SATP rules are successfully added.

    The command output shows that SATP rules are successfully added.

  2. Run the esxcli storage nmp device list -d=naa.6xxxxxxx command to verify that working paths of LUNs are properly configured.

    naa.6xxxxxxx indicates the drive letter of a LUN after being mapped to the host.

    Working paths are successfully configured if their Storage Array Type and Path Selection Policy are the same as those configured, and the number of Working Paths is equal to the total number of paths in the port group.

    The following is an example:

    The following SATP rule is configured:

    esxcli storage nmp satp rule add -V HUAWEI -M XSG1 -s VMW_SATP_ALUA -P VMW_PSP_RR -c tpgs_on

    The port group has three paths.

    In the preceding command output, Storage Array Type is VMW_SATP_ALUA, Path Selection Policy is VMW_PSP_RR, and Working Path is 3, which are consistent with the corresponding AO path parameters. Therefore, working paths are successfully configured.

    When Path Selection Policy is VMW_PSP_FIXED, only one working path is available, which is any path in the port group where AO paths reside.

Old-Version Huawei Storage

Recommended NMP Configurations

Table 6-8 provides the recommended NMP configurations when ESX/ESXi hosts of various versions interconnect with Huawei storage.

The recommended NMP configuration is a universal configuration, but may be not the best configuration in your storage environments.

For example, VMW_PSP_RR has better performance than VMW_PSP_FIXED, but VMW_PSP_RR has some use restrictions: for the MSCS and WSFC clusters deployed on VMs, you can set RDM LUNs to PSP_RR only in VMware ESXi 5.5 and later versions. For details, see VMware KB 2147662.

Table 6-8 Recommended NMP configurations when different ESXi versions interconnect with Huawei old-version storage

Storage Array

Number of

Controllers

ALUA Enabled or Not

VM Cluster

SATP Type

PSP Type

Remarks

ESX 4.0.*

S2600

S5000 series

T V1 series

Dorado5100

Dorado2100 G2

T V2 series

18000 V1 series

V3 series

2

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1 and 4.

4 or more

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1 and 4.

ESXi 4.1.*

S2600

S5000 series

T V1 series

Dorado5100

Dorado2100 G2

T V2 series

18000 V1 series

V3 series

2

Y

N/A

VMW_SATP_ALUA

VMW_PSP_FIXED_AP

See notes 2 and 3.

4 or more

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1 and 4.

ESXi 5.0.*

S2600

S5000 series

2

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1 and 4.

T V1 series

Dorado5100

Dorado2100 G2

T V2 series

18000 V1 series

V3 series

2

Y

N/A

VMW_SATP_ALUA

VMW_PSP_FIXED

See notes 2 and 3

4 or more

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1, 4, and 6.

ESXi 5.1.*

S2600

S5000 series

2

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1 and 4.

T V1 series

Dorado5100

Dorado2100 G2

T V2 series

18000 V1 series

V3 series

2

Y

Y

VMW_SATP_ALUA

VMW_PSP_FIXED

See notes 2 and 3.

N

VMW_SATP_ALUA

VMW_PSP_RR

See notes 2, 4, and 5.

4 or more

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1, 4, and 6.

ESXi 5.5.*, 6.0.*, 6.5.*, 6.7.*

S2600

S5000 series

2

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1 and 4.

T V1 series

Dorado5100

Dorado2100 G2

T V2 series

18000 V1 series

V3 series

2

Y

N/A

VMW_SATP_ALUA

VMW_PSP_RR

See notes 2 and 3.

4 or more

N

N/A

VMW_SATP_DEFAULT_AA

VMW_PSP_FIXED

See notes 1, 4, and 6.

  1. You must manually set the primary path for each LUN on the vSphere Client. For the default preferred LUN, you can set a non-preferred path and then set the preferred path.
  2. On the VMware command line interface, run the following commands to add SATP rules:
    For ESX/ESXi 4.x:
    esxcli nmp satp addrule -V HUAWEI -M XSG1 -s VMW_SATP_ALUA -o tpgs_on
    esxcli nmp satp setdefaultpsp -s VMW_SATP_ALUA -P VMW_PSP_FIXED
    For ESXi 5.0 and later:
    esxcli storage nmp satp rule add -V HUAWEI -M XSG1 -s VMW_SATP_ALUA -P VMW_PSP_RR -c tpgs_on

    Change the preceding information in bold based on your actual situation.

    New SATP rules will immediately take effect for newly mapped LUNs, but will not take effect for previously mapped LUNs until the host is restarted.

  3. This configuration is recommended for ALUA-enabled storage.
  4. This configuration is recommended for ALUA-disabled storage.
  5. For the MSCS and WSFC clusters deployed on VMware ESXi 5.1 or earlier VMs, you cannot set the path selection policy to Round Robin for RDM LUNs used by the MSCS and WSFC clusters, but you can set it to FIXED. For details, see How Can I Query and Modify the Path Selection Policy? or VMware KB1036189.
  6. For any future controller expansion purpose, you are advised to disable ALUA and configure VMW_SATP_DEFAULT_AA.

  • To avoid the Ping-Pong effect in VMware ESX 4.0 clusters, you are advised to disable ALUA.
  • If a path policy or preferred path is set on the VMware page before or after rules are added, this setting prevails. The newly added rule will not take effect to any LUN that has been configured with a path policy or preferred path.
  • For a LUN already configured with a preferred path, first switch to the non-preferred path and then set back to the preferred path, thereby ensuring normal switchback upon recovery from faults.

OceanStor 18000/T V2/V3 supports two or more controllers.

When the storage systems have two controllers, they support both ALUA and AA modes.

When the storage systems have more than two controllers, they support only AA but not ALUA (as of the release of this document).

To facilitate later capacity expansion, you are advised to disable ALUA on the OceanStor 18000/T V2/V3 and its interconnected hosts.

Storage System Configuration

Choose the ALUA mode or AA mode according to your site requirements.

Configuring the ALUA Mode

  • T Series V100R005/Dorado2100/Dorado5100/Dorado2100 G2

    Use the Huawei OceanStor storage management system to enable ALUA for all the host initiators, as shown in Figure 6-7.

    Figure 6-7 Enabling ALUA for T series V100R005/Dorado2100/Dorado5100/Dorado2100 G2

  • T Series V200R002/18000 Series/V3 Series/18000 V3 Series

    Use the Huawei OceanStor storage management system to enable ALUA for all the host initiators, as shown in Figure 6-8.

    Figure 6-8 Enabling ALUA for T series V200R002/18000 series/V3 series/18000 V3 series

    If there are more than two controllers, ALUA is disabled by default and cannot be enabled.

Configuring the AA Mode

On the storage systems, the default setting for host initiators is the AA mode, and therefore no manual configuration is required.

If a LUN has been mapped to the host, you must restart the host for the configuration to take effect after you modify the initiator parameters. If you configure the initiator for the first time, restart is not needed.

Host Configuration

Choose the ALUA mode or AA mode according to your site requirements.

Configuring the ALUA Mode

Same as Configuring the ALUA Mode under Host Configuration.

Configuring the AA Mode

Same as Configuring the AA Mode under Host Configuration.

Verification

Perform the following operations to verify that VMware NMP configurations have taken effect:

  1. Run the esxcli storage nmp satp rule list | grep -i huawei command to verify that SATP rules are successfully added.

    The command output shows that SATP rules are successfully added.

  2. Run the esxcli storage nmp device list -d=naa.6xxxxxxx command to verify that working paths of LUNs are properly configured.

    naa.6xxxxxxx indicates the drive letter of a LUN after being mapped to the host.

    Working paths are successfully configured if their Storage Array Type and Path Selection Policy are the same as those configured, and the number of Working Paths is equal to the total number of paths in the port group.

    Example:

    The following SATP rule is configured:

    esxcli storage nmp satp rule add -V HUAWEI -M XSG1 -s VMW_SATP_ALUA -P VMW_PSP_RR -c tpgs_on

    The port group has three paths.

    In the preceding command output, Storage Array Type is VMW_SATP_ALUA, Path Selection Policy is VMW_PSP_RR, and Working Path is 3, which are consistent with the corresponding AO path parameters. Therefore, working paths are successfully configured.

    When Path Selection Policy is VMW_PSP_FIXED, only one working path is available, which is any path in the port group where AO paths reside.

Download
Updated: 2020-01-17

Document ID: EDOC1000144883

Views: 144450

Downloads: 7317

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next