WWN是HBA卡用的编号吧,每一个光纤通道设备都有一个唯一的标识,称为WWN(world wide name),由IEEE负责分配。在有多台主机使用磁盘阵列时,通过WWN号来确定哪台主机正在使用指定的LUN(或者说是逻辑驱动器),被使用的LUN其他主机将无法使用。
比如下图的例子:
WWN概念包含WWPN、WWNN。
一个不可拆分的独立的设备有WWNN,一个端口有WWPN。
比如一台SAN交换机,不可拆分,有一个WWNN,它有一堆端口,每个端口有一个WWPN。一块多口光纤HBA,卡本身有一个WWNN,每个端口有一个WWPN,单口的HBA也是,不过只有一个WWNN和一个WWPN。但主机就没有WWNN,因为卡和主机是可以分离的,单纯一个主机本身并不一定是SAN环境中的设备。
有WWNN的好处是:即使不去看连线,也可以清楚地知道,哪些端口是在一个物理设备上
wwn:有两种表示方法: wwpn wwnn
对于主机来说:
单个hba卡(单口)的情况下: wwnn只有一个 wwpn和wwnn一样
单个hba卡(双口)的情况下: wwnn只有一个 wwpn有两个
两个hba卡(单口)的情况下: wwnn有两个 wwpn有两个
两个hba卡(双口)的情况下: wwnn有两个 wwpn有四个
When configuring World Wide Name (WWN) based zoning, it is important to always use the World Wide Port Name (WWPN), not the World Wide Node Name (WWNN). With many systems, the WWNN is based on the Port WWN of the first adapter detected by the HBA driver. If the adapter the WWNN was based on were to fail, and you based your zoning on the WWNN, your zoning configuration would become invalid. Subsequently, the host with the failing adapter would completely lose access to the storage attached to that switch.
阅读(2672) | 评论(0) | 转发(1) |