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 Red Hat

HUAWEI SAN Storage Host Connectivity Guide for Red Hat 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).
Veritas/Symantec DMP

Veritas/Symantec DMP

Storage System Configuration

If you use DMP, you must select Uses third-party multipath software for the initiator, as shown in Figure 6-22.

Figure 6-22 Initiator setting when DMP is used

The Switchover Mode and Path Type depend on the actual services, as described in Table 6-10.

Table 6-10 Storage system configuration

DMP

HyperMetro Working Mode

Storage Array

OS Setting

Third-Party Multipathing Software

Switchover Mode

Special Mode

Path Type

DMP 7.1 or later

Load balancing

Local

Linux

Enabled

Special mode

Mode 1

Optimal

Remote

Linux

Enabled

Special mode

Mode 1

Optimal

Local preferred

Local

Linux

Enabled

Special mode

Mode 2

Optimal

Remote

Linux

Enabled

Special mode

Mode 2

Non-optimal

DMP 6.0.x to DMP 7.0

Load balancing

Local

Linux

Enabled

ALUA not used

-

Optimal

Remote

Linux

Enabled

ALUA not used

-

Optimal

  • HyperMetro using DMP is supported on OceanStor Dorado V3 V300R002C20, OceanStor V500R007C50, OceanStor V300R006C60, and later versions. For details, see 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 the host is running services, stop the services and export the disk group before restarting the host. If you configure the initiator for the first time, restart is not needed.
  • Versions earlier than DMP 7.1 do not support the local preferred mode.
  • If you do not use the recommended configurations, DMP may fail to identify paths or process paths incorrectly.
  • For the software supported by SF DMP 5.x, contact Huawei technical support engineers.
  • The load balancing mode is recommended when the HyperMetro storage systems are deployed in different equipment rooms on the same campus.
  • When the storage system is connected to a host with DMP 7.x and you have selected Uses third-party multipath software for the storage initiator and set the switchover mode to a special mode, the maximum number of online ports (FC, FCoE, or Ethernet) supported by a single storage system or HyperMetro storage systems is limited because the default RTPG buffer of Veritas VxVM (DMP) is 255. For details, consult Huawei engineers for evaluation. If the number exceeds the limit, problems such as path identification errors may occur.
  • For a dual-controller storage system, controllers cannot be added online, HyperMetro relationships cannot be created online, and HyperMetro LUNs and non-HyperMetro LUNs cannot coexist under the following conditions: The storage system is connected to a host using DMP multipathing software; the initiator settings on the storage system are Uses third-party multipath software and ALUA not used; and the A/A mode is disabled. Otherwise, host services may be interrupted. To check whether the A/A mode is enabled, run show tgt_switch storage_work_mode on OceanStor V3 or V5 storage systems, or show scsi_upgrade_config storage_work_mode on Dorado storage systems. The following is an example:
    developer:/>show scsi_upgrade_config storage_work_mode
    Switch Type : A/A Work Mode
    AA Switch   : Off

    In the command output, Off indicates that the A/A mode has been disabled. For a dual-controller storage system, if you want to add controllers online or create HyperMetro relationships online, enable the A/A mode by running change tgt_switch storage_work_mode switch=on on OceanStor V3 or V5, or change scsi_upgrade_config storage_work_mode aa_switch=on on Dorado storage systems.

Host Configuration

The host configuration is the same as that in Host Configuration.

Verification

  1. Run the vxddladm listsupport all | grep huawei command to verify the ASL installation. In the following example, the multipathing software has correctly identified XSG1.

    [root@rhel6u91 ~]# vxddladm listsupport all | grep huawei
    libvxhuawei.so      HUAWEI, HUASY       S5100, S5300, S5500, S5600, S6800E, S8000, S8000-I, VIS6000, S5500T, S5600T, S5800T, S6800T, S2600T, V1500, V1800, S2100, S2200T, S2300, S2300E, S2600, S3900-M100, S3900-M200, S3900-M300, S5900-M100, S5900-M200, S6900-M100, Dorado2100, Dorado2100 G2, Dorado5100, HVS85T, HVS88T, XSG1
    [root@rhel6u91 ~]# 

  2. Run the vxddladm list devices command to check whether the disk corresponding to each sub-path is claimed by Veritas. In the following example, eight HyperMetro LUNs are mapped and each LUN has 12 sub-paths. libvxhuawei.so has identified 96 devices.

    [root@rhel6u91 ~]# vxddladm list devices
    DEVICE               TARGET-ID    STATE   DDL-STATUS (ASL)
    ===============================================================
    sdu                  c1_p5_t0     Online  CLAIMED (libvxhuawei.so)
    sdt                  c1_p5_t0     Online  CLAIMED (libvxhuawei.so)
    sdw                  c1_p5_t0     Online  CLAIMED (libvxhuawei.so)
    sdv                  c1_p5_t0     Online  CLAIMED (libvxhuawei.so)
    sdx                  c1_p5_t0     Online  CLAIMED (libvxhuawei.so)
    sdy                  c1_p5_t0     Online  CLAIMED (libvxhuawei.so)
    sdz                  c1_p5_t0     Online  CLAIMED (libvxhuawei.so)
    sds                  c1_p5_t0     Online  CLAIMED (libvxhuawei.so)
    sdar                 c1_p4_t0     Online  CLAIMED (libvxhuawei.so)
    sdat                 c1_p4_t0     Online  CLAIMED (libvxhuawei.so)
    sdas                 c1_p4_t0     Online  CLAIMED (libvxhuawei.so)
    sdav                 c1_p4_t0     Online  CLAIMED (libvxhuawei.so)
    sdax                 c1_p4_t0     Online  CLAIMED (libvxhuawei.so)
    sdaw                 c1_p4_t0     Online  CLAIMED (libvxhuawei.so)
    sdau                 c1_p4_t0     Online  CLAIMED (libvxhuawei.so)
    sdaq                 c1_p4_t0     Online  CLAIMED (libvxhuawei.so)
    sdcq                 c1_p3_t0     Online  CLAIMED (libvxhuawei.so)
    sdcr                 c1_p3_t0     Online  CLAIMED (libvxhuawei.so)
    sdco                 c1_p3_t0     Online  CLAIMED (libvxhuawei.so)
    sdcp                 c1_p3_t0     Online  CLAIMED (libvxhuawei.so)
    sdcn                 c1_p3_t0     Online  CLAIMED (libvxhuawei.so)
    sdcs                 c1_p3_t0     Online  CLAIMED (libvxhuawei.so)
    sdct                 c1_p3_t0     Online  CLAIMED (libvxhuawei.so)
    sdcm                 c1_p3_t0     Online  CLAIMED (libvxhuawei.so)
    sdbs                 c1_p2_t0     Online  CLAIMED (libvxhuawei.so)
    sdbq                 c1_p2_t0     Online  CLAIMED (libvxhuawei.so)
    sdbu                 c1_p2_t0     Online  CLAIMED (libvxhuawei.so)
    sdbt                 c1_p2_t0     Online  CLAIMED (libvxhuawei.so)
    sdbp                 c1_p2_t0     Online  CLAIMED (libvxhuawei.so)
    sdbr                 c1_p2_t0     Online  CLAIMED (libvxhuawei.so)
    sdbv                 c1_p2_t0     Online  CLAIMED (libvxhuawei.so)
    sdbo                 c1_p2_t0     Online  CLAIMED (libvxhuawei.so)
    sdan                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdam                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdj                  c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdao                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdap                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdal                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdbh                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdbg                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdbl                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdbj                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdbk                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdbm                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdbn                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdcj                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdcf                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdcg                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdch                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdci                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdce                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdck                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdcl                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdbi                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdh                  c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdi                  c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdg                  c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdd                  c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdf                  c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sde                  c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdc                  c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdai                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdaj                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdak                 c1_p1_t0     Online  CLAIMED (libvxhuawei.so)
    sdah                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdaf                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdae                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdaa                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdag                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdab                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdad                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdac                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sday                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdbw                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdbx                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdca                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdbz                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdby                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdcd                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdcb                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdcc                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdl                  c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdp                  c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdn                  c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdk                  c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdm                  c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdo                  c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdaz                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdba                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdbc                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdbb                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdbf                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdbd                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdbe                 c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdq                  c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdr                  c1_p0_t0     Online  CLAIMED (libvxhuawei.so)
    sdb                  -            Online  CLAIMED (Disk)
    sda                  -            Online  CLAIMED (Disk)
    [root@rhel6u91 ~]# 

  3. Run the vxdisk list command to check whether HyperMetro LUNs on the host have been aggregated. The aggregated device can be identified as huawei-xxx. In the following example, DMP identifies eight aggregated LUNs as huawei-xsg10_#.

    [root@rhel6u91 ~]# vxdisk list
    DEVICE       TYPE            DISK         GROUP        STATUS
    disk_0       auto:LVM        -            -            LVM
    disk_1       auto:LVM        -            -            online invalid
    huawei-xsg10_0 auto:cdsdisk    -            -            online
    huawei-xsg10_1 auto:cdsdisk    -            -            online
    huawei-xsg10_2 auto:cdsdisk    -            -            online
    huawei-xsg10_3 auto:cdsdisk    -            -            online
    huawei-xsg10_4 auto:cdsdisk    -            -            online
    huawei-xsg10_5 auto:cdsdisk    -            -            online
    huawei-xsg10_6 auto:cdsdisk    -            -            online
    huawei-xsg10_7 auto:none       -            -            online invalid
    You have new mail in /var/spool/mail/root
    [root@rhel6u91 ~]# 

  4. Run the vxdisk list device command and check whether the number of paths and path status are correct (consistent with the actual configuration). If the switchover mode is a special mode, you must verify that the status and number of preferred and non-preferred paths are correct. In the following example, there are 12 paths to an aggregated LUN, and all paths are enabled. Because the switchover mode in this example is ALUA not used, the state of all paths is enabled.

    [root@rhel6u91 ~]# vxdisk list huawei-xsg10_0
    Device:    huawei-xsg10_0
    devicetag: huawei-xsg10_0
    type:      auto
    hostid:    rhel6u92
    disk:      name= id=1554661367.14.rhel6u92
    group:     name=dg1 id=1554661430.16.rhel6u92
    info:      format=cdsdisk,privoffset=256,pubslice=3,privslice=3
    flags:     online ready private autoconfig autoimport
    pubpaths:  block=/dev/vx/dmp/huawei-xsg10_0s3 char=/dev/vx/rdmp/huawei-xsg10_0s3
    guid:      {25474db8-5962-11e9-93c2-5083e60ea627}
    udid:      HUAWEI%5FXSG1%5F21009c37f486823e%5F69C37F410086823E000E3AF200000012
    site:      -
    version:   3.1
    iosize:    min=512 (bytes) max=1024 (blocks)
    public:    slice=3 offset=65792 len=209639920 disk_offset=0
    private:   slice=3 offset=256 len=65536 disk_offset=0
    update:    time=1555080569 seqno=0.8
    ssb:       actual_seqno=0.0
    headers:   0 240
    configs:   count=1 len=51360
    logs:      count=1 len=4096
    Defined regions:
     config   priv 000048-000239[000192]: copy=01 offset=000000 enabled
     config   priv 000256-051423[051168]: copy=01 offset=000192 enabled
     log      priv 051424-055519[004096]: copy=01 offset=000000 enabled
     lockrgn  priv 055520-055663[000144]: part=00 offset=000000
    Multipathing information:
    numpaths:  12
    sdbo     	state=enabled
    sdbg     	state=enabled
    sday     	state=enabled
    sdc      	state=enabled
    sdk      	state=enabled
    sds      	state=enabled
    sdaa     	state=enabled
    sdaq     	state=enabled
    sdai     	state=enabled
    sdbw     	state=enabled
    sdce     	state=enabled
    sdcm     	state=enabled
    [root@rhel6u91 ~]# 

  5. Run the vxdmpadm listenclosure all command. The command output shows that ENCLR_NAME of the HyperMetro storage systems is correctly aggregated and ARRAY_TYPE is correctly identified. In the following example, the switchover mode is ALUA not used, ARRAY_TYPE is A/A, and the HyperMetro storage systems are correctly aggregated into huawei-xsg10.

    [root@rhel6u91 ~]# vxdmpadm listenclosure all
    ENCLR_NAME        ENCLR_TYPE     ENCLR_SNO      STATUS       ARRAY_TYPE     LUN_COUNT    FIRMWARE 
    ===================================================================================================
    disk              Disk           DISKS                CONNECTED    Disk        2         3000
    huawei-xsg10      HUAWEI-XSG1    21009c37f486823e     CONNECTED    A/A         8         4303
    [root@rhel6u91 ~]# 

    If DMP 7.1 or later is used, the HyperMetro switchover mode is a special mode and ARRAY_TYPE is ALUA.

  6. Run the vxdmpadm getattr enclosure ENCLR_NAME command to check the current path selection policy, which is MinimumQ by default. In this example, ENCLR_NAME is huawei-xsg10. If the path selection policy is not MinimumQ, run the vxdmpadm setattr ENCLR_NAME iopolicy=MinimumQ command to set it to MinimumQ.

    [root@rhel6u91 ~]# vxdmpadm getattr enclosure huawei-xsg10
    ENCLR_NAME      ATTR_NAME                     DEFAULT        CURRENT
    ============================================================================
    huawei-xsg10   iopolicy                      MinimumQ       MinimumQ
    huawei-xsg10   partitionsize                 512            512           
    huawei-xsg10   use_all_paths                 -              -             
    huawei-xsg10   recoveryoption[throttle]      Nothrottle[0]  Nothrottle[0]
    huawei-xsg10   recoveryoption[errorretry]    Timebound[300] Timebound[300] 
    huawei-xsg10   redundancy                    0              0
    huawei-xsg10   dmp_lun_retry_timeout         0              0
    huawei-xsg10   failovermode                  -              -              
    [root@rhel6u91 ~]# 

Download
Updated: 2020-01-17

Document ID: EDOC1000150157

Views: 68952

Downloads: 2083

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next