====== Solaris SAN 2 ====== ===== Find out wwn number ===== gy-asp-db01# prtconf -vp | grep wwn port-wwn: 21000014.4f4ac5e6 node-wwn: 20000014.4f4ac5e6 If SANsurfer tools are installed, you can also use:- gy-asp-app02# /usr/bin/scli -i all ----------------------------------------------------------------------------- Host Name : gy-asp-app02 HBA Model : QLA2310-SUN Port : 1 OS Instance : 2 Node Name : 20-00-00-E0-8B-8A-82-A3 Port Name : 21-00-00-E0-8B-8A-82-A3 ===== Fibre Channel ===== One FC hba port is reported as having no link light. gy-asp-db01# luxadm -e port Found path to 3 HBA ports /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED /devices/pci@9,600000/fibre-channel@1/fp@0,0:devctl CONNECTED /devices/pci@9,600000/fibre-channel@2/fp@0,0:devctl NOT CONNECTED gy-asp-db01# /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:devctl is the internal FCAL disk drives, the last two lines are t he FC HBA cards. gy-asp-db01# luxadm -e dump_map /devices/pci@9,600000/fibre-channel@1/fp@0,0:devctl Pos Port_ID Hard_Addr Port WWN Node WWN Type 0 60000 0 50001fe15009100d 50001fe150091000 0xc (Array controller device) 1 60f00 0 50001fe15009100f 50001fe150091000 0xc (Array controller device) 2 61200 0 50001fe150091009 50001fe150091000 0xc (Array controller device) 3 61500 0 50001fe15009100b 50001fe150091000 0xc (Array controller device) 4 60900 0 210000e18c1c382b 200000e18c1c382b 0x1f (Unknown Type,Host Bus Adapter) gy-asp-db01# gy-asp-db01# gy-asp-db01# luxadm -e dump_map /devices/pci@9,600000/fibre-channel@2/fp@0,0:devctl No devices are found on /devices/pci@9,600000/fibre-channel@2/fp@0,0:devctl. Only paths via one HBA visible:- gy-asp-db01# cfgadm -al (edited) Ap_Id Type Receptacle Occupant Condition c4 fc-fabric connected configured unknown c4::50001fe150091009 array-ctrl connected configured unknown c4::50001fe15009100b array-ctrl connected configured unknown c4::50001fe15009100d array-ctrl connected configured unknown c4::50001fe15009100f array-ctrl connected configured unknown c5 fc connected unconfigured unknown (edited) pcisch3:hpc0_slot7 fibre/hp connected configured ok pcisch3:hpc0_slot8 fibre/hp connected configured ok Example of all 4 paths working (different server, zoned but no storage presented):- gy-asp-app03# cfgadm -alv | more (edited) c2 connected unconfigured unknown unavailable fc-fabric n /devices/pci@8,600000/SUNW,qlc@1/fp@0,0:fc c2::50001fe150091009 connected unconfigured unknown unavailable array-ctrl n /devices/pci@8,600000/SUNW,qlc@1/fp@0,0:fc::50001fe150091009 c2::50001fe15009100b connected unconfigured unknown unavailable array-ctrl n /devices/pci@8,600000/SUNW,qlc@1/fp@0,0:fc::50001fe15009100b c2::50001fe15009100d connected unconfigured unknown unavailable array-ctrl n /devices/pci@8,600000/SUNW,qlc@1/fp@0,0:fc::50001fe15009100d c2::50001fe15009100f connected unconfigured unknown unavailable array-ctrl n /devices/pci@8,600000/SUNW,qlc@1/fp@0,0:fc::50001fe15009100f c3 connected unconfigured unknown unavailable fc-fabric n /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:fc c3::50001fe150091008 connected unconfigured unknown unavailable array-ctrl n /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:fc::50001fe150091008 c3::50001fe15009100a connected unconfigured unknown unavailable array-ctrl n /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:fc::50001fe15009100a c3::50001fe15009100c connected unconfigured unknown unavailable array-ctrl n /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:fc::50001fe15009100c c3::50001fe15009100e connected unconfigured unknown unavailable array-ctrl n /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:fc::50001fe15009100e gy-asp-app03# ===== Qlogic HBA info ===== Use these tools to see the status of the HBA and the laser status. ==== Menu Driven ==== gy-asp-db01# cd /opt/Q* gy-asp-db01# ls SANsurferCLI gy-asp-db01# cd * gy-asp-db01# ls adapters.properties nvramdefs scli menu.properties readme.txt sfcli.properties gy-asp-db01# ./scli SANsurfer FC HBA CLI v1.06.16 Build 50 Main Menu 1: Display System Information 2: Display HBA Settings 3: Display HBA Information 4: Display Device List 5: Display LUN List 6: Flash Beacon 7: Diagnostics 8: Statistics 9: Help 10: Quit Enter Selection: 3 SANsurfer FC HBA CLI v1.06.16 Build 50 HBA Information - Display Menu 1: HBA Information 2: HBA VPD Note: 0 to return to Main Menu Enter Selection: 1 SANsurfer FC HBA CLI v1.06.16 Build 50 HBA Information - Display Menu 1: Select an HBA Port 2: Select All HBA Ports 3: Return to Previous Menu Note: 0 to return to Main Menu Enter Selection: 2 ----------------------------------------------------------------------------- Host Name : gy-asp-db01 HBA Model : Port : 0 OS Instance : 0 Node Name : 20-00-00-14-4F-4A-C5-E6 Port Name : 21-00-00-14-4F-4A-C5-E6 Port ID : 00-00-01 Serial Number : H14437 Driver Version : qlc-20060323-2.12 FCode Version : N/A Firmware Version : 2.01.144 IP Actual Connection Mode : Loop Actual Data Rate : 1 Gbps PortType (Topology) : NLPort Device Target Count : 7 HBA Status : Online Press to continue: ----------------------------------------------------------------------------- Host Name : gy-asp-db01 HBA Model : qlc Port : 1 OS Instance : 3 Node Name : 20-00-00-E1-8C-1C-38-2B Port Name : 21-00-00-E1-8C-1C-38-2B Port ID : 06-09-00 Serial Number : S46072 Driver Version : qlc-20060323-2.12 FCode Version : N/A Firmware Version : 3.03.18 IP Actual Connection Mode : Point to Point Actual Data Rate : 2 Gbps PortType (Topology) : FPort Device Target Count : 4 HBA Status : Online Press to continue: ----------------------------------------------------------------------------- Host Name : gy-asp-db01 HBA Model : qlc Port : 2 OS Instance : 4 Node Name : 20-00-00-E1-8C-1C-38-75 Port Name : 21-00-00-E1-8C-1C-38-75 Port ID : 00-00-00 Serial Number : S65016 Driver Version : qlc-20060323-2.12 FCode Version : N/A Firmware Version : 3.03.18 IP Actual Connection Mode : Unknown Actual Data Rate : Unknown PortType (Topology) : Unidentified Device Target Count : 0 HBA Status : Loop down Press to continue: ----------------------------------------------------------------------------- ==== Command Line driven ==== gy-asp-db01# scli -h SANsurfer FC HBA CLI v1.06.16 Build 50 Copyright 2003-2006 QLogic Corp. All rights reserved. Command Line QLogic FC Host Bus Adapters gy-asp-db01# scli -i all ----------------------------------------------------------------------------- Host Name : gy-asp-db01 HBA Model : Port : 0 OS Instance : 0 Node Name : 20-00-00-14-4F-4A-C5-E6 Port Name : 21-00-00-14-4F-4A-C5-E6 Port ID : 00-00-01 Serial Number : H14437 Driver Version : qlc-20060323-2.12 FCode Version : N/A Firmware Version : 2.01.144 IP Actual Connection Mode : Loop Actual Data Rate : 1 Gbps PortType (Topology) : NLPort Device Target Count : 7 HBA Status : Online ----------------------------------------------------------------------------- Host Name : gy-asp-db01 HBA Model : qlc Port : 1 OS Instance : 3 Node Name : 20-00-00-E1-8C-1C-38-2B Port Name : 21-00-00-E1-8C-1C-38-2B Port ID : 06-09-00 Serial Number : S46072 Driver Version : qlc-20060323-2.12 FCode Version : N/A Firmware Version : 3.03.18 IP Actual Connection Mode : Point to Point Actual Data Rate : 2 Gbps PortType (Topology) : FPort Device Target Count : 4 HBA Status : Online ----------------------------------------------------------------------------- Host Name : gy-asp-db01 HBA Model : qlc Port : 2 OS Instance : 4 Node Name : 20-00-00-E1-8C-1C-38-75 Port Name : 21-00-00-E1-8C-1C-38-75 Port ID : 00-00-00 Serial Number : S65016 Driver Version : qlc-20060323-2.12 FCode Version : N/A Firmware Version : 3.03.18 IP Actual Connection Mode : Unknown Actual Data Rate : Unknown PortType (Topology) : Unidentified Device Target Count : 0 HBA Status : Loop down ----------------------------------------------------------------------------- ===== Links ===== [[http://docs.sun.com/app/docs/doc/805-3173/6j31cpm10?l=en&a=view|luxadm man page]] \\ [[http://docs.sun.com/app/docs/doc/805-3173/6j31cplru?a=view|cfgadm man page]] \\