Installation guide
Configuring a Fibre-Channel Over Ethernet Interface
129
commands, such as lsscsi, scsi_id, multipath -l, and ls -l /dev/disk/by-*. This
information, plus the LUN number of the new device, can be used as shown above to probe and
configure that path to the new device.
After adding all the SCSI paths to the device, execute the multipath command, and check to see
that the device has been properly configured. At this point, the device can be added to md, LVM, mkfs,
or mount, for example.
If the steps above are followed, then a device can safely be added to a running system. It is not
necessary to stop I/O to other devices while this is done. Other procedures involving a rescan (or
a reset) of the SCSI bus, which cause the operating system to update its state to reflect the current
device connectivity, are not recommended while storage I/O is in progress.
21.7. Configuring a Fibre-Channel Over Ethernet Interface
Setting up and deploying a Fibre-channel over ethernet (FCoE) interface requires two packages:
• fcoe-utils
• lldpad
Once these packages are installed, perform the following procedure to enable FCoE over a virtual
LAN (VLAN):
Procedure 21.3. Configuring an ethernet interface to use FCoE
1. Configure a new VLAN by copying an existing network script (e.g. /etc/fcoe/cfg-eth0) to
the name of the ethernet device that supports FCoE. This will provide you with a default file to
configure. Given that the FCoE device is ethX, run:
cp /etc/fcoe/cfg-eth0 /etc/fcoe/cfg-ethX
2. If you want the device to automatically load during boot time, set ONBOOT=yes in the
corresponding /etc/sysconfig/network-scripts/ifcfg-ethX file. For example, if
the FCoE device is eth2, then edit /etc/sysconfig/network-scripts/ifcfg-eth2
accordingly.
3. Start the data center bridging daemon (dcbd) using the following command:
/etc/init.d/lldpad start
4. Enable data center bridging on the ethernet interface using the following commands:
dcbtool sc ethX dcb on
Then, enable FCoE on the ethernet interface by running:
dcbtool sc ethX app:fcoe e:1
Note
These commands will only work if the dcbd settings for the ethernet interface were not
changed.
5. Load the FCoE device now using: