JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11.1 Administration: Devices and File Systems     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Managing Removable Media (Tasks)

2.  Writing CDs and DVDs (Tasks)

3.  Managing Devices (Tasks)

4.  Dynamically Configuring Devices (Tasks)

5.  Managing USB Devices (Tasks)

6.  Using InfiniBand Devices (Overview/Tasks)

7.  Managing Disks (Overview)

8.  Managing Disk Use (Tasks)

9.  Administering Disks (Tasks)

10.  Setting Up Disks (Tasks)

11.  Configuring Storage Devices With COMSTAR (Tasks)

Overview of COMSTAR Features

Identifying COMSTAR Software and Hardware Requirements

Configuring Storage Devices With COMSTAR (Task Map)

COMSTAR Terminology

Configuring Dynamic or Static Target Discovery

Configuring Storage Devices With COMSTAR (Tasks)

How to Enable the STMF Service

How to Back Up and Restore a COMSTAR Configuration

How to Create a Logical Unit

How to Create an iSCSI Target

How to Enable iSNS Discovery for the Target Device

How to Configure an IB HCA for iSER

Creating iSCSI Target Portal Groups

Using TPGs with iSER

How to Create a Target Portal Group for iSCSI Targets

How to Access iSCSI Disks

Making SCSI Logical Units Available

How to Make a Logical Unit Available to All Systems

How to Restrict Logical Unit Access to Selected Systems

Configuring Fibre Channel Devices With COMSTAR

Configuring Fibre Channel Ports With COMSTAR

How to Display Existing FC Port Bindings

How to Set All FC Ports to a Specific Mode

How to Set Selected FC Ports to Initiator or Target Mode

Making Logical Units Available for FC and FCoE

How to Make Logical Units Available for FC and FCoE

Configuring FCoE Devices With COMSTAR

Configuring FCoE Ports

Enabling 802.3x PAUSE and Jumbo Frames on the Ethernet Interface

How to Create FCoE Target Ports

How to Verify That an FCoE Target Port Is Working

How to Delete FCoE Target Ports

Configuring SRP Devices With COMSTAR

Using COMSTAR Views With SRP

How to Enable the SRP Target Service

How to Verify SRP Target Status

12.  Configuring and Managing the Oracle Solaris Internet Storage Name Service (iSNS)

13.  The format Utility (Reference)

14.  Managing File Systems (Overview)

15.  Creating and Mounting File Systems (Tasks)

16.  Configuring Additional Swap Space (Tasks)

17.  Copying Files and File Systems (Tasks)

18.  Managing Tape Drives (Tasks)

Index

Configuring FCoE Devices With COMSTAR

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:

Configuring FCoE Ports

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

Enabling 802.3x PAUSE and Jumbo Frames on the Ethernet Interface

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:

How to Create FCoE Target Ports

  1. Create an FCoE target port on a specified network interface.
    # 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.

  2. Enable promiscuous mode, if prompted.
    # fcadm create-fcoe-port -t -f e1000g0

    If no error messages appear, the FCoE target port is created, and the FCoE target is online.

How to Verify That an FCoE Target Port Is Working

  1. Display the FCoE ports that you created.
    # 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
  2. Display all target mode Fibre Channel HBA ports on the host.
    # 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
  3. 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.

    # 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: ...

How to Delete FCoE Target Ports

You can disable FCoE functionality when needed.

  1. Take the FCoE target port offline.
    # stmfadm offline-target wwn.200000144fda7f66
  2. Remove the FCoE target port.
    # fcadm delete-fcoe-port nxge0