FCoE Initiator Quickstart
From Open-FCoE Wiki
Contents |
[edit] Introduction
Quick set of instructions to setup FCoE initiator.
[edit] Configuration
- Fedora release 8 (Werewolf) systems
- Intel NICs - e1000 driver
- MTU = 2500
- static any IP addresses
[edit] Initial setup
- Get the Open-FCoE initiator source code
- git clone git://open-fcoe.org/openfc/open-fcoe-initiator.git
- Update the kernel configuration for open-fcoe-initiator
- cd <path-to-open-fcoe-initiator>
- 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])
- Build and install open-fcoe-initiator kernel and its modules
- make -j 12 && make modules && make modules_install && make install
- Modify your bootloader to boot your new kernel
- reboot
[edit] FCoE Initiator usage
- Load fcoe stack
- modprobe fcoe
- Start the initiator on ethernet interface ethX (where ethX is the device connected to the target)
- 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.
- Destroy the initiator on ethernet interface ethX
- 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.