![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Technical Instruction Sure Solution 1569646.1 : How to Setup and Verify the Multipath Configuration Between a Server and a Sun Storage J4000 Array
In this Document
Applies to:Sun Storage J4200 Array - Version Not Applicable and laterSun Storage J4500 Array - Version Not Applicable and later Sun Storage J4400 Array - Version Not Applicable and later Information in this document applies to any platform. GoalThe J4000 family of arrays is designed for redundancy between the attached server and array . This is accomplished by cabling two data paths, along with the installation and configuration of multipath software. In this working example, we configure, verify, and test a multipath configuration between a T2000 server with Solaris 10, a J4500 array and MPxIO software (aka Solaris Traffic Manager). See the latest Array Release Notes for all supported operating systems, HBAs and patches required for multipathing support. Note: NOT all SATA drives are supported with Solaris mpxio. See the J4200/J4400 Array Release Notes section "Supported Hard Disk Drives for Multipathing With Solaris" for supported DISKS. SATA drive model ST32500NSSUN250G is not supported. ST35000NSSUN500G and ST37500NSSUN750G require DRIVE f/w 3AZB which is included with CAM 6.6.x and later.
SolutionIn our initial setup, two SAS/SATA HBA's (SG-XPCIE8SAS-E-Z) are installed in the server. Each HBA has a single connection to the Expander (or SIM) on the J4500. After the connection of the array and reconfiguration reboot of the server, the format utility can be used to see the disk drives. # echo | format (For simplicity, only 3 of the 48 disks are shown)
........ 5. c4t0d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk1 /pci@780/pci@0/pci@8/LSILogic,sas@0/sd@0,0 6. c4t1d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk2 /pci@780/pci@0/pci@8/LSILogic,sas@0/sd@1,0 7. c4t2d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk3 ........ 49. c5t0d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk1 /pci@7c0/pci@0/pci@8/LSILogic,sas@0/sd@0,0 50. c5t1d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk2 /pci@7c0/pci@0/pci@8/LSILogic,sas@0/sd@1,0 51. c5t2d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk3 /pci@7c0/pci@0/pci@8/LSILogic,sas@0/sd@2,0 ........
Our next step is to turn on mpxio. The complete set of instructions for enableing and disabling mpxio are provided under Oracle Solaris SAN Configuration and Multipathing Guide. In our example, we will tailor the command to explicitly turn on mpxio for just the external HBA ports. This command will instruct solaris to enable mpxio on all mpt devices, including the internal disks. # stmsboot -e -D mpt
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/n As we choose not to have the internal disks under mpxio control (there is only 1 path to these drives), a line is added to the /kernel/drv/mpt.conf file to tell mpxio not to enable multipathing on them. #
name="mpt" parent="/pci@780/pci@0/pci@9" unit-address="0" mpxio-disable="yes"; # A reconfiguration reboot of the server is performed. Upon a successful reboot, we can look at disk1, disk2, and disk3 in format. # echo | format
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@780/pci@0/pci@9/scsi@0/sd@0,0 1. c0t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@780/pci@0/pci@9/scsi@0/sd@2,0 ............ 13. c6t5000CCA214C3B579d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk2 /scsi_vhci/disk@g5000cca214c3b579 .......... 28. c6t5000CCA214C47BD4d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk1 /scsi_vhci/disk@g5000cca214c47bd4 29. c6t5000CCA214C47E97d0 <ATA-HITACHI HUA7250S-AC5A-465.76GB> disk3 /scsi_vhci/disk@g5000cca214c47e97 ...........
We can now look at this virtual device with the mpathadm command. This first command lets know two paths were created, and are operational. # mpathadm list lu (parsed for disk1, disk2 and disk3)
/dev/rdsk/c6t5000CCA214C3B579d0s2 Total Path Count: 2 Operational Path Count: 2 /dev/rdsk/c6t5000CCA214C47BD4d0s2 Total Path Count: 2 Operational Path Count: 2 /dev/rdsk/c6t5000CCA214C47E97d0s2 Total Path Count: 2 Operational Path Count: 2
# mpathadm show lu /dev/rdsk/c6t5000CCA214C47E97d0s2
Logical Unit: /dev/rdsk/c6t5000CCA214C47E97d0s2 mpath-support: libmpscsi_vhci.so Vendor: ATA Product: HITACHI HUA7250S Revision: AC5A Name Type: unknown type Name: 5000cca214c47e97 Asymmetric: no Current Load Balance: round-robin Logical Unit Group ID: NA Auto Failback: on Auto Probing: NA Paths: Initiator Port Name: 500605b000a12950 Target Port Name: 5080020000493342 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 500605b000a132b0 Target Port Name: 50800200004933c2 Override Path: NA Path State: OK Disabled: no Target Ports: Name: 5080020000493342 Relative ID: 0 Name: 50800200004933c2 Relative ID: 0
In this last verification test, a raidz1 zpool is created from the 3 drives. Some I/O is generated and measured. # zpool create testpool raidz1 c6t5000CCA214C3B579d0 c6t5000CCA214C47BD4d0 c6t5000CCA214C47E97d0
# zpool list NAME SIZE ALLOC FREE CAP HEALTH ALTROOT testpool 1.36T 11.0G 1.35T 0% ONLINE - # dd if=/dev/zero of=/testpool/file-of-zeros bs=8192k count=1000 & # dd if=/testpool/file-of-zeros of=/dev/null bs=1024k count=1000 & # iostat -Xxnt 5 extended device statistics r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device 137.9 430.2 15977.4 51835.6 0.0 8.7 0.0 15.3 0 96 c6t5000CCA214C47BD4d0 69.1 214.6 7982.0 25923.0 0.0 0.0 0.0 0.0 0 0 c6t5000CCA214C47BD4d0.mpt0 68.9 214.8 7995.5 25912.8 0.0 0.0 0.0 0.0 0 0 c6t5000CCA214C47BD4d0.mpt2 137.9 418.7 16111.9 50934.2 0.0 8.8 0.0 15.9 0 97 c6t5000CCA214C3B579d0 68.9 209.1 8022.4 25463.9 0.0 0.0 0.0 0.0 0 0 c6t5000CCA214C3B579d0.mpt0 69.1 208.7 8089.6 25470.6 0.0 0.0 0.0 0.0 0 0 c6t5000CCA214C3B579d0.mpt2 140.5 424.1 16461.5 50910.2 0.0 8.6 0.0 15.2 0 96 c6t5000CCA214C47E97d0 70.3 211.4 8237.5 25454.3 0.0 0.0 0.0 0.0 0 0 c6t5000CCA214C47E97d0.mpt0 70.1 211.9 8224.0 25456.0 0.0 0.0 0.0 0.0 0 0 c6t5000CCA214C47E97d0.mpt2
Note: The individual path statistics (mpt0 and mpt1) from iostat do not show up if the two paths to the J4000 are from one dual port SAS HBA.
Attachments This solution has no attachment |
||||||||||||||||
|