58
EMC Host Connectivity with Emulex FC HBAs and FCoE CNAs for the Linux Environment
Installing and Configuring the Linux Host with the Emulex Driver
◆ Start the Emulex Application daemons:
cd /usr/sbin/hbanyware
./start_elxdiscovery
./start_myserver
Note: While loading the Emulex driver using modprobe, it is possible to
specify driver parameters. However, any parameters set in the
/etc/modprobe.conf or /etc/modprobe.conf.local files will
override the values specified on the command line.
Target information exported to the /proc filesystem
The Emulex driver populates the
/proc/lpfc/<host_adapter_number> file with the WWPN and the
WWNN of all targets for each adapter in the system. The
<
host_adapter_number> increments every time the driver is
unloaded and reloaded.
For example:
cat /proc/scsi/lpfc/1
lpfc1t00 DID 491b00 WWPN 50:06:01:60:10:60:12:70 WWNN 50:06:01:60:90:60:12:70
lpfc1t01 DID 481b00 WWPN 50:06:01:68:10:60:12:70 WWNN 50:06:01:60:90:60:12:70
Dynamically modifying the driver and device information exported to the
/sys filesystem
The Emulex driver exports the driver versions, parameters, and
device information in
/sys/class/scsi_host/ directory. A new
directory is dynamically created for each Emulex
scsi_host_adapter
in the system. Similar to the incrementing of the
<
host_adapter_number> in the /proc filesystem, the directory
number will be incremented every time the driver is unloaded and
reloaded.
The following is a listing of the directory contents:
cd /sys/class/scsi_host/host1
ls
. events lpfc_lun_queue_depth outfcpio
.. fabric_name lpfc_max_luns port_name
board_online fwrev lpfc_nodev_tmo port_type
cmd_per_lun hdw lpfc_scan_down portfcid
ctlreg host_busy lpfc_topology portnum
device info lpfc_use_adisc proc_name
Comments to this Manuals