Este conteúdo não está disponível no idioma selecionado.
Chapter 16. Configuring Fibre Channel over Ethernet
Based on the IEEE T11 FC-BB-5 standard, Fibre Channel over Ethernet (FCoE) is a protocol to transmit Fibre Channel frames over Ethernet networks. Typically, data centers have a dedicated LAN and Storage Area Network (SAN) that are separated from each other with their own specific configuration. FCoE combines these networks into a single and converged network structure. Benefits of FCoE are, for example, lower hardware and energy costs.
16.1. Using hardware FCoE HBAs in RHEL Copiar o linkLink copiado para a área de transferência!
In RHEL you can use hardware Fibre Channel over Ethernet (FCoE) Host Bus Adapter (HBA), which is supported by the following drivers:
-
qedf -
bnx2fc -
fnic
If you use such a HBA, you configure the FCoE settings in the setup of the HBA. For more information, see the documentation of the adapter.
After you configure the HBA, the exported Logical Unit Numbers (LUN) from the Storage Area Network (SAN) are automatically available to RHEL as /dev/sd* devices. You can use these devices similar to local storage devices.
16.2. Setting up an FCoE device Copiar o linkLink copiado para a área de transferência!
After you complete this procedure, the exported LUNs from the Storage Area Network (SAN) are automatically available to RHEL as /dev/sd* devices. You can use these devices in a similar way to local storage devices.
Prerequisites
- You have configured the network switch to support VLAN.
- The SAN uses a VLAN to separate the storage traffic from normal Ethernet traffic.
- You have configured the HBA of the server in its BIOS.
- The HBA is connected to the network and the link is up. For more information, see the documentation of your HBA.
Procedure
Install the
fcoe-utilspackage:dnf install fcoe-utils
# dnf install fcoe-utilsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the
/etc/fcoe/cfg-ethxtemplate file to/etc/fcoe/cfg-interface_name. For example, if you want to configure theenp1s0interface to use FCoE, enter the following command:cp /etc/fcoe/cfg-ethx /etc/fcoe/cfg-enp1s0
# cp /etc/fcoe/cfg-ethx /etc/fcoe/cfg-enp1s0Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enable and start the
fcoeservice:systemctl enable --now fcoe
# systemctl enable --now fcoeCopy to Clipboard Copied! Toggle word wrap Toggle overflow Discover the FCoE VLAN on interface
enp1s0, create a network device for the discovered VLAN, and start the initiator:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Display details about the discovered targets, the LUNs, and the devices associated with the LUNs:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow This example shows that LUN 0 from the SAN has been attached to the host as the
/dev/sdbdevice.
Verification
Display information about all active FCoE interfaces:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow