Open-FCoE WikiMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

FCoE Initiator Quickstart

From Open-FCoE Wiki

Contents

[edit] Introduction

Quick set of instructions to setup FCoE initiator.

[edit] Configuration

[edit] Initial setup

  1. Get the Open-FCoE initiator source code
    1. git clone git://open-fcoe.org/openfc/open-fcoe-initiator.git
  1. Update the kernel configuration for open-fcoe-initiator
    1. cd <path-to-open-fcoe-initiator>
    2. I always copy in my last known good .config file and "make menuconfig", exit saving changes.
    Ensure that FiberChannel Transport Attributes and then LibFC and FCoE modules are enabled in kernel configuration.
    The FiberChannel Transport Attributes location is:
    -> Device Drivers
      -> SCSI device support
        -> SCSI Transports
    LibFC and FCoE modules location is:
    -> Device Drivers       
      -> SCSI device support
        -> SCSI low-level drivers (SCSI_LOWLEVEL [=y])
  1. Build and install open-fcoe-initiator kernel and its modules
    1. make -j 12 && make modules && make modules_install && make install
    2. Modify your bootloader to boot your new kernel
    3. reboot

[edit] FCoE Initiator usage

  1. Load fcoe stack
    1. modprobe fcoe
  1. Start the initiator on ethernet interface ethX (where ethX is the device connected to the target)
    1. echo "ethX" > /sys/module/fcoe/create

At this point you should see a new disk on your initiator and see FCoE traffic using wireshark on ethX.

  1. Destroy the initiator on ethernet interface ethX
    1. echo "ethX" > /sys/module/fcoe/destroy

[edit] Using FCoE initiator with FCoE SW target

The FCoE Initiator can use used with FCoE SW target with back to back crosswire ethernet connection between FCoE initiator and SW target ethernet interfaces.

Please read the FCoE SW Target Quickstart to help you get started using the FCoE SW target.

Retrieved from "http://www.open-fcoe.org/openfc/wiki/index.php/FCoE_Initiator_Quickstart"

This page has been accessed 13,025 times. This page was last modified 21:05, 13 August 2008.


Find

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...