FC HBA,也即Fibre Channel Host Bus Adapter,光纤通道主机适配器,简称光纤适配器。
在FC网络环境中,主机需要和FC网络、FC存储设备(SAN磁盘阵列)连接时需要使用一种接口卡,就如同连接以太网需要以太网卡一样,这种接口卡就叫做FC HBA,简称FC HBA卡。
和以太网卡的MAC地址一样,HBA上也有独一无二的标识,:WWN(World Wide Name),FC HBA上的WWN有两种:
① Node WWN(WWNN):每块HBA有其独有的Node WWN;
② Port WWN(WWPN):每块HBA卡上每个port有其独一无二的Port WWN。
由于通信是通过port进行的,因此多数情况下需要使用WWPN而不是WWNN。 WWN的长度为8bytes,用16进制表示并用冒号分隔,例如:50:06:04:81:D6:F3:45:42
① 查看AIX主机连接的光纤设备
# lsdev -Cc adapter -S a |grep fcs fcs0 Available 06-08 FC Adapter fcs1 Available 0A-08 FC Adapter
上面的输出显示有2块光纤卡:fcs0和fcs1。
② 查看光纤卡fcs0的WWN号
# lscfg -vpl fcs0 fcs0 U787A.001.DPM104T-P1-C4-T1 FC Adapter
Part Number.................03N6441 EC Level....................A Serial Number...............1B5520460F Manufacturer................001B Customer Card ID Number.....280B FRU Number.................. 03N6441 Device Specific.(ZM)........3 Network Address.............10000000C95118CD ROS Level and ID............02881955 Device Specific.(Z0)........1001206D Device Specific.(Z1)........00000000 Device Specific.(Z2)........00000000 Device Specific.(Z3)........03000909 Device Specific.(Z4)........FF801413 Device Specific.(Z5)........02881955 Device Specific.(Z6)........06831955 Device Specific.(Z7)........07831955 Device Specific.(Z8)........20000000C95118CD Device Specific.(Z9)........TS1.91A5 Device Specific.(ZA)........T1D1.91A5 Device Specific.(ZB)........T2D1.91A5 Device Specific.(ZC)........00000000 Hardware Location Code......U787A.001.DPM104T-P1-C4-T1
PLATFORM SPECIFIC
Name: fibre-channel Model: LP10000 Node: fibre-channel@1 Device Type: fcp Physical Location: U787A.001.DPM104T-P1-C4-T1
上面命令的输出中,加粗红色的部分就是光纤卡的WWN号。 |