OS Native Multipathing Software
Huawei storage firmware is classified into:
- Old storage version
T V1, T V2, 18000 V1, V300R001, V300R002, V300R003C00, V300R003C10, V300R005, and Dorado V300R001C00
- New storage version
V500R007C00 and later, V300R003C20 and later, V300R006C00SPC100 and later, and Dorado V300R001C01SPC100 and later
New-Version Huawei Storage
Storage System Configuration
If you use OS native multipathing software, you must select Use third-party multipath software for the initiator, as shown in Figure 6-5.
The Switchover Mode and Path Type depend on the actual services, as described in Table 6-5.
Server OS |
Storage Array |
OS Setting |
Third-Party Multipathing Software |
Switchover Mode |
Special Mode |
Path Type |
---|---|---|---|---|---|---|
Solaris 10 Solaris 11 |
Dual-controller, multi-controller |
Solaris |
Enabled |
Common ALUA |
- |
Optimal |
Solaris 8 Solaris 9 |
Dual-controller, multi-controller |
Solaris |
Enabled |
ALUA not used |
- |
Optimal |
- For details about the Solaris versions, see the Huawei Storage Interoperability Navigator.
- After you have configured an initiator's switchover mode, you must restart the host for the configuration to take effect.
- The preceding table provides the recommended configuration. In specific scenarios, the customer can modify the configuration based on the actual service requirements.
Host Configuration
Solaris 8 and 9
In Solaris 8 and 9, you must install the multipathing software manually. The software name is StorageTek SAN Foundation and its latest version is SAN 4.4.
You can obtain the software update history and installation guide of each version from the following address:
http://www.oracle.com/technetwork/documentation/san-software-194281.html
Solaris 8 and Solaris 9 are seldom used now and maintenance for them has discontinued.
This section provides the typical configurations of Solaris 8 and 9.
Solaris 8 and 9 do not support ALUA. Therefore, you must disable ALUA on the storage system and set the multipathing configuration file. The detailed configurations on the host are as follows:
- Check the HBA driver status.
Run the cfgadm command on the host to check whether the HBA drivers are normal.
bash-3.2# cfgadm Ap_Id Type Reseptacle Occupant Condition C0 scsi_bus connected configured unknown C1 scsi_bus connected unconfigured unknown C2 fc_private connected configured unknown C3 fc_private connected configured unknown
In this example, the types of c2 and c3 are fc-private, representing two HBAs. Both HBAs are connected and their driver status is configured, indicating that the drivers are loaded successfully. If the command output is different from the preceding information, the HBA drivers are not loaded successfully. Run the reboot -r command to reload the HBA drivers.
The HBA type queried by the cfgadm command depends on the networking mode of the HBA. When an HBA connects to a storage system directly, its type is fc-private. When an HBA connects to a switch, its type is fc-fabric.
- Query the vendor ID and product ID of the storage system.
Run the format command on the host. Select a mapped disk and then select inquiry to query the LUN information.
bash-3.2# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t0d0 <FUJITSU-MAY2073RCSUN72G-0501 cyl 14087 alt 2 hd 24 sec 424> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0 1. c1t1d0 <FUJITSU-MAY2073RCSUN72G-0501 cyl 14087 alt 2 hd 24 sec 424> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0 2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0 3. c1t3d0 <FUJITSU-MAY2073RCSUN72G-0501 cyl 14087 alt 2 hd 24 sec 424> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0 4. c7t28d0 <HUAWEI-S2600T-2102 cyl 10920 alt 2 hd 30 sec 64> /pci@1f,700000/pci@0/fibre-channel@2/fp@0,0/ssd@w2013323232323232,0 5. c7t28d1 <HUAWEI-S2600T-2102 cyl 4367 alt 2 hd 30 sec 64> /pci@1f,700000/pci@0/fibre-channel@2/fp@0,0/ssd@w2013323232323232,1 6. c8t4d0 <HUAWEI-S2600T-2102 cyl 10920 alt 2 hd 30 sec 64> /pci@1f,700000/pci@0/fibre-channel@2,1/fp@0,0/ssd@w2003323232323232,0 7. c8t4d1 <HUAWEI-S2600T-2102 cyl 4367 alt 2 hd 30 sec 64> /pci@1f,700000/pci@0/fibre-channel@2,1/fp@0,0/ssd@w2003323232323232,1 Specify disk (enter its number): 4 selecting c7t28d0 [disk formatted] FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> i Vendor: HUAWEI Product: S2600T Revision: 2102 format>
In this example, the vendor ID and product ID of the LUN are HUAWEI and S2600T, respectively.
- Add the vendor ID and product ID of the storage system to the /kernel/drv/scsi_vhci.conf file.
scsi-vhci-failover-override = "HUAWEI S5500T", "f_sym",..."HUAWEI S2600T", "f_sym";
In this example, two storage systems are added. Their vendor IDs are HUAWEI and product IDs are S5500T and S2600T, respectively.
The vendor ID must contain eight characters. If the vendor ID is not long enough, use spaces to reach the required length. The product ID has no length limit.
Two pairs of vendor IDs + product IDs are separated by a comma (,). The last pair of vendor ID + product ID ends with a semicolon (;).
- Run vi /kernel/drv/fp/conf to open the file and change mpxio-disable to no. Then save the file and exit.
- Run the stmsboot -e command on the host to activate the STMS function.
The system prompts you to reboot STMS. During the reboot, the /etc/vfstab file and dumping configurations are updated to refresh the device names.
If update //plat is displayed during the reboot, the host is accessing the official server to update the platform.
Solaris 10
In Solaris 10, the multipathing software has been installed by default, but is not enabled.
The host configuration varies, depending on whether ALUA is enabled on the storage system. Use either of the following methods according to your own ALUA settings.
If ALUA Is Enabled on the Storage System
- Install and enable the multipathing software.
After ALUA is enabled on the storage system, run the stmsboot -D fp -e command to enable the multipathing software. You do not need to configure the software on the host.
The following is an example:
bash-3.2# stmsboot -D fp -e WARNING: This operation will require a reboot. Do you want to continue ? [y/n] (default: y) y The changes will come into effect after rebooting the system. Reboot the system now ? [y/n] (default: y) y updating /platform/sun4u/boot_archive
The host restarts after the preceding operation is performed.
After the host restarts, the following LUN information is displayed.
Figure 6-6 LUN information on SolarisThe path format is scsi_vhci, which contains the path information after multiple paths are aggregated.
- Verify the configurations.
After the LUNs are mapped to the host, scan for the LUNs on the host and verify that the numbers and status of the preferred and non-preferred paths are correct. The following is an example:
root@solarisx86:~# mpathadm show lu /dev/dsk/c0t6222222100222222000E25A800000004d0s2 Logical Unit: /dev/rdsk/c0t6222222100222222000E25A800000004d0s2 mpath-support: libmpscsi_vhci.so Vendor: HUAWEI Product: XSG1 Revision: 4303 Name Type: unknown type Name: 6222222100222222000e25a800000004 Asymmetric: yes Current Load Balance: round-robin Logical Unit Group ID: NA Auto Failback: on Auto Probing: NA Paths: Initiator Port Name: 2100001b3210fbda Target Port Name: 200800ac01020304 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100001b3210fbda Target Port Name: 2602222222222222 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100001b3210fbda Target Port Name: 2619222222222222 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100001b3210fbda Target Port Name: 202800ac01020304 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2101001b3230fbda Target Port Name: 201800ac01020304 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2101001b3230fbda Target Port Name: 2601222222222222 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2101001b3230fbda Target Port Name: 2618222222222222 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2101001b3230fbda Target Port Name: 203800ac01020304 Override Path: NA Path State: OK Disabled: no Target Port Groups: ID: 33 Explicit Failover: no Access State: active optimized Target Ports: Name: 200800ac01020304 Relative ID: 8193 ID: 1 Explicit Failover: no Access State: active optimized Target Ports: Name: 2602222222222222 Relative ID: 23 Name: 2601222222222222 Relative ID: 22 ID: 2 Explicit Failover: no Access State: active not optimized Target Ports: Name: 2619222222222222 Relative ID: 282 Name: 2618222222222222 Relative ID: 281 ID: 35 Explicit Failover: no Access State: active not optimized Target Ports: Name: 202800ac01020304 Relative ID: 8705 ID: 34 Explicit Failover: no Access State: active not optimized Target Ports: Name: 201800ac01020304 Relative ID: 8449 ID: 36 Explicit Failover: no Access State: active not optimized Target Ports: Name: 203800ac01020304 Relative ID: 8961 root@solarisx86:~#
In this example, there are three preferred paths (Target Ports whose Access State is active optimized) and five non-preferred paths (Target Ports whose Access State is active not optimized).
If ALUA Is Disabled on the Storage System
If ALUA is disabled on the storage system, you must modify the configuration file on the host for the multipathing software to identify the LUNs mapped by the storage system.
- Query the vendor ID and product ID of the storage system.
Run the format command on the host. Select a mapped disk and then select inquiry to query the LUN information.
bash-3.2# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t0d0 <FUJITSU-MAY2073RCSUN72G-0501 cyl 14087 alt 2 hd 24 sec 424> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0 1. c1t1d0 <FUJITSU-MAY2073RCSUN72G-0501 cyl 14087 alt 2 hd 24 sec 424> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0 2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0 3. c1t3d0 <FUJITSU-MAY2073RCSUN72G-0501 cyl 14087 alt 2 hd 24 sec 424> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0 4. c7t28d0 <HUAWEI-S2600T-2102 cyl 10920 alt 2 hd 30 sec 64> /pci@1f,700000/pci@0/fibre-channel@2/fp@0,0/ssd@w2013323232323232,0 5. c7t28d1 <HUAWEI-S2600T-2102 cyl 4367 alt 2 hd 30 sec 64> /pci@1f,700000/pci@0/fibre-channel@2/fp@0,0/ssd@w2013323232323232,1 6. c8t4d0 <HUAWEI-S2600T-2102 cyl 10920 alt 2 hd 30 sec 64> /pci@1f,700000/pci@0/fibre-channel@2,1/fp@0,0/ssd@w2003323232323232,0 7. c8t4d1 <HUAWEI-S2600T-2102 cyl 4367 alt 2 hd 30 sec 64> /pci@1f,700000/pci@0/fibre-channel@2,1/fp@0,0/ssd@w2003323232323232,1 Specify disk (enter its number): 4 selecting c7t28d0 [disk formatted] FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> i Vendor: HUAWEI Product: S2600T Revision: 2102 format>
In this example, the vendor ID and product ID of the LUN are HUAWEI and S2600T, respectively.
- Modify the configuration file on the host.
Add the vendor ID and product ID of the storage system to the /kernel/drv/scsi_vhci.conf file.
The following is an example:
bash-3.2# cat /kernel/drv/scsi_vhci.conf # # Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. # #pragma ident "@(#)scsi_vhci.conf 1.10 11/04/12 SMI" # name="scsi_vhci" class="root"; # # Load balancing global configuration: setting load-balance="none" will cause # all I/O to a given device (which supports multipath I/O) to occur via one # path. Setting load-balance="round-robin" will cause each path to the device # to be used in turn. # load-balance="round-robin"; # # Automatic failback configuration # possible values are auto-failback="enable" or auto-failback="disable" auto-failback="enable"; # # For enabling MPxIO support for 3rd party symmetric device need an # entry similar to following in this file. Just replace the "SUN SENA" # part with the Vendor ID/Product ID for the device, exactly as reported by # Inquiry cmd. # device-type-scsi-options-list ="HUAWEI S2600T", "symmetric-option"; symmetric-option = 0x1000000; #mpxio-disable="yes"; #BEGIN: UPDATE_PATHSTATE_ON_RESET_BLOCK (DO NOT MOVE OR DELETE) # # Tunable for updating path states after a UNIT ATTENTION reset. # There are arrays which do not queue UAs during resets # after an implicit failover. For such arrays, we need to # update the path states after any type of UA resets, since # UA resets take higher precedence among other UNIT ATTENTION # conditions. By default, scsi_vhci does not update path states # on UA resets. To make scsi_vhci do that for such arrays, you need # to set the tunable scsi-vhci-update-pathstate-on-reset to "yes" # for the VID/PID combination as described below. # # "012345670123456789012345", "yes" or "no" # "|-VID--||-----PID------|", # scsi-vhci-update-pathstate-on-reset = # "Pillar Axiom 600", "yes"; # #END: UPDATE_PATHSTATE_ON_RESET_BLOCK (DO NOT MOVE OR DELETE) bash-3.2#
Note the following in the command output:
- load-balance
Retain the default value round-robin.
- auto-failback
Retain the default value enable.
- Storage information
The default information is as follows:
##device-type-scsi-options-list =#"SUN SENA", "symmetric-option";##symmetric-option = 0x1000000;
In this display, "SUN SENA" indicates the storage information, where SUN represents the vendor ID and SENA represents the product ID.
When configuring the storage information, delete the comment tag (#) and change the vendor ID and product ID to the actual values. The following is an example:
device-type-scsi-options-list = "HUAWEI S5500T", "symmetric-option", "HUAWEI S2600T", "symmetric-option"; symmetric-option = 0x1000000;
In this example, two storage systems are added. Their vendor IDs are HUAWEI and product IDs are S5500T and S2600T, respectively.
The vendor ID must contain eight characters. If the vendor ID is not long enough, use spaces to reach the required length. The product ID has no length limit.
Two pairs of vendor IDs + product IDs are separated by a comma (,). The last pair of vendor ID + product ID ends with a semicolon (;).
- load-balance
- Activate the STMS function on the host.
Run the stmsboot -D fp -e command to activate STMS. The multipathing software takes effect after the host restarts.
Solaris 11
The host configuration varies, depending on whether ALUA is enabled on the storage system. Use either of the following methods according to your own ALUA settings.
If ALUA Is Enabled on the Storage System
The configuration method is the same as that of Solaris 10. See Solaris 10.
If ALUA Is Disabled on the Storage System
- Query the vendor ID and product ID of the storage system.
Run the format command on the host. Select a mapped disk and then select inquiry to query the LUN information.
root@solaris:~# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c2t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0/pci@0/pci@2/scsi@0/sd@0,0 1. c2t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0/pci@0/pci@2/scsi@0/sd@1,0 2. c2t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0/pci@0/pci@2/scsi@0/sd@2,0 3. c2t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0/pci@0/pci@2/scsi@0/sd@3,0 4. c2t5d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0/pci@0/pci@2/scsi@0/sd@5,0 5. c3t201A9C37F496BDB8d1 <HUAWEI-XSG1-4303-100.00GB> /pci@0/pci@0/pci@8/pci@0/pci@2/QLGC,qlc@0/fp@0,0/ssd@w201a9c37f496bdb8,1 6. c3t201A9C37F496BDB8d2 <HUAWEI-XSG1-4303 cyl 12798 alt 2 hd 64 sec 256> /pci@0/pci@0/pci@8/pci@0/pci@2/QLGC,qlc@0/fp@0,0/ssd@w201a9c37f496bdb8,2 7. c3t20019C37F496BDB8d1 <HUAWEI-XSG1-4303-100.00GB> /pci@0/pci@0/pci@8/pci@0/pci@2/QLGC,qlc@0/fp@0,0/ssd@w20019c37f496bdb8,1 8. c3t20019C37F496BDB8d2 <HUAWEI-XSG1-4303 cyl 12798 alt 2 hd 64 sec 256> /pci@0/pci@0/pci@8/pci@0/pci@2/QLGC,qlc@0/fp@0,0/ssd@w20019c37f496bdb8,2 9. c4t201A9C37F496BDB8d1 <HUAWEI-XSG1-4303-100.00GB> /pci@0/pci@0/pci@8/pci@0/pci@2/QLGC,qlc@0,1/fp@0,0/ssd@w201a9c37f496bdb8,1 10. c4t201A9C37F496BDB8d2 <HUAWEI-XSG1-4303 cyl 12798 alt 2 hd 64 sec 256> /pci@0/pci@0/pci@8/pci@0/pci@2/QLGC,qlc@0,1/fp@0,0/ssd@w201a9c37f496bdb8,2 11. c4t20019C37F496BDB8d1 <HUAWEI-XSG1-4303-100.00GB> /pci@0/pci@0/pci@8/pci@0/pci@2/QLGC,qlc@0,1/fp@0,0/ssd@w20019c37f496bdb8,1 12. c4t20019C37F496BDB8d2 <HUAWEI-XSG1-4303 cyl 12798 alt 2 hd 64 sec 256> /pci@0/pci@0/pci@8/pci@0/pci@2/QLGC,qlc@0,1/fp@0,0/ssd@w20019c37f496bdb8,2 Specify disk (enter its number): 5 selecting c3t201A9C37F496BDB8d1 [disk formatted] FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels inquiry - show disk ID volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> i Vendor: HUAWEI Product: XSG1 Revision: 4303 Serial: format>
In this example, the vendor ID and product ID of the LUN are HUAWEI and XSG1, respectively.
- Copy the scsi_vhci.conf file from the /kernel/drv/ directory to the /etc/driver/drv/ directory.
- Add the vendor ID and product ID of the storage system to the /etc/driver/drv/scsi_vhci.conf file.
The following is an example:
root@solaris:~# cat /etc/driver/drv/scsi_vhci.conf # # Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. # # name="scsi_vhci" class="root"; # # Load balancing global configuration: setting load-balance="none" will cause # all I/O to a given device (which supports multipath I/O) to occur via one # path. Setting load-balance="round-robin" will cause each path to the device # to be used in turn. # load-balance="round-robin"; # # Automatic failback configuration # possible values are auto-failback="enable" or auto-failback="disable" auto-failback="enable"; #BEGIN: FAILOVER_MODULE_BLOCK (DO NOT MOVE OR DELETE) # # Declare scsi_vhci failover module paths with 'ddi-forceload' so that # they get loaded early enough to be available for scsi_vhci root use. # # NOTE: Correct operation depends on the value of 'ddi-forceload', this # value should not be changed. The ordering of entries is from # most-specific failover modules (with a "probe" implementation that is # completely VID/PID table based), to most generic (failover modules that # are based on T10 standards like TPGS). By convention the last part of a # failover module path, after "/scsi_vhci_", is called the # "failover-module-name", which begins with "f_" (like "f_asym_sun"). The # "failover-module-name" is also used in the override mechanism below. ddi-forceload = "misc/scsi_vhci/scsi_vhci_f_asym_sun", "misc/scsi_vhci/scsi_vhci_f_asym_lsi", "misc/scsi_vhci/scsi_vhci_f_asym_emc", "misc/scsi_vhci/scsi_vhci_f_sym_emc", "misc/scsi_vhci/scsi_vhci_f_sym_hds", "misc/scsi_vhci/scsi_vhci_f_sym", # "misc/scsi_vhci/scsi_vhci_f_sym_enc", # "misc/scsi_vhci/scsi_vhci_f_tpgs_tape", # "misc/scsi_vhci/scsi_vhci_f_tape", "misc/scsi_vhci/scsi_vhci_f_tpgs"; # # For a device that has a GUID, discovered on a pHCI with mpxio enabled, vHCI # access also depends on one of the scsi_vhci failover modules accepting the # device. The default way this occurs is by a failover module's "probe" # implementation (sfo_device_probe) indicating the device is supported under # scsi_vhci. To override this default probe-oriented configuration in # order to # # 1) establish support for a device not currently accepted under scsi_vhci # # or 2) override the module selected by "probe" # # or 3) disable scsi_vhci support for a device # # you can add a 'scsi-vhci-failover-override' tuple, as documented in # scsi_get_device_type_string(9F). For each tuple, the first part provides # basic device identity information (vid/pid) and the second part selects # the failover module by "failover-module-name". If you want to disable # scsi_vhci support for a device, use the special failover-module-name "NONE". # Currently, for each failover-module-name in 'scsi-vhci-failover-override' # (except "NONE") there needs to be a # "misc/scsi_vhci/scsi_vhci_<failover-module-name>" in 'ddi-forceload' above. # # " 111111" # "012345670123456789012345", "failover-module-name" or "NONE" # "|-VID--||-----PID------|", # scsi-vhci-failover-override = # "STK FLEXLINE 400", "f_asym_lsi", # "SUN T4", "f_tpgs", # "CME XIRTEMMYS", "NONE"; # #END: FAILOVER_MODULE_BLOCK (DO NOT MOVE OR DELETE) scsi-vhci-failover-override="HUAWEI XSG1","f_sym"; #BEGIN: UPDATE_PATHSTATE_ON_RESET_BLOCK (DO NOT MOVE OR DELETE) # # Tunable for updating path states after a UNIT ATTENTION reset. # There are arrays which do not queue UAs during resets # after an implicit failover. For such arrays, we need to # update the path states after any type of UA resets, since # UA resets take higher precedence among other UNIT ATTENTION # conditions. By default, scsi_vhci does not update path states # on UA resets. To make scsi_vhci do that for such arrays, you need # to set the tunable scsi-vhci-update-pathstate-on-reset to "yes" # for the VID/PID combination as described below. # # "012345670123456789012345", "yes" or "no" # "|-VID--||-----PID------|", # scsi-vhci-update-pathstate-on-reset = "Pillar Axiom", "yes", "Oracle Oracle FS", "yes"; # #END: UPDATE_PATHSTATE_ON_RESET_BLOCK (DO NOT MOVE OR DELETE) #BEGIN: SPREAD_IPORT_RESERVATION_BLOCK # # Tunable for path selection optimization of SCSI reservation command. With # this optimization, a path with least busy initiator port will be selected # for a SCSI reservation command. If optimization is disabled scsi_vhci will # use load balancing policy "none" for SCSI reservation command's path # selection. Tunable spread-iport-reservation is used to establish the default # value. Its default value is "yes". To make scsi_vhci to turn off the # optimization globally, you need to set the tunable spread-iport-reservation # to "no". Tunable spread-iport-reservation-exceptions can describe exceptional # cases with the VID/PID combination specified, which has higher priority than # the tunable spread-iport-reservation. # spread-iport-reservation = "yes"; # # "012345670123456789012345", "yes" or "no" # "|-VID--||-----PID------|", # spread-iport-reservation-exceptions = # "STK T10000C", "yes", # "HP Ultrium 4-SCSI", "no"; # # To find the least busy initiator port, traffic load of every initiator port # need to be monitored. One important traffic load metric is rlentime: the # cumulative run length*time product of every initiator port. Delta rlentime # of latest period of time is used to represent the historical traffic load. # The simultaneous snapshot rlentime of every initiator port is needed to # calculate the delta rlentime. Tunable iport-rlentime-snapshot-interval is # used to configure the time interval in seconds to create rlentime snapshot # of every initiator port. Its default value is 30 seconds. # iport-rlentime-snapshot-interval = 30; # #END: SPREAD_IPORT_RESERVATION_BLOCK #BEGIN: LSR_CLIENT_GRACE_PERIOD_BLOCK # # Keep the LSR suspended client device as attached for # lsr-client-lifetime seconds when all paths are LSR suspended. # During this extended lifetime, all I/O requests would be queued up. When the # extended lifetime is over, the I/O requests in the queue would be # re-processed with the client device detached. # # Setting this value to 0 will disable the feature. # # suspend-client-grace-period = 0; # #END: LSR_CLIENT_GRACE_PERIOD_BLOCK #BEGIN: NOTE_BLOCK # The VID fields above should contain exactly eight left-aligned ASCII # characters. If the VID is less than 8 characters, it should be padded with # spaces (ASCII 0x20) to 8 characters. # # The PID fields above should contain at most sixteen left-aligned ASCII # characters. The PID field has an implicit wild-card rule. The product ID # in the returned SCSI inquiry string is considered a match if it has the # PID field as its prefix. For example, "Pillar Axiom" applies to both # the "Pillar Axiom 600" and the "Pillar Axiom 500". # #END: NOTE_BLOCK root@solaris:~#
In this example, the XSG1 storage system is added. Its vendor ID is HUAWEI and product ID is XSG1. f_sym is an existing failover-module-name in ddi-forceload in the configuration file.
scsi-vhci-failover-override="HUAWEI XSG1","f_sym";
The vendor ID must contain eight characters. If the vendor ID is not long enough, use spaces to reach the required length. The product ID has no length limit.
Two pairs of vendor IDs + product IDs are separated by a comma (,). The last pair of vendor ID + product ID ends with a semicolon (;).
- Run the stmsboot -D fp -e command on the host to activate the STMS function. If STMS has been activated, run the stmsboot -u command to update the configuration file after it is modified.
The system prompts you to reboot STMS. During the reboot, the /etc/vfstab file and dumping configurations are updated to refresh the device names.
If update //plat is displayed during the reboot, the host is accessing the official server to update the platform.
Old-Version Huawei Storage
Storage System Configuration
It is advised to disable ALUA. To enable ALUA, do as follows:
- T series V100R005, Dorado2100, Dorado5100, and Dorado2100 G2
Use the Huawei OceanStor ISM system to enable ALUA for all the host initiators, as shown in Figure 6-7.
- T series V200R002, 18000 series, V3 series, and 18000 V3 series
Use the Huawei OceanStor DeviceManager to enable ALUA for all the host initiators, as shown in Figure 6-8.
Multi-controller ALUA is not supported. When there are more than two controllers, ALUA is disabled by default and the ALUA status cannot be changed.