- 论坛徽章:
- 0
|
上次是通过./lputil找到hba卡的WWN号的,给你参考一下.\r\n1. 这里的 HBA ports是控制硬盘的光纤通道卡,\r\n\r\n# luxadm -e port\r\nFound path to 1 HBA ports\r\n/devices/pci@8,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED\r\n\r\n# luxadm -e dump_map /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:devctl \r\nPos AL_PA ID Hard_Addr Port WWN Node WWN Type\r\n0 1 7d 0 21000003ba2bb9fe 20000003ba2bb9fe 0x1f (Unknown Type,Host Bus Adapter)\r\n1 ef 0 ef 500000e0102d81b1 500000e0102d81b0 0x0 (Disk device)\r\n2 e8 1 e8 500000e0102de091 500000e0102de090 0x0 (Disk device)\r\n3 e4 2 e4 500000e0102e5e01 500000e0102e5e00 0x0 (Disk device)\r\n4 dc 6 dc 50800200001c46d9 50800200001c46d8 0xd (SES device)\r\n5 e2 3 e2 500000e0102d65a1 500000e0102d65a0 0x0 (Disk device)\r\n6 e1 4 e1 500000e0102e6761 500000e0102e6760 0x0 (Disk device)\r\n7 e0 5 e0 500000e0102d84a1 500000e0102d84a0 0x0 (Disk device)\r\n\r\n2. 至于插在上面的两块HBA卡可以通过prtdiag -vl,跟cfgadm -al来确认\r\n# cfgadm -al |grep fibre/hp 找到了两张HBA卡\r\npcisch2:hpc2_slot4 fibre/hp connected configured ok\r\npcisch2:hpc2_slot6 fibre/hp connected configured ok\r\n#prtdiag 找到两块HBA卡\r\nI/O PCI 9 B 6 33 33 2,0 ok lpfc-pci10df,f800/sd (block) LP8000 \r\nI/O PCI 9 B 4 33 33 4,0 ok lpfc-pci10df,f800/sd (block) LP8000 \r\n 查看HBA卡的程序包是否安装(下面表示已经安装)\r\n# pkginfo |grep qlc\r\nsystem SUNWqlc Qlogic ISP 2200/2202 Fibre Channel Device Driver\r\nsystem SUNWqlcx Qlogic ISP 2200/2202 Fibre Channel Device Driver (64 bit)\r\n*********查看cfgadm -al看到有两个HBA卡,并对应主机背后的HBA卡分别插在第4号槽,第6号槽上.\r\nHBA卡灯只见卡上一个灯绿色一直闪动,其他灯没有亮,san光纤交换机也没有亮灯\r\nHBA卡要注意插槽频率跟卡的匹配问题*****************\r\n\r\n3. 这里通过./lputil查看ieee地址就是HBA卡的WWN号,你也可以在HBA卡的背面看到有IEEE的字样\r\n# ./lputil\r\nLightPulse Common Utility for Solaris/SPARC. Version 1.2a16 (10/24/2000).\r\nCopyright (c) 2000, Emulex Network Systems, Inc.\r\n\r\nEmulex Fibre Channel Host Adapters Detected: 2\r\nHost Adapter 0 (lpfc0) is an LP8K (Ready Mode)\r\nHost Adapter 1 (lpfc1) is an LP8K (Ready Mode)\r\n\r\nMAIN MENU\r\n\r\n1. List Adapters\r\n2. Adapter Information\r\n3. Firmware Maintenance\r\n4. Reset Adapter\r\n5. Persistent Bindings\r\n\r\n0. Exit\r\n\r\nEnter choice => 2\r\n\r\nADAPTER INFORMATION MENU\r\n\r\n1. PCI Configuration Parameters\r\n2. Adapter Revision Levels\r\n3. Wakeup Parameters\r\n4. IEEE Address\r\n5. Loop Map\r\n6. Status & Counters\r\n7. Link Status\r\n8. Configuration Parameters\r\n\r\n0. Return to Main Menu\r\n\r\nEnter choice => 4\r\n 0. lpfc0\r\n 1. lpfc1\r\n\r\nSelect an adapter (0-1) => 0\r\n\r\nIEEE Address for Adapter 0:\r\n\r\n [10000000] [C930CE6A] \r\n这里通过查看ieee地址就是HBA卡的WWN号,你也可以在HBA卡的背面看到有IEEE的字样\r\n\r\n4.同时你在SAN交换机或者是存储上都可以看到HBA卡的WWN号... |
|