... Within a Solaris host, there is a one-to-one mapping of FCoE ports and Ethernet interfaces---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.
h3. How to Enable 802.3x PAUSE and Jumbo Frames on the Ethernet Interface
Perform the following prerequisites before you create an FCoE port on an Ethernet interface: # Enable the 802.3x (also called PAUSE) setting on the Ethernet interface. This setting 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.
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.
{anchor:SAPSmode}
h3. How to Create FCoE Target Ports
# Create an FCoE target port on a specified network interface. {code} # fcadm create-fcoe-port -t nxge0 {code} # 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. {code} # fcadm create-fcoe-port -t -f e1000g0 {code} If no error messages appear, the FCoE target port is created and the FCoE target is online.
h3. How to Verify That an FCoE Target Port is Working
# List the FCoE ports you created. {code} # fcadm list-fcoe-ports {code} {code} HBA Port WWN: 200000144fda7f66 Port Type: Target MAC Name: nxge0 MTU Size: 9194 MAC Factory Address: 00144fda7f66 MAC Current Address: 0efc009a002a Promiscuous Mode: On {code} # List all target mode Fibre Channel HBA ports on the host. {code} # fcinfo hba-port -t {code} {code} 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 {code} # View a list of the FCoE target ports. The {{-v}} option displays additional information about the target, along with SCSI session information for logged-in initiators. {code} # stmfadm list-target -v {code} {code} 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: Wed Feb 11 15:56:51 2009 {code}
FCoE port configuration is persistent across reboots. All configured FCoE ports are created and placed online automatically after a reboot.
h3. How to Delete FCoE Target Ports
You can disable FCoE functionality when needed.
# Take the FCoE target port offline. {code} # stmfadm offline-target wwn.200000144fda7f66 {code} # Remove the FCoE target port. {code} # fcadm delete-fcoe-port nxge0 {code}
h5. Where to Go Next
* [How to Make Logical Units Available for FC and FCoE|How to Make Logical Units Available for FC and FCoE]
|