Example of scsi_vhci (MPxIO) multipath aggregation

| | Comments (1) | TrackBacks (0)
Normal fiberchannel devices are named
cXtWWPNdLUN

Example:

/dev/dsk/c5t21000080E511F169d0

WWPN in this case is 21:00:00:80:E5:11:F1:69. It appears as "target" in the standard Solaris SCSI notation.

The problem: If you got multiple paths (to multiple WWPNs) to your devices, your volumes will appears as many identical volumes - one for each path:

       1. c5t21000080E511F169d2 <LSI-ProFibre 4000R-5902-262.26GB>
          /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0/disk@w21000080e511f169,2
       2. c5t21000080E511F169d3 <LSI-ProFibre 4000R-5902-262.26GB>
          /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0/disk@w21000080e511f169,3
       3. c5t22000080E511F169d2 <LSI-ProFibre 4000R-5902-262.26GB>
          /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0/disk@w22000080e511f169,2
       4. c5t22000080E511F169d3 <LSI-ProFibre 4000R-5902-262.26GB>
          /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0/disk@w22000080e511f169,3
       5. c5t23000080E511F169d2 <LSI-ProFibre 4000R-5902-262.26GB>
          /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0/disk@w23000080e511f169,2
       6. c5t23000080E511F169d3 <LSI-ProFibre 4000R-5902-262.26GB>
          /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0/disk@w23000080e511f169,3
       7. c5t24000080E511F169d2 <LSI-ProFibre 4000R-5902-262.26GB>
          /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0/disk@w24000080e511f169,2
       8. c5t24000080E511F169d3 <LSI-ProFibre 4000R-5902-262.26GB>
          /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0/disk@w24000080e511f169,3


How to correct this?

Tell scsi_vhci to accept this "LSI ProFibre"-Device as multipath device:

device-type-scsi-options-list =
"LSI     ProFibre 4000R", "symmetric-option";
symmetric-option = 0x1000000;


Set a suitable region size to use logical-block round-robin:

device-type-mpxio-options-list =
"device-type=LSI     ProFibre 4000R", "load-balance-options=logical-block-options";
logical-block-options="load-balance=logical-block", "region-size=20";



Result:

       1. c6t0080E52126CDF002d0 <LSI-ProFibre 4000R-5902-262.26GB>
          /scsi_vhci/disk@g0080e52126cdf002
       2. c6t0080E52126CDF003d0 <LSI-ProFibre 4000R-5902-262.26GB>
          /scsi_vhci/disk@g0080e52126cdf003



Wonderful.

0 TrackBacks

Listed below are links to blogs that reference this entry: Example of scsi_vhci (MPxIO) multipath aggregation.

TrackBack URL for this entry: http://southbrain.com/mt/mt-tb.cgi/32

1 Comments

Hi,

5*. Really Wonderful article. Helped me a lot. How do you manage the SAN? I have a ProFibre 4000R connected to a solaris 8 sparc box, running veritas cluster and veritas volumemanager with LSIProFibreASL package installed. All disks are configured in several raid 5 pools. The mlxcfg and mlxutil utilities are running fine:
root@sol8# /opt/mlxcfg scan
e-Array Director CLI v4.00.53 pre-release -- SIT Version: v4.0.71
Controller: 0
Name : MYLEX DACFFx2
Path : External Fibre
SCAN command succeeded


I cant find the management tools to use in a solaris 10 sparc box (without veritas cluster or vxVM) anywhere. Can someone you me?

Thanx

Leave a comment

July 2012

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About

This blog is owned by:

Pascal Gienger
Jägerstrasse 77
8406 Winterthur
Switzerland


Google+: Profile
YouTube Channel: pascalgienger