FCoE setup

Issues related to configuring your network
alex1010
Posts: 3
Joined: 2018/02/13 10:29:56

FCoE setup

Postby alex1010 » 2018/02/13 10:37:22

Hi,

need your help to understand what's wrong with the FCoE setup

Centos 7
CentOS Linux release 7.4.1708 (Core)

HP Blade with OneConnect 10Gb NIC (be3) card is configured as FCoE initiator

[root@localhost ~]# rpm -qa | grep fcoe
fcoe-utils-1.0.32-1.el7.x86_64


however port stays "Offline"

[root@localhost ~]# fcoeadm -i
Description: OneConnect 10Gb NIC (be3)
Revision: 01
Manufacturer: Emulex Corporation
Serial Number:

Driver: be2net 11.4.0.0r
Number of Ports: 1

Symbolic Name: fcoe v0.1 over ens2f0.111-fcoe
OS Device Name: host8
Node Name: 0x1000009c023dbbf8
Port Name: 0x2000009c023dbbf8
Fabric Name: 0x10000027f8dd4e47
Speed: 10 Gbit
Supported Speed: 10 Gbit
MaxFrameSize: 1452 bytes
FC-ID (Port ID): 0x010001
State: Offline <<<

doing captures and debug via fcoemon I see

[root@localhost ~]# /usr/sbin/fcoemon --debug
fcoemon: /etc/fcoe/cfg-ens2f0: FCOE_ENABLE = "yes"
fcoemon: /etc/fcoe/cfg-ens2f0: AUTO_VLAN = "yes"
fcoemon: /etc/fcoe/cfg-ens2f0: MODE = "fabric"
fcoemon: Using /sys/bus/fcoe interfaces
fcoemon: Successfully created socket, socket file and binding
[root@localhost ~]# fcoemon: Link event: 16 flags 10049 index 1
fcoemon: Link event: 16 flags 11043 index 2
fcoemon: Link event: 16 flags 11043 index 3
fcoemon: Link event: 16 flags 11043 index 4
fcoemon: ens2f0, Monitoring port ens2f0
fcoemon: Link event: 16 flags 11043 index 5
fcoemon: Link event: 16 flags 11043 index 6
fcoemon: OP: VLAN DISC ens2f0
fcoemon: creating netlink socket
fcoemon: Ignoring netlink msg 2
fcoemon: fip_socket_sanmac: no sanmac, ifindex 4
fcoemon: creating netlink socket
fcoemon: Ignoring netlink msg 2
fcoemon: sending FIP VLAN request
fcoemon: fcm_vlan_disc_handler: vid=111
fcoemon: Auto VLAN Found FCF on VID 111
fcoemon: sending RTM_GETLINK dump request
fcoemon: NLMSG_DONE
fcoemon: sending RTM_SETLINK request
fcoemon: NLMSG_ERROR (0) Success
fcoemon: OP: CREATE ens2f0.111-fcoe
fcoemon: OP: created fchost:host8 for ens2f0.111-fcoe
<<<<< then nothing it stops

in captures I don't see any messages from server like Solicitation

Could you advice where the problem is?

Thanks

alex1010
Posts: 3
Joined: 2018/02/13 10:29:56

Re: FCoE setup

Postby alex1010 » 2018/02/13 13:10:12

what I noticed

lspci | grep -i emulex
04:00.0 Ethernet controller: Emulex Corporation OneConnect OCe10100/OCe10102 Series 10 GbE (rev 02)
04:00.1 Ethernet controller: Emulex Corporation OneConnect OCe10100/OCe10102 Series 10 GbE (rev 02)
04:00.2 Mass storage controller: Emulex Corporation OneConnect 10Gb iSCSI Initiator (rev 02)
04:00.3 Mass storage controller: Emulex Corporation OneConnect 10Gb iSCSI Initiator (rev 02)
08:00.0 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (be3) (rev 01)
08:00.1 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (be3) (rev 01)
08:00.2 Mass storage controller: Emulex Corporation OneConnect 10Gb iSCSI Initiator (be3) (rev 01)
08:00.3 Mass storage controller: Emulex Corporation OneConnect 10Gb iSCSI Initiator (be3) (rev 01)

no FCoE initiators, maybe that's stuff is enabled via some settings for the NIC ? as HP blade should support iSCSI and FCoE

hunter86_bg
Posts: 894
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: FCoE setup

Postby hunter86_bg » 2018/02/18 03:53:44

I haven't configured fcoe , but i think that there should be something more...
Have you checked the following document.