In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
When configuring disk arrays, virtual tape libraries and other devices with FC HBA cards, it is often necessary to check the WWPN information of FC HBA cards for port addition, ZONE division and other operations. correctly checking the information of FC HBA cards is the premise to ensure smooth construction.
This article mainly introduces the methods of viewing FC HBA card information in the same system through the following three chapters:
L FC HBA card overview
L View the information of FC HBA card under Windows system
L View the information of FC HBA card under Linux system
L View the information of FC HBA card under UNIX system
Overview of FC HBA Card
FC HBA, also known as Fibre Channel Host Bus Adapter, fibre Channel host adapter, referred to as optical fiber adapter.
In FC network environment, hosts need to use an interface card when they need to connect with FC network and FC storage devices (SAN disk array), just as Ethernet card is needed to connect Ethernet. This interface card is called FC HBA, or FC HBA card for short.
Like the MAC address of the Ethernet card, there is a unique logo on HBA: WWN (World Wide Name), and there are two kinds of WWN on FC HBA:
① Node WWN (WWNN): each HBA has its own unique Node WWN
② Port WWN (WWPN): each port on each HBA card has its own unique Port WWN.
Because communication is done through port, you need to use WWPN instead of WWNN in most cases. The length of WWN is 8bytes, expressed in hexadecimal and separated by colons, for example: 50:06:04:81:D6:F3:45:42
View the information of FC HBA card under Windows system
QLOGIC and EMULEX are manufacturers of common FC HBA cards equipped with our products. The following is an introduction to how to view these two types of FC HBA cards under the Windows system.
In the Windows system, you can use the GUI interface management tool provided by the manufacturer to view and configure the FC HBA card, and the FC HBA card for QLOGIC and EMULEX can view and configure the related FC HBA card through SANSurfer and HBAnywhere respectively.
1 、 QLOGIC SANSurfer
SANSurfer GUI software for managing FC HBA cards allows you to modify other parameters such as FC HBA card rate and see detailed information about FC HBA cards. The download link provided on the official website is:
Http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/Product_detail.aspx?oemid=264
After obtaining the SANSurfer installation package, the internal files are shown in figure 1. Double-click start_here.htm to install the appropriate driver and graphical management software through the installation wizard:
Figure 1. SANSurfer installation package file
Installation wizard for SANSurfer:
Figure 2. SANSurfer installation Wizard
Follow the wizard's prompts to complete the installation and use the SANSurfer management software to view and configure the FC HBA card.
In addition, during the post process of the Windows system, you can press "Ctrl+Q" as prompted by the system to configure the character mode of the Qlogic FC HBA card.
2 、 EMULEX HBAnywhere
HBAnywhere is a GUI software provided by EMULEX to manage EMULEX FC HBA cards, which can be downloaded free of charge on Huawei Symantec's official website. The link is as follows:
Http://www.huaweisymantec.com/cn/Service%5FTraining/Service%5FSupport%5FCenter/Download%5FCenter1/Service%5FPartner%5FZone/Server/T8000/DriverSoftware/
Please refer to the user manual for the specific use of HBAnywhere, which will not be described in detail here.
View the information of FC HBA card under Linux system
This section will use RedHat Linux AS4, RedHat Linux AS5, SuSe Linux 9, and SuSe Linux 10 as examples to describe how to view FC HBA card information in a Linux system.
Before viewing the FC HBA card, make sure that the FC HBA card is physically connected and the LEDs are good.
1. RedHat Linux AS4 and SuSE Linux 9
The method of viewing FC HBA card information in RedHat Linux AS4 is basically the same as that in SuSE Linux 9. Here we take RedHat AS4 as an example to introduce how to view FC HBA card information.
There are typically two files in the / proc/scsi/qla2xxx directory of RedHat AS4 or SuSE Linux 9 systems: 1, 2, or 3, 4, which contain the configuration information for the FC HBA card.
[root@localhost qla2xxx] # pwd
/ proc/scsi/qla2xxx
[root@localhost qla2xxx] # ls
3 4
[root@localhost qla2xxx] # cat 3
QLogic PCI to Fibre Channel Host Adapter for QLA2342:
Firmware version 3.03.18 IPX, Driver version 8.01.02-d4
ISP: ISP2312, Serial# P21735
Request Queue = 0x11f580000, Response Queue = 0x11f4d0000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 3354
Device queue depth = 0x10
Number of free request entries = 4094
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state =, flags = 0x1a03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 000
Port down retry = 0.35
Login retry count = 0.35
Commands retried with dropped frame (s) = 0
Product ID = 4953 5020 2020 0002
SCSI Device Information:
Scsi-qla0-adapter-node=2000001882374738
Scsi-qla0-adapter-port=2100001882374738
FC Port Information:
Scsi-qla0-port-0=200000188237b206:210000188237b206:010a00:81
SCSI LUN Information:
(Id:Lun) *-indicates lun is not registered with the OS.
Among them, the scsi-qla0-adapter-port=2100001882374738 under SCSI Device Information is the WWN number of the host fiber card.
2. RedHat Linux AS5 and SuSE Linux 10
The method of viewing FC HBA card information in RedHat Linux AS5 is basically the same as that in SuSE Linux 10. Here we will introduce how to view FC HBA card information in RedHat Linux AS5.
The / sys/class/fc_host/host*/port_name file of the RedHat AS5 system contains information about all FC HBA cards that have been discovered by the system. Use the View command to view the contents of the file to see the FC HBA card information.
View WWPN:cat / sys/class/fc_host/host*/port_name
View WWNN:cat / sys/class/fc_host/host*/node_name
View the information of FC HBA card under UNIX system
This paper introduces how to view FC HBA card information in UNIX system, which is widely used in practice, including IBM AIX, SUN SOLARIS and HP-UNIX.
1 、 IBM AIX
① to view fiber-optic devices connected to AIX hosts
# lsdev-Cc adapter-S a | grep fcs
Fcs0 Available 09-08 FC Adapter
Fcs1 Available 09-09 FC Adapter
The above output shows two fiber optic cards: fcs0 and fcs1.
② check the WWN number of the optical fiber card fcs0
# lscfg-vpl fcs0
Fcs0 U787B.001.DNWG664-P1-C1-T1 FC Adapter
Part Number.10N8620
Serial Number.1B74404468
Manufacturer.001B
EC Level.A
Customer Card ID Number.5759
FRU Number. 10N8620
Device Specific. (ZM) .3
Network Address.10000000C96E2898
ROS Level and ID.02C82138
Device Specific. (Z0) .1036406D
Device Specific. (Z1). 00000000
Device Specific. (Z2). 00000000
Device Specific. (Z3). 03000909
Device Specific. (Z4). FFC01159
Device Specific. (Z5). 02C82138
Device Specific. (Z6). 06C12138
Device Specific. (Z7). 07C12138
Device Specific. (Z8). 20000000C96E2898
Device Specific. (Z9). BS2.10X8
Device Specific. (ZA) B1F2.10X8
Device Specific. (ZB) B2F2.10X8
Device Specific. (ZC). 00000000
Hardware Location Code.U787B.001.DNWG664-P1-C1-T1
In the output of the above command, the bold red part is the WWN number of the fiber card.
2 、 SUN SOLARIS
① queries existing storage devices and fiber optic devices, and you can read WWN numbers including disk devices.
# luxadm probe
When ② looks at the prot of HBA, you can get the port value and properties of HBA card.
# luxadm-e port
/ devices/pci@0,0/pci1022,7450@2/pci1077101@1/fp@0,0:devctl NOT CONNECTED
/ devices/pci@0,0/pci1022,7450@2/pci1077101@1,1/fp@0,0:devctl CONNECTED
You can see that only one optical fiber card is connected to the storage device.
③ selects the connected HBA card to check its WWN number
# luxadm-e dump_map / devices/pci@0,0/pci1022,7450@2/pci1077101@1/fp@0,0:devctl
Pos Port_ID Hard_Addr Port WWN Node WWN Type
000 210000e08b19827a 200000e08b19827a 0x1f (Unknown Type,Host Bus Adapter)
3 、 HP-UNIX
① lists the fiber card devices connected to the HP computer.
# ioscan-fnC fc
Class I H/W Path Driver S/W State H/W Type Description
=
Fc 00 / 3-1-0 fcd CLAIMED INTERFACE HP A6826-60001 2Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/ dev/fcd0
Fc 1 0Accord 3 Compact 1 fcd CLAIMED INTERFACE HP A6826-60001 2Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
/ dev/fcd1
From the output of the above command, you can see / dev/fcd0 and / dev/fcd1 two fiber-optic cards.
② check the WWN number of the optical fiber card
# fcmsutil / dev/fcd0
Vendor ID is = 0x001077
Device ID is = 0x002312
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x0012ba
PCI Mode = PCI-X 133 MHz
ISP Code version = 3.3.18
ISP Chip version = 3
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0xa10500
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x50060b00001db241
N_Port Port World Wide Name = 0x50060b00001db240
Switch Port World Wide Name = 0x205e000dec0e2e00
Switch Node World Wide Name = 0x2001000dec0e2e01
Driver state = ONLINE
Hardware Path is = 0Action3Compact 1Universe 0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = NCMA
Driver Version = @ (#) libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.23.04 / ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Oct 18 2005
The red bold part shows the WWNN and WWPN numbers of the HBA card, and you can also see the WWN number of the fiber switch port to which the HBA card is connected.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.