Configuring Solaris MPXIO to work with a Clariion CX500 storage array


After installing Solaris 10 Update 1 last week, I wanted to see how well MPXIO worked with a Clariion CX500. After reading through a bunch of BLOG posts and various manual pages, I decided to configure a few LUNs and present them to the host. Once I created and masked the LUNs, I added the necessary zoning configurations, and ran format to see if the LUNs were visible:

$ format

Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c0t0d0
/pci@83,4000/FJSV,ulsa@2,1/sd@0,0
1. c0t1d0
/pci@83,4000/FJSV,ulsa@2,1/sd@1,0
2. c2t50060168082006E2d0
/pci@83,2000/pci@2/lpfc@4/fp@0,0/ssd@w50060168082006e2,0
3. c2t50060160082006E2d0
/pci@83,2000/pci@2/lpfc@4/fp@0,0/ssd@w50060160082006e2,0
4. c2t50060168082006E2d1
/pci@83,2000/pci@2/lpfc@4/fp@0,0/ssd@w50060168082006e2,1
5. c2t50060160082006E2d1
/pci@83,2000/pci@2/lpfc@4/fp@0,0/ssd@w50060160082006e2,1
6. c3t50060169082006E2d0
/pci@83,2000/pci@2/lpfc@5/fp@0,0/ssd@w50060169082006e2,0
7. c3t50060161082006E2d0
/pci@83,2000/pci@2/lpfc@5/fp@0,0/ssd@w50060161082006e2,0
8. c3t50060161082006E2d1
/pci@83,2000/pci@2/lpfc@5/fp@0,0/ssd@w50060161082006e2,1
9. c3t50060169082006E2d1
/pci@83,2000/pci@2/lpfc@5/fp@0,0/ssd@w50060169082006e2,1
Specify disk (enter its number): ^D

The devices were visible, but several targets were listed as “drive type unknown.” Since I had yet to configure the multi-pathing solution (MPXIO), and since the storage array I was testing with was an active/passive array, the eight devices off c2 and c3 were actually two devices seen down four paths. To get the multi-pathing configured properly, I needed to add the array type to the device-type-scsi-options-list in /kernel/drv/scsi_vhci.conf:

$ cat /kernel/drv/scsi_vhci.conf

#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "@(#)scsi_vhci.conf 1.9 04/08/26 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="disable";
#
# 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 =
"DGC RAID", "symmetric-option";

symmetric-option = 0x1000000;

Once the scsi_vhci.conf configuration file was adjusted, I ran the stmsboot command to enable MPXIO multi-pathing on all fibre channel interfaces:

$ stmsboot -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

This required a reboot, so I rebooted the machine, and low and behold the devices appeared correctly:

$ format

Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c0t0d0
/pci@83,4000/FJSV,ulsa@2,1/sd@0,0
1. c0t1d0
/pci@83,4000/FJSV,ulsa@2,1/sd@1,0
2. c4t6006016061B71000AD0810C9979CD911d0
/scsi_vhci/ssd@g6006016061b71000ad0810c9979cd911
3. c4t6006016061B7100055B12704989CD911d0
/scsi_vhci/ssd@g6006016061b7100055b12704989cd911
Specify disk (enter its number): ^D

I have a bunch of additional testing to do, but things are working pretty well so far.

This article was posted by Matty on 2006-04-10 21:39:00 -0400 -0400