Solaris
Storage System Configuration
If the OS native multipathing software is used, retain the default settings of the initiator and configure Host Access Mode and Preferred Path for HyperMetro as required. Table 7-15 lists the detailed settings.
HyperMetro Working Mode |
Storage System |
OS Setting |
Host Access Mode |
Preferred Path for HyperMetro |
Description |
---|---|---|---|---|---|
Load balancing mode |
Local storage |
Solaris |
Asymmetric |
Yes |
The host uses all paths of a disk with equal priority. |
Remote storage |
Solaris |
Asymmetric |
Yes |
||
Local preferred mode |
Local storage |
Solaris |
Asymmetric |
Yes |
The host considers the paths from the local storage system as preferred paths, and those from the remote storage system as non-preferred paths. |
Remote storage |
Solaris |
Asymmetric |
No |
- For details about the Solaris versions, see the Huawei Storage Interoperability Navigator.
- 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 or Preferred Path for HyperMetro. If you map the LUN for the first time, restart is not needed.
- When data is migrated from other Huawei storage systems (including OceanStor Dorado V3, OceanStor V3, and OceanStor V5) to OceanStor Dorado V6, configure the storage system by following instructions in "Recommended Configurations for OceanStor Dorado V6 for Taking Over Data from Other Huawei Storage Systems When the Host Uses the OS Native Multipathing Software" in the OceanStor Dorado Host Connectivity Guide for Solaris.
Configuring the Load Balancing Mode
- Click the host name and choose Operation > Modify.Figure 7-51 Modifying the host properties
The information displayed on the GUI may vary slightly with the product version.
- Set Host Access Mode to Asymmetric and Preferred Path for HyperMetro to Yes for both the local and remote storage systems.Figure 7-52 Settings on the local and remote storage systems
Configuring the Local Preferred Mode
- Click the host name and choose Operation > Modify.Figure 7-53 Modifying the host properties
The information displayed on the GUI may vary slightly with the product version.
- For the local storage system, set Host Access Mode to Asymmetric and Preferred Path for HyperMetro to Yes. For the remote storage system, set Host Access Mode to Asymmetric and Preferred Path for HyperMetro to No.Figure 7-54 Settings on the local storage systemFigure 7-55 Settings on the remote storage system
Host Configuration
Solaris 10
In Solaris 10, the multipathing software has been installed by default, but is not enabled.
After Host Access Mode is set to Asymmetric on the storage systems, run the stmsboot -D fp -e command on the host to enable the multipathing software. You do not need to configure the software on the host.
If the vendor ID and product ID of Huawei storage have been added to the scsi_vhci.conf configuration file, modify the configuration file by following the instructions in "How Can I Modify the Multipathing Configuration File scsi_vhci.conf?" of the OceanStor Dorado Host Connectivity Guide for Solaris.
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.
bash-3.2# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t6010203100040577001ACD6C00000025d0 <HUAWEI-XSG1-6000 cyl 11700 alt 2 hd 224 sec 56> /scsi_vhci/ssd@g6010203100040577001acd6c00000025 1. c2t0d0 <drive type unknown> /pci@0/pci@0/pci@2/scsi@0/sd@0,0 2. c2t1d0 <drive type unknown> /pci@0/pci@0/pci@2/scsi@0/sd@1,0 3. c2t2d0 <drive type unknown> /pci@0/pci@0/pci@2/scsi@0/sd@2,0 4. c2t3d0 <SEAGATE-ST914602SSUN146G-0603 cyl 14087 alt 2 hd 24 sec 848> /pci@0/pci@0/pci@2/scsi@0/sd@3,0 5. c2t4d0 <drive type unknown> /pci@0/pci@0/pci@2/scsi@0/sd@4,0 6. c2t5d0 <drive type unknown> /pci@0/pci@0/pci@2/scsi@0/sd@5,0 7. c2t6d0 <drive type unknown> /pci@0/pci@0/pci@2/scsi@0/sd@6,0 Specify disk (enter its number):
The path format is scsi_vhci, indicating that this path an aggregation of multiple paths.
Solaris 11
When Host Access Mode is Asymmetric on the storage systems, the method for configuring Solaris 11 is the same as that for Solaris 10. For details, see 6.2.2.2-Solaris 10.
Verification
Verifying the Load Balancing Mode
After the LUNs have been mapped to the host, scan the LUNs on the host and verify that the number and status of the preferred paths are correct. The following is an example:
bash-3.2# mpathadm show lu /dev/rdsk/c0t6010203100040577001ACD6C00000025d0s2 Logical Unit: /dev/rdsk/c0t6010203100040577001ACD6C00000025d0s2 mpath-support: libmpscsi_vhci.so Vendor: HUAWEI Product: XSG1 Revision: 6000 Name Type: unknown type Name: 6010203100040577001acd6c00000025 Asymmetric: yes Current Load Balance: round-robin Logical Unit Group ID: NA Auto Failback: on Auto Probing: NA Paths: Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 2991010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 2991010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 201016212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 201116212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 201016212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 201116212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 200016212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 200016212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 28b0010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 2990010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 200116212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 28b1010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 28b0010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 200116212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 28b1010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 2990010203040577 Override Path: NA Path State: OK Disabled: no Target Port Groups: ID: 1 Explicit Failover: no Access State: active optimized Target Ports: Name: 2991010203040577 Relative ID: 8 Name: 28b0010203040577 Relative ID: 3 Name: 2990010203040577 Relative ID: 2 Name: 28b1010203040577 Relative ID: 12 ID: 2 Explicit Failover: no Access State: active optimized Target Ports: Name: 201016212c374217 Relative ID: 8197 Name: 201116212c374217 Relative ID: 8202 Name: 200016212c374217 Relative ID: 8198 Name: 200116212c374217 Relative ID: 8201 bash-3.2#
In the command output:
- The value of Asymmetric is yes, indicating that the storage system is in asymmetric mode.
- If Access State is active optimized, the path is a preferred path.
In this example, there are eight target ports (2991010203040577, 28b0010203040577, 2990010203040577, 28b1010203040577, 201016212c374217, 201116212c374217, 200016212c374217, and 200116212c374217) and 16 paths, which are all preferred paths and are consistent with the actual configuration. The configuration is successful.
Verifying the Local Preferred Mode
After the LUNs have been mapped to the host, scan 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@S113:~# mpathadm show lu /dev/rdsk/c0t6010203100040577001ACD6C00000025d0s2 Logical Unit: /dev/rdsk/c0t6010203100040577001ACD6C00000025d0s2 mpath-support: libmpscsi_vhci.so Vendor: HUAWEI Product: XSG1 Revision: 6000 Name Type: unknown type Name: 6010203100040577001acd6c00000025 Asymmetric: yes Current Load Balance: round-robin Logical Unit Group ID: NA Auto Failback: on Auto Probing: NA Paths: Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 2991010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 2991010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 201116212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 201016212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 201116212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 200016212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 200116212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 2990010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 201016212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 28b0010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 28b1010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b31 Target Port Name: 28b0010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 200016212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 28b1010203040577 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 200116212c374217 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2100000e1e1a9b30 Target Port Name: 2990010203040577 Override Path: NA Path State: OK Disabled: no Target Port Groups: ID: 1 Explicit Failover: no Access State: active optimized Target Ports: Name: 2991010203040577 Relative ID: 8 Name: 2990010203040577 Relative ID: 2 Name: 28b0010203040577 Relative ID: 3 Name: 28b1010203040577 Relative ID: 12 ID: 2 Explicit Failover: no Access State: active not optimized Target Ports: Name: 201116212c374217 Relative ID: 8202 Name: 201016212c374217 Relative ID: 8197 Name: 200016212c374217 Relative ID: 8198 Name: 200116212c374217 Relative ID: 8201 root@S113:~#
In the command output:
- The value of Asymmetric is yes, indicating that the storage system is in asymmetric mode.
- If Access State is active optimized, the path is a preferred path.
- If Access State is active not optimized, the path is a non-preferred path.
In this example, there are four target ports (2991010203040577, 2990010203040577, 28b0010203040577, and 28b1010203040577) and eight preferred paths from the local storage system, and another four target ports (201116212c374217, 201016212c374217, 200016212c374217, and 200116212c374217) and eight non-preferred paths from the remote storage system. The number of paths is consistent with the actual configuration. The configuration is successful.