In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
AIX:
1, Get AIX host connected fiber optic devices:
root@test:/# lsdev -Cc adapter -S a |grep fcsfcs0 Available 05-00 4Gb FC PCI Express Adapter (df1000fe)fcs1 Available 05-01 4Gb FC PCI Express Adapter (df1000fe)fcs2 Available 04-00 4Gb FC PCI Express Adapter (df1000fe)fcs3 Available 04-01 4Gb FC PCI Express Adapter (df1000fe)
Displays the number of fiber optic cards
2. Check the WWN number of the fiber card:
root@test:/# lscfg -vpl fcs0 fcs0 U78AA.001.WZSGZ30-P1-C5-T1 4Gb FC PCI Express Adapter (df1000fe) Part Number................. 10N7255 Serial Number............... 1A1490164A Manufacturer................ 001A EC Level.................... D77040 Customer Card ID Number..... 5774 FRU Number.................. 10N7255 Device Specific. (ZM)........ 3 Network Address............. 10000000C9CC8A2E #wwn Address ROS Level and ID............ 02E8277F Device Specific. (Z0)........ 2057706D Device Specific. (Z1)........ 00000000 Device Specific. (Z2)........ 00000000 Device Specific. (Z3)........ 03000909 Device Specific. (Z4)........ FFE01212 Device Specific. (Z5)........ 02E8277F Device Specific. (Z6)........ 06E12715 Device Specific. (Z7)........ 07E1277F Device Specific. (Z8)........ 20000000C9CC8A2E Device Specific. (Z9)........ ZS2.71X15 Device Specific. (ZA)........ Z1F2.70A5 Device Specific. (ZB)........ Z2F2.71X15 Device Specific. (ZC)........ 00000000 Hardware Location Code...... U78AA.001.WZSGZ30-P1-C5-T1 PLATFORM SPECIFIC Name: fibre-channel Model: LPe11002 Node: fibre-channel@0 Device Type: fcp Physical Location: U78AA.001.WZSGZ30-P1-C5-T1root@test:/#
HP-Unix:
1. List the fiber card devices connected to the HP:
# ioscan -fnC fcClass I H/W Path Driver S/W State H/WType Description============fc 0 0/3/1/0 fcd CLAIMED INTERFACE HP A6826-600012Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1) /dev/fcd0fc 1 0/3/1/1 fcdCLAIMED INTERFACE HP A6826-60001 2GbDual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2) /dev/fcd1
As you can see from this figure,/dev/fcd0 and/dev/fcd1 are two fiber cards
2. View WWN number of fiber card
# fcmsutil /dev/fcd0 Vendor ID is = 0x001077 Device ID is = 0x002312 PCISub-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 PortWorld Wide Name = 0x50060b00001db240 Switch PortWorld Wide Name = 0x205e000dec0e2e00 Switch NodeWorld Wide Name = 0x2001000dec0e2e01 Driver state = ONLINE Hardware Path is = 0/3/1/0 Maximum Frame Size = 2048 Driver-Firmware Dump Available= NO Driver-Firmware Dump Timestamp= N/A Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx & 24xx DriverB.11.23.04 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Oct 18 2005,08:21:11
The WWNN and WWPN numbers of the HBA card are displayed, as well as the WWN numbers of the fiber switch ports to which the HBA card is connected
Solaris:
Solaris does not use luxadm to manage storage devices and fiber-related devices.
1. Query existing storage devices and fiber optic devices, and you can read the WWN number of disk devices
# luxadm probe
2. Check the prot of HBA to get the port value and connection properties of HBA card:
# luxadm -e port /devices/pci@0,0/pci1022,7450@2/pci1077,101@1/fp@0,0:devctl NOT CONNECTED /devices/pci@0,0/pci1022,7450@2/pci1077,101@1,1/fp@0,0:devctl CONNECTED
You can see there's only one fiber card connected to the storage device.
3. Select the connected HBA card and view its WWN number.
Format: # luxadm -edump_map device port. Where the port value is obtained from step 2. as shown in the figure below:
# luxadm -e dump_map/devices/pci@0,0/pci1022,7450@2/pci1077,101@1/fp@0,0:devctl Pos Port_ID Hard_Addr Port WWN Node WWN Type 0 0 0 210000e08b19827a 200000e08b19827a 0x1f(Unknown Type,Host Bus Adapter)
Redhat:
In Redhat, information about device management is stored in the kernel, the/proc directory. So we generally query CPU, memory, disk and other information, but also in the directory. The HBA card related information is stored in the directory/proc/scsi/qla2300/, and different devices correspond to different file names, for example,
# grep scsi /proc/scsi/qla2300/1 Number of reqs in pending_q= 0, retry_q= 0, done_q= 0,scsi_retry_q= 0 scsi-qla0-adapter-node=200000e08b9cf661; scsi-qla0-adapter-port=210000e08b9cf661;
Node WWN and Port WWN in HBA Card
HBA, literally understood as a host bus adapter card, I think it is now called FC HBA in a narrow sense, and HBA in this case is Fibre Channel HostBus Adapter, because the network card can also be called NETWORK HBA. In FC network, when the host (such as server) needs to connect with FC network and FC storage device (such as SAN), an interface card needs to be used, just like Ethernet card is needed to connect Ethernet. This type of interface card is called FC HBA, abbreviated as HBA
Just like the MAC address of an Ethernet card, an HBA has a unique identifier, which is WWN (World Wide Name). There are two WWNs on HBA:
Node WWN: Each HBA has its own unique Node WWN
Usually used in solaris
#luxadm probe
The result is NODE WWN. Depending on how many NODE WWNs you have, you can tell how many FC HBA cards you have.
Port WWN: Each port on an HBA card has its own unique Port WWN.
Since communication is via ports, WWPN rather than WWNN is required in most cases.
WWNs are 8 bytes long, expressed in hexadecimal notation and separated by colons. For example: 50:06:04:81:D6:F3:45:42
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.