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).
How Can I Query and Modify the Path Selection Policy?

How Can I Query and Modify the Path Selection Policy?

You can check and modify a path policy by running command lines.

Querying the Path Policy of a Single LUN

  • ESX/ESXi 4.0

    The following is an example command for querying a path policy:

    [root@e4 ~]# esxcli nmp device list -d naa.66666661006666650092f53300000045
    naa.66666661006666650092f53300000045
        Device Display Name: HUASY iSCSI Disk (naa.66666661006666650092f53300000045)
        Storage Array Type: VMW_SATP_DEFAULT_AA
        Storage Array Type Device Config: 
        Path Selection Policy: VMW_PSP_FIXED
        Path Selection Policy Device Config: {preferred=vmhba33:C0:T1:L0;current=vmhba33:C0:T0:L0}
        Working Paths: vmhba33:C0:T0:L0
    [root@e4 ~]#
  • ESX/ESXi 4.1

    The following is an example command for querying a path policy:

    [root@localhost ~]# esxcli corestorage device list
    naa.60022a11000416611b2a9d180000000a
        Display Name: HUASY Fibre Channel Disk (naa.60022a11000416611b2a9d180000000a)
        Size: 56320
        Device Type: Direct-Access 
        Multipath Plugin: NMP
        Devfs Path: /vmfs/devices/disks/naa.60022a11000416611b2a9d180000000a
        Vendor: HUASY 
        Model: S5600T          
        Revision: 2105
        SCSI Level: 4
        Is Pseudo: false
        Status: on
        Is RDM Capable: true
        Is Local: false
        Is Removable: false
        Attached Filters: 
        VAAI Status: unknown
        Other UIDs: vml.020001000060022a11000416611b2a9d180000000a533536303054
    
    
    
    
     [root@localhost ~]# esxcli nmp device list
    naa.60022a11000416611b2a9d180000000a
        Device Display Name: HUASY Fibre Channel Disk (naa.60022a11000416611b2a9d180000000a)
        Storage Array Type: VMW_SATP_ALUA
        Storage Array Type Device Config: {implicit_support=on;explicit_support=on; explicit_allow=on;alua_followover=on;{TPG_id=2,TPG_state=AO}}
        Path Selection Policy: VMW_PSP_FIXED
        Path Selection Policy Device Config: Current Path=vmhba1:C0:T0:L1
        Working Paths: vmhba1:C0:T0:L1
    
    

    esxcli corestorage device list is used to display existing disks.

    esxcli nmp device list is used to display disk paths.

  • ESXi 5.0 and later

    The following is an example command for querying a path policy:

    ~ # esxcli storage nmp device list
    naa.666666610066666502b85d9200000014
     Device Display Name: HUASY iSCSI Disk (naa.666666610066666502b85d9200000014)
     Storage Array Type: VMW_SATP_ALUA
     Storage Array Type Device Config: {implicit_support=on;explicit_support=on; explicit_allow=on;alua_followover=on;{TPG_id=1,TPG_state=AO}{TPG_id=2,TPG_state=ANO}}
     Path Selection Policy: VMW_PSP_RR
     Path Selection Policy Device Config: Current Path=vmhba39:C0:T0:L2
     Path Selection Policy Device Custom Config: 
     Working Paths: vmhba39:C0:T0:L2
    
    

Modifying the Path Policy for a Single LUN

You can run the following command to modify the PSP path policy of a LUN:

  • VMware ESXi/ESX 4.1
    # esxcli nmp device setpolicy -d naa.6006016055711d00cff95e65664ee011 --psp=VMW_PSP_FIXED
  • VMware ESXi 5.0 and later
    # esxcli storage nmp device set -d naa.6006016055711d00cff95e65664ee011 --psp=VMW_PSP_FIXED

Run the following command to check the modification result:

  • VMware ESXi/ESX 4.1
    # esxcli nmp device list -d naa.6006016055711d00cff95e65664ee011 |grep PSP
    naa.6006016055711d00cff95e65664ee011
  • VMware ESXi 5.0 and later
    # esxcli storage nmp device list -d naa.6006016055711d00cff95e65664ee011 |grep PSP naa.6006016055711d00cff95e65664ee011
Download
Updated: 2020-01-17

Document ID: EDOC1000144883

Views: 144463

Downloads: 7321

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next