Veritas/Symantec DMP
Storage System Configuration
If DMP is used, retain the default host and initiator settings. You can click the host name and check the settings on the Summary tab page. In storage versions earlier than 6.1.3, verify that Host Access Mode is Asymmetric. In 6.1.3 and later versions, verify that Host Access Mode is Load balancing.
- Use Huawei Storage Interoperability Navigator to query the volume management and cluster software supported by DMP.
- 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. 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.
- If you do not use the recommended configurations, DMP may fail to identify and process paths properly.
- The information displayed on the GUI may vary slightly with the product version.
Host Configuration
Pre-installation Check
DMP cannot coexist with the operating system's native multipathing software MPxIO. Before installing DMP, run the stmsboot -L command to check whether MPxIO (STMS) is disabled.
-bash-4.1# stmsboot -L stmsboot: MPXIO disabled
If MPxIO is not disabled, open the /kernel/drv/fp.conf configuration file and change mpxio-disable to yes. Then run the stmsboot -d command to disable STMS. When running stmsboot, choose reboot for the settings to take effect.
SAN Boot is not supported in load balancing mode.
Installing ASL
DMP is generally integrated in the Veritas Storage Foundation/InfoScale software package and is used together with the Veritas Volume Manager (VxVM) and Veritas File System (VxFS).
In this document, installing Veritas InfoScale 7.3.1 in Solaris 11.3 for SPARC is used as an example. For details about how to install Veritas InfoScale 7.3.1, see Veritas InfoScale Installation Guide.
After installing Veritas InfoScale, install Array Support Library (ASL), which provides array-specific support for DMP. ASL is a shared library that can be dynamically loaded. When discovering devices, ASL implements hardware-specific logic to discover device properties.
You are advised to install the latest version of ASL. You can obtain the ASL installation package for Huawei storage from https://sort.veritas.com/asl. ASL can be installed online or offline. Install ASL by following instructions in the Readme file on the official download page. The default path selection policy is MinimumQ.
- Veritas AVID does not support Huawei storage.
- After installing Veritas software, you need to modify fp_offline_ticker and fcp_offline_delay for fp and fcp drivers. The two parameters affect the I/O suspension time when a link fault occurs. You are advised to set both fp_offline_ticker and fcp_offline_delay to 10 based on the value ranges provided by Oracle. You can also set the two parameters based on service configurations. For details, see How Can I Set the fp and fcp Drivers' Time Parameters That Determine How Long a Host Will Wait Before Offlining Disks Upon a Link Failure?
- DMP provides the MinimumQ and Round-Robin path selection algorithms, which can be modified based on customer service configurations. You can run the vxdmpadm setattr ENCLR_NAME iopolicy=xxx command to modify the path selection algorithm. xxx indicates the path selection algorithm, which can be MinimumQ or Round-Robin.
Verification
- Run the vxddladm listsupport all | grep huawei command to verify the ASL installation. In the following example, the multipathing software has correctly identified XSG1.
-bash-4.1# 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 -bash-4.1#
- Run the cfgadm -al and vxdisk scandisks commands at the OS and DMP layers respectively to scan for LUNs. Then run the vxdisk list command to check the device name. A correct device name is in the huawei-xxx format. Run the vxdisk list device name command to check whether the number of paths and path status are consistent with the actual configuration. The following is an example when the storage version is earlier than 6.1.3. There are eight paths to a LUN (cXtXdXsX). All paths are enabled.
-bash-4.1# vxdisk list DEVICE TYPE DISK GROUP STATUS huawei-xsg11_0 auto:cdsdisk - - online thinrclm s113_disk_0 auto:ZFS - - ZFS -bash-4.1# -bash-4.1# vxdisk list huawei-xsg11_0 Device: huawei-xsg11_0 devicetag: huawei-xsg11_0 type: auto hostid: disk: name= id=1577290545.6.S113 group: name= id= info: format=cdsdisk,privoffset=256,pubslice=2,privslice=2 flags: online ready private autoconfig autoimport thinrclm pubpaths: block=/dev/vx/dmp/huawei-xsg11_0s2 char=/dev/vx/rdmp/huawei-xsg11_0s2 guid: {cdf68062-2731-11ea-bd1f-00144fec1884} udid: HUAWEI%5FXSG1%5F21001603042d0306%5F61603041002D030604F9505C0000000F site: - version: 3.1 iosize: min=512 (bytes) max=2048 (blocks) public: slice=2 offset=65792 len=209619712 disk_offset=0 private: slice=2 offset=256 len=65536 disk_offset=0 update: time=1577290545 seqno=0.2 ssb: actual_seqno=0.0 headers: 0 240 configs: count=1 len=48144 logs: count=1 len=7296 Defined regions: config priv 000048-000239[000192]: copy=01 offset=000000 disabled config priv 000256-048207[047952]: copy=01 offset=000192 disabled log priv 048208-055503[007296]: copy=01 offset=000000 disabled lockrgn priv 055504-055647[000144]: part=00 offset=000000 Multipathing information: numpaths: 8 c8t28F01603042D0306d1s2 state=enabled type=active/optimized(p) c8t28001603042D0306d1s2 state=enabled type=active/optimized(p) c8t28011603042D0306d1s2 state=enabled type=active/optimized(p) c8t28F11603042D0306d1s2 state=enabled type=active/optimized(p) c9t28001603042D0306d1s2 state=enabled type=active/optimized(p) c9t28F11603042D0306d1s2 state=enabled type=active/optimized(p) c9t28011603042D0306d1s2 state=enabled type=active/optimized(p) c9t28F01603042D0306d1s2 state=enabled type=active/optimized(p) -bash-4.1#
The following is an example when the storage version is 6.1.3 or later. There are eight paths to a LUN (cXtXdXsX). All paths are enabled.
bash-3.2# vxdisk list huawei-xsg11_3 Device: huawei-xsg11_3 devicetag: huawei-xsg11_3 type: auto info: format=cdsdisk,privoffset=256,pubslice=2,privslice=2 flags: online ready private autoconfig invalid thinrclm pubpaths: block=/dev/vx/dmp/huawei-xsg11_3s2 char=/dev/vx/rdmp/huawei-xsg11_3s2 guid: - udid: HUAWEI%5FXSG1%5F2100cc64a68314d3%5F6CC64A61008314D3099097B1000001DD site: - Multipathing information: numpaths: 8 c6t2008CC64A68314D3d4s2 state=enabled c6t2018CC64A68314D3d4s2 state=enabled c6t2019CC64A68314D3d4s2 state=enabled c6t2009CC64A68314D3d4s2 state=enabled c7t2019CC64A68314D3d4s2 state=enabled c7t2008CC64A68314D3d4s2 state=enabled c7t2009CC64A68314D3d4s2 state=enabled c7t2018CC64A68314D3d4s2 state=enabled -bash-3.2#