HP StorageWorks Disk Array XP operating system configuration guide for Sun Solaris XP24000, XP12000, XP10000, SVS200, v01(A5951-96037, June 2007)

# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c3 fc-fabric connected configured unknown
c3::50060e8003285301 disk connected configured unknown
c4 fc-fabric connected configured unknown
c4::50060e8003285311 disk connected configured unknown
# cfgadm -c configure c3::50060e8003285301
# cfgadm -c configure c4::50060e8003285311
Configuring Emulex HBAs with the lpfc driver
NOTE:
The lpfc driver cannot be used with Sun StorEdge Traffic Manager/Sun Storage Multipathing. Emulex does
not support using both the lpfc driver and the emlxs driver (provided with the Sun SAN driver stack)
concurrently. To use the emlxs driver, refer to “Configuring HBAs with the Sun SAN driver stack” on page 18.
Configure Emulex HBAs with the lpfc driver as follows:
Ensure you have the latest supported version
Edit the /kernel/drv/lpfc.conf driver configuration file to set up the HBA for a SAN
infrastructure:
topology = 2;
scan-down = 0;
If multiple HBAs and VxVM are used, adjust the following parameters to assure correct VxVM
behavior:
no-device-delay=0;
nodev-tmo=30;
linkdown-tmo=30; # verify, should be default value
Persistent bindings are necessary in a fabric topology and are used to bind a SCSI target ID to a
particular WWPN (of an array port). This is required to guarantee that the SCSI target IDs will
remain the same when the system is rebooted. Persistent bindings can be set by editing the
configuration file or by using the lputil utility. The following example illustrates the binding of
target 20 (lpfc instance 2) to WWPN 50060e8003285301 and the binding of target 30 (lpfc
instance 0) to WWPN 50060e8003285311:
fcp-bind-WWPN="50060e8003285301:lpfc2t20",
"50060e8003285311:lpfc0t30";
(Replace the WWPNs above with the WWPNs for your array ports.)
For each LUN that needs to be accessed, add an entry to the /kernel/drv/sd.conf file. For
example, assume you want to access LUNs 1 and 2 through both paths. You would add the
following entries (preferably at the end of the file):
XP Disk Array Configuration Guide for Sun Solaris 19