HP 3PAR Solaris Implementation Guide

12 Configuration Examples
This chapter provides sample configurations used successfully for HP testing purposes.
Example of Discovering a VLUN Using qlc/emlx Drivers with SSTM
The following example shows how to discover a VLUN on a Solaris 9 host that is using the qlc and
emlxs drivers and SSTM over a direct Fibre Channel connection.
1. Make sure the host is in a clean state before you start.
# cfgadm -o show_FCP_dev -al
# luxadm probe
# devfsadm -Cv
# format
2. Export a VLUN to the host.
# cfgadm -o show_FCP_dev -al
# cfgadm -c connect c3::21530002ac0000ae,0 (the c3 link number is known then
add a link with comma and lun number)
# cfgadm -o show_FCP_dev -al - now it appears connected but not configured
# cfgadm -c configure c3::21530002ac0000ae,0 - reply is that the attachment
point does not exist
# luxadm -e forcelip /dev/cfg/c3 - had to issue this command to see the line
above as configured in
show_FCP_dev
3. Stop the traffic on the host.
4. Issue the HP 3PAR OS CLI removevlun command on the HP 3PAR StoreServ Storage to
remove the VLUN.
5. Use format on the host to see that the VLUN is removed. The VLUN is listed but "drive type
unknown" is displayed.
6. Clean up the remaining entries as in the following example.
# cfgadm -o show_FCP_dev -al - the lun 0 line has been removed
# luxadm probe - no FC devices found
# devfsadm -Cv - removes all the /dev/rdsk & /dev/dsk & /devices/scsi_vchi/
entries for
the removed lun
format - all clean
Example of Discovering a VLUN Using an Emulex Driver and VxVM
The following example shows how to discover a VLUN on a Solaris 10 MU6 host that is using the
Emulex lpfc driver and VxVM over a direct and fabric Fibre Channel connection.
Using the local HBA WWPN and the HP 3PAR StoreServ Storage WWPN, issue an HPAnywhere
hbacmd RescanLuns command for each direct connection or each fabric zone.
CAUTION: Always refer to the driver notes on the effect of issuing a RescanLUNs on the driver
and already discovered VLUNs.
# /opt/HBAnyware/hbacmd RescanLuns xx.xx.xx.... xx.xx.xx.xx...
bash-3.00# ./hbacmd RescanLuns 10:00:00:00:C9:7B:C5:D6 21:42:00:02:AC:00:00:AF
70 Configuration Examples