|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris 11.1 Administration: Devices and File Systems Oracle Solaris 11.1 Information Library|
You can set up and configure a COMSTAR target in a Fibre Channel over Ethernet (FCoE) network environment, then make it accessible to the storage network. Ensure that your system meets the necessary prerequisites before you begin:
FCoE functionality is provided through Ethernet interfaces. Fibre Channel over Ethernet (FCoE) ports are logical entities associated with Ethernet interfaces. Within an Oracle Solaris system, a one-to-one mapping of FCoE ports and Ethernet interfaces exist. You can associate only one FCoE port with a given Ethernet interface. FCoE and IP cannot share the same Ethernet interface. So, before you create an FCoE port on an Ethernet interface, ensure that the interface has been unplumbed.
The FCoE port configuration is persistent across reboots. All configured FCoE ports are created and placed online automatically after the system reboots.
For FCoE target ports, you must enable the following service before creating FCoE target ports to get persistent behavior.
# svcadm enable svc:/system/fcoe_target:default
These settings can vary for different Ethernet hardware and drivers. In most cases, you must modify the driver.conf file of the Ethernet interface and then reboot. See the driver.conf file for your Ethernet interface for details on how to enable these features.
Perform one of the following prerequisite steps before you create an FCoE port on an Ethernet interface:
Enable 802.3x (also called PAUSE) on the Ethernet interface.
Doing so ensures a consistent Ethernet transport.
Enable jumbo frames (> 2.5 Kbyte) on the Ethernet interface.
A Fibre Channel data frame can be as large as 2136 bytes.
# fcadm create-fcoe-port -t nxge0
If the Ethernet interface you selected does not support multiple unicast address (for example, the VMware network interface), you are prompted to explicitly enable promiscuous mode on that interface.
# fcadm create-fcoe-port -t -f e1000g0
If no error messages appear, the FCoE target port is created, and the FCoE target is online.
# fcadm list-fcoe-ports HBA Port WWN: 200000144fda7f66 Port Type: Target MAC Name: nxge0 MTU Size: 9194 MAC Factory Address: 00144fda7f66 MAC Current Address: 0efc009a002a Promiscuous Mode: On
# fcinfo hba-port -t HBA Port WWN: 200000144fda7f66 Port Mode: Target Port ID: 9a002a OS Device Name: Not Applicable Manufacturer: Sun Microsystems, Inc. Model: FCoE Virtual FC HBA Firmware Version: N/A FCode/BIOS Version: N/A Serial Number: N/A Driver Name: COMSTAR FCOET Driver Version: 1.0 Type: F-port State: online Supported Speeds: 1Gb 10 Gb Current Speed: 10Gb Node WWN: 100000144fda7f66
The -v option displays additional information about the target, along with SCSI session information for logged-in initiators.
# stmfadm list-target -v Target wwn.200000144FDA7F66 Operational Status: Online Provider Name : fcoet Alias : fcoet1 Sessions : 1 Initiator: wwn.210000E08B818343 Alias: #QLA2342 FW:v3.03.25 DVR:v8.02.14.01 Logged in since: ...
You can disable FCoE functionality when needed.
# stmfadm offline-target wwn.200000144fda7f66
# fcadm delete-fcoe-port nxge0