Feeds:
Posts
Comments

Archive for the ‘HBA’ Category

To find the WWPN and Other information of Qlogic HBAs without restarting the host, you can use any of the following methods.

for i in `seq 0 4` ;

do echo #####Host $i ######;

cat /sys/class/fc_host/host$i/port_name;

cat /sys/class/fc_host/host$i/port_state;

cat /sys/class/fc_host/host$i/port_type;

cat /sys/class/fc_host/host$i/speed;

cat /sys/class/fc_host/host$i/supported_speeds;

done

Your output may be the following,

0x2100001b32xxxxx
Online
NPort (fabric via point-to-point)
4 Gbit
1 Gbit, 2 Gbit, 4 Gbit

0x2101001b32xxxxx
Online
NPort (fabric via point-to-point)

4 Gbit
1 Gbit, 2 Gbit, 4 Gbit

0x2100001b32xxxxx
Online
NPort (fabric via point-to-point)unknown

4 Gbit
1 Gbit, 2 Gbit, 4 Gbit

0x2101001b32xxxxx
Online
NPort (fabric via point-to-point)
4 Gbit
1 Gbit, 2 Gbit, 4 Gbit

0x2100001b32xxxxx
Online
NPort (fabric via point-to-point)
4 Gbit
1 Gbit, 2 Gbit, 4 Gbit

You can also use systool to find Port_name

$ systool -av -c fc_host
Class = “fc_host”

Class Device = “host0”
Class Device path = “/sys/class/fc_host/host0”
fabric_name         = “0x2000001b32xxxxx”
issue_lip           = <store method only>
node_name           = “0x2000001b32xxxxx”
port_id             = “0x000000”
port_name           = “0x2100001b32xxxxx”
port_state          = “Online”
port_type           = “NPort (fabric via point-to-point)”
speed               = “4 Gbit”
supported_classes   = “Class 3”
supported_speeds    = “1 Gbit, 2 Gbit, 4 Gbit”
tgtid_bind_type     = “wwpn (World Wide Port Name)”
uevent              = <store method only>

Device = “host0”
Device path = “/sys/devices/pci0000:00/0000:00:04.0/0000:17:00.0/0000:18:01.0/0000:25:00.0/host0”
optrom_ctl          = <store method only>
uevent              = <store method only>

Class Device = “host1”
Class Device path = “/sys/class/fc_host/host1”
fabric_name         = “0x2001001b32xxxxx”
issue_lip           = <store method only>
node_name           = “0x2001001b32xxxxx”
port_id             = “0x000000”
port_name           = “0x2101001b32xxxxx”
port_state          = “Online”
port_type           = “NPort (fabric via point-to-point)”
speed               = “4 Gbit”
supported_classes   = “Class 3”
supported_speeds    = “1 Gbit, 2 Gbit, 4 Gbit”
tgtid_bind_type     = “wwpn (World Wide Port Name)”
uevent              = <store method only>

Device = “host1”
Device path = “/sys/devices/pci0000:00/0000:00:04.0/0000:17:00.0/0000:18:01.0/0000:25:00.1/host1”
optrom_ctl          = <store method only>
uevent              = <store method only>

Class Device = “host2”
Class Device path = “/sys/class/fc_host/host2”
fabric_name         = “0x2000001b32xxxxx”
issue_lip           = <store method only>
node_name           = “0x2000001b32xxxxx”
port_id             = “0x000000”
port_name           = “0x2100001b32xxxxx”
port_state          = “Online”
port_type           = “NPort (fabric via point-to-point)”
speed               = “4 Gbit”
supported_classes   = “Class 3”
supported_speeds    = “1 Gbit, 2 Gbit, 4 Gbit”
tgtid_bind_type     = “wwpn (World Wide Port Name)”
uevent              = <store method only>

Device = “host2”
Device path = “/sys/devices/pci0000:00/0000:00:04.0/0000:17:00.0/0000:18:02.0/0000:22:00.0/host2”
optrom_ctl          = <store method only>
uevent              = <store method only>

Class Device = “host3”
Class Device path = “/sys/class/fc_host/host3”
fabric_name         = “0x2001001b32xxxxx”
issue_lip           = <store method only>
node_name           = “0x2001001b32xxxxx”
port_id             = “0x000000”
port_name           = “0x2101001b32xxxxx”
port_state          = “Online”
port_type           =  “NPort (fabric via point-to-point)”
speed               = “4 Gbit”
supported_classes   = “Class 3”
supported_speeds    = “1 Gbit, 2 Gbit, 4 Gbit”
tgtid_bind_type     = “wwpn (World Wide Port Name)”
uevent              = <store method only>

Device = “host3”
Device path = “/sys/devices/pci0000:00/0000:00:04.0/0000:17:00.0/0000:18:02.0/0000:22:00.1/host3”
optrom_ctl          = <store method only>
uevent              = <store method only>

Class Device = “host4”
Class Device path = “/sys/class/fc_host/host4”
fabric_name         = “0x2000001b32xxxxx”
issue_lip           = <store method only>
node_name           = “0x2000001b32xxxxxx”
port_id             = “0x65b913”
port_name           = “0x2100001b32xxxxxx”
port_state          = “Online”
port_type           = “NPort (fabric via point-to-point)”
speed               = “4 Gbit”
supported_classes   = “Class 3”
supported_speeds    = “1 Gbit, 2 Gbit, 4 Gbit”
tgtid_bind_type     = “wwpn (World Wide Port Name)”
uevent              = <store method only>

Device = “host4”
Device path = “/sys/devices/pci0000:00/0000:00:04.0/0000:17:00.0/0000:18:09.0/0000:1c:00.0/host4”
optrom_ctl          = <store method only>
uevent              = <store method only>

There are also other ways to find the WWPNs of HBAs, Please follow the link

http://linuxshellaccount.blogspot.com/2008/09/how-to-easily-find-wwns-of-qlogic-hba.html

http://publib.boulder.ibm.com/infocenter/dsichelp/ds8000ic/index.jsp?topic=/com.ibm.storage.ssic.help.doc/f2c_loclinux_192wga.html

Advertisements

Read Full Post »

The Inquiry utility (INQ) is a command-line troubleshooting utility that displays
information on storage devices, typically Symmetrix. By default, INQ
returns the device name, Symmetrix ID, Symmetrix LUN, and capacity. This
utility will operate independently of any other EMC software. Use the INQ
Utility to collect system information to provide to EMC Global Services
for problem troubleshooting.

Download INQ utility from EMC support site below

ftp://ftp.emc.com/pub/symm3000/inquiry/ 

 

Running EMC inq utility on Solaris

 

# ./inq.sol64
Inquiry utility, Version V7.3-891 (Rev 2.0)      (SIL Version V6.5.2.0 (Edit Level 891)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

 

——————————————————————————————–
DEVICE                                               :VEND      :PROD            :REV   :SER NUM        :CAP(kb)
——————————————————————————————–
/dev/rdsk/c1t0d0s2                           :FUJITSU :MAW3073NCSUN72G :1703  :070029a0N7 :    71687369
/dev/rdsk/c1t1d0s2                           :FUJITSU :MAW3073NCSUN72G :1703  :070032a0NF :    71687369
/dev/rdsk/c3t50060E800544C808d0s2 :HITACHI :OPEN-V          :6003  :50 044D8   :    14227200
/dev/rdsk/c3t50060E800544C808d1s2 :HITACHI :OPEN-V*7        :6003  :50 044D8   :    99590400
/dev/rdsk/c3t50060E800544C848d0s2 :HITACHI :OPEN-V          :6003  :50 044D8   :    14227200
/dev/rdsk/c3t50060E800544C848d1s2 :HITACHI :OPEN-V*7        :6003  :50 044D8   :    99590400
/dev/rdsk/c4t50060E800544C810d0s2 :HITACHI :OPEN-V          :6003  :50 044D8   :    14227200
/dev/rdsk/c4t50060E800544C810d1s2 :HITACHI :OPEN-V*7        :6003  :50 044D8   :    99590400
/dev/rdsk/c4t50060E800544C850d0s2 :HITACHI :OPEN-V          :6003  :50 044D8   :    14227200
/dev/rdsk/c4t50060E800544C850d1s2 :HITACHI :OPEN-V*7        :6003  :50 044D8   :    99590400
/dev/vx/rdmp/Disk_0s2                     :FUJITSU :MAW3073NCSUN72G :1703  :080029c0N8 :    71687369
/dev/vx/rdmp/Disk_1s2                     :FUJITSU :MAW3073NCSUN72G :1703  :080032c0NG :    71687369
/dev/vx/rdmp/Disk_2s2                     :HITACHI :OPEN-V          :6003  :50 044C8   :    14227200
/dev/vx/rdmp/Disk_3s2                     :HITACHI :OPEN-V*7        :6003  :50 044C8   :    99590400

 

# ./inq.sol64 -hba
Inquiry utility, Version V7.3-891 (Rev 2.0)      (SIL Version V6.5.2.0 (Edit Level 891)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

—————————————————
HBA name:           QLogic Corp.-QLA2462-0
host WWN:           0000000000000000
vendor name:        QLogic Corp.
model:              QLA2462
firmware version:   4.0.27
driver version:     20070212-2.19
serial number:      0402G00-0722265734
vendor code:        0x0
HBA type:           Fibre Channel
port count:         2

port number:                 1
    port WWN:                     2100001B32183B60
    Port OS name:                 /dev/cfg/c3
    port type:                    NPORT
    port speed:                   2GBIT
    supported speed:              4GBIT
    port state:                   ONLINE
    port FCID:                    0x627513
    port supported COS:           0x10000000
    port supported FC4 types:     0x0000000000000000000000000000000000000000000000000000000000000000
    port active FC4 types:        0x0000010000000000000000000000000000000000000000000000000000000000
    max frame size:               2048

port number:                 2
    port WWN:                     2101001B32383B60
    Port OS name:                 /dev/cfg/c4
    port type:                    NPORT
    port speed:                   2GBIT
    supported speed:              4GBIT
    port state:                   ONLINE
    port FCID:                    0x617513
    port supported COS:           0x10000000
    port supported FC4 types:     0x0000000000000000000000000000000000000000000000000000000000000000
    port active FC4 types:        0x0000010000000000000000000000000000000000000000000000000000000000
    max frame size:               2048

Here are other options you can try with inq utility

# ./inq.sol64 -h
Inquiry utility, Version V7.3-891 (Rev 2.0)      (SIL Version V6.5.2.0 (Edit Level 891)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

Usage: inquiry <options>

    display types:
       -h               : display this help screen
       -et              : display emulation and type info   (Symmetrix only)
       -ckd             : display CKD device info           (Symmetrix only)
       -page0           : display detailed page0 (only valid with -dev option)
       -pagec0          : display detailed pagec0 (only valid with -dev option
                          and on CLARiiON devices)
       -parent          : display both PowerPath and OS device relationships
       -celerra         : display Celerra lable devices
       -sid             : display Symmetrix Serial Number
       -sym_wwn         : display Symmetrix device wwn and Serial Number
       -clariion        : display CLARiiON device information
       -clar_wwn        : display CLARiiON WWN and Serial Number
       -showvol         : display Symmetrix Volume Number.
       -compat          : display old format
       -btl             : display Bus Target and Lun
       -sw_wwn          : display StorageWorks WWN and Serial Id
       -hds_wwn         : display HDS WWN and Serial Id
       -s80_wwn         : display S80 WWN and Serial Id
       -invista_wwn     : display Invista WWN and Serial Id
       -shark_wwn       : display IBM Shark WWN and Serial Id
       -compaq_wwn      : display Compaq WWN and Serial Id
       -netapp_wwn      : display Netapp WWN and Serial Id
       -hba             : display HBA info only. See options below
       -identifier <device_name | nice_name | hp_id | vms_id>
                        : display device identifier info (EMC devices only)
       -mapinfo         : display target mapping information

    filter options:
       -no_filters      : show every device even if no data available
       -f_powerpath     : filter –  only powerpath devices
       -f_pseudo        : filter –  only pseudo devices
       -f_real          : filter –  only real devices
       -f_emc           : filter –  only EMC devices
       -f_ckd           : filter –  only ckd devices
       -f_celerra       : filter –  only Celerra devices
       -f_4k            : filter –  only Symmetrix volumes < 4096
       -f_clariion      : filter –  only CLARiiON devices
       -f_storwrks      : filter –  only Compaq StorageWorks devices
       -f_hds           : filter –  only Hitachi HDS devices
       -f_s80           : filter –  only Fujitsu Siemens S80 devices
       -f_invista       : filter –  only EMC Invista devices
       -f_shark         : filter –  only IBM SHARK devices
       -f_size <size>   : filter –  only show devices with <= size in kbytes

    query options:
       -skipread        : do not request Read Capacity
       -skipinq         : do not request Inquiry data
       -skipboth        : do not request Read Capacity or Inquiry data

    device options:
       -dev  <device>   : do inquiry on specified device
       -symmvol <vol#>  : show devices with Symm HEX volume #= <vol#>
       -clar_file <file-name>: show clariion devices in file

    other options:
       -no_dots         : do not display status dots
       -sortoff         : do not perform ANY sorting
       -sortsymm        : sort by Symmetrix serial number   (Symmetrix only)

    sym_wwn options:
       -sid_wwn <sid>   : the 12 digit SID of the symm for which you want wwn’s
       -symdev  <dev>   : the device for which you want the wwn

    HBA specific options:
       -hba               : display HBA info only
       -fibre             : display FC HBA info only
       -iscsi             : display ISCSI HBA info only
       -scsi              : display SCSI HBA info only
       -hba_file <file>   : external HBA file to use. -fibre only
       -create            : create external HBA file specified by -hba_file
      Usage :
       inquiry -hba [-fibre [-hba_file <file>] [-create]] [-scsi] [-iscsi]

Release notes:
     Only options listed above are supported, although other options
     may continue to work, they are subject to change or removal.

     the following parameter changes have occurred
       -nodots              ->  -no_dots
       -c                   ->  -ckd
       -v                   ->  -page0
       -r <devicename>      ->  -dev <devicename>
       -s SymmVolumeNumber  ->  -symmvol SymmVolumeNumber
       -xr                  ->  -f_pseudo
       -xps                 ->  -f_real
       -system              ->  no longer exists

Read Full Post »

To locate the WWPN without restarting the host system:

You can find the WWPN in your /proc/scsi/qlaadapter_type/n directory, where adapter_type is the host adapter type and n is the host adapter number for your card. Your host adapter type can be either qlaxxxx for QLogic adapters or lpfc for Emulex adapters.

# cat /proc/scsi/qla2xxx/2
QLogic PCI to Fibre Channel Host Adapter for QLE2460:
        Firmware version 4.00.23 [IP] , Driver version 8.01.06
ISP: ISP2432
Request Queue = 0x47e280000, Response Queue = 0x47e240000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 47271050
    Device queue depth = 0x20
Number of free request entries = 2648
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 = <READY>, flags = 0x1e03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 045
Port down retry = 045
Login retry count = 045
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000

SCSI Device Information:
scsi-qla0-adapter-node=200000e08b9c72b8;
scsi-qla0-adapter-port=210000e08b9c72b8;
scsi-qla0-target-0=50060161306034e0;
scsi-qla0-target-1=5006016b306034e0;
scsi-qla0-target-2=50060e8004578604;

FC Port Information:
scsi-qla0-port-0=50060170b04035e0:50060171306035e0:614d13:1000;
scsi-qla0-port-1=50060170b04035e0:5006017b306035e0:614f13:1000;
scsi-qla0-port-2=50060e8004578404:50060e8004578604:616513:83;

SCSI LUN Information:
(Id:Lun)  * – indicates lun is not registered with the OS.
( 0: 0): Total reqs 11327, Pending reqs 0, flags 0x0, 0:0:1000 00
( 0: 1): Total reqs 11794, Pending reqs 0, flags 0x0, 0:0:1000 00
( 1: 0): Total reqs 6510, Pending reqs 0, flags 0x0, 0:0:1000 00
( 1: 1): Total reqs 7099, Pending reqs 0, flags 0x0, 0:0:1000 00
( 2: 0): Total reqs 6009328, Pending reqs 0, flags 0x0, 0:0:83 00
( 2: 1): Total reqs 41434690, Pending reqs 0, flags 0x0, 0:0:83 00

To locate the WWPN with restarting the host system

   1. Restart the server.
   2. Press Alt+Q to get the FAST!Util menu.
      Note: If you have more than one fibre-channel adapter installed, all the fibre-channel adapters display. Scroll down to the adapter you want. Press Enter.
   3. From the FAST!Util menu, scroll down and select Select Host Adapter.
   4. Scroll up and highlight Configuration Settings. Press Enter.
   5. From the Configuration Settings menu, click Host Adapter Settings.
   6. Write down the 16-digit alphanumeric string that is displayed on your screen.

Read Full Post »

bash-2.03# luxadm probe
No Network Array enclosures found in /dev/es

Found Fibre Channel device(s):
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d0s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d1s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d2s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d3s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d4s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d5s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d6s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d7s2

HBA card WWN

# prtconf -vp | grep wwn
port-wwn:  2100001b.3202f94b
node-wwn:  2000001b.3202f94b
port-wwn:  210000e0.8b90e795
node-wwn:  200000e0.8b90e795

#prtconf -vp | more

Node 0xf00e2f80
assigned-addresses:  81000810.00000000.00000300.00000000.00000100.82000814.00000000.00100000.00000000.00002000.82000830.00000000.00140000.00000000.00040000
version: ‘QLA2460 Host Adapter Driver(SPARC): 1.11 10/03/05’
manufacturer:  ‘QLGC’
model:  ‘QLA2460 ‘
name:  ‘SUNW,qlc’
port-wwn:  2100001b.3202f94b
node-wwn:  2000001b.3202f94b
reg:  00000800.00000000.00000000.00000000.00000000.01000810.00000000.00000000.00000000.00000100.02000814.00000000.00000000.00000000.00001000
compatible: ‘pci1077,140.1077.140.2’ + ‘pci1077,140.1077.140’ + ‘pci1077,140’ + ‘pci1077,2422.2’ + ‘pci1077,2422’ + ‘pciclass,c0400’ + ‘pciclass,0400’
short-version:  ‘1.11 10/03/05’
#size-cells:  00000000
#address-cells:  00000002
device_type:  ‘scsi-fcp’
fcode-rom-offset:  0000aa00
66mhz-capable:
fast-back-to-back:
devsel-speed:  00000001
latency-timer:  00000040
cache-line-size:  00000010
max-latency:  00000000
min-grant:  00000040
interrupts:  00000001
class-code:  000c0400
subsystem-id:  00000140
subsystem-vendor-id:  00001077
revision-id:  00000002
device-id:  00002422
vendor-id:  00001077

Node 0xf00ee398
#size-cells:  00000000
#address-cells:  00000004
reg:  00000000.00000000
device_type:  ‘fp’
name:  ‘fp’

Node 0xf00eeaa0
device_type:  ‘block’
compatible: ‘ssd’
name:  ‘disk’

Node 0xf00ef91c
assigned-addresses:  81001010.00000000.00000400.00000000.00000100.82001014.00000000.
version: ‘QLA2460 Host Adapter Driver(SPARC): 1.11 10/03/05’
manufacturer:  ‘QLGC’
model:  ‘QLA2460 ‘
name:  ‘SUNW,qlc’
port-wwn:  210000e0.8b90e795
node-wwn:  200000e0.8b90e795
reg:  00001000.00000000.00000000.00000000.00000000.01001010.00000000.
compatible: ‘pci1077,140.1077.140.2’ + ‘pci1077,140.1077.140’ + ‘pci1077,140’ + ‘pci1077,2422.2’ + ‘pci1077,2422’ + ‘pciclass,c0400’ + ‘pciclass,0400’
short-version:  ‘1.11 10/03/05’
#size-cells:  00000000
#address-cells:  00000002
device_type:  ‘scsi-fcp’
fcode-rom-offset:  0000aa00
66mhz-capable:
fast-back-to-back:
devsel-speed:  00000001
latency-timer:  00000040
cache-line-size:  00000010
max-latency:  00000000
min-grant:  00000040
interrupts:  00000001
class-code:  000c0400
subsystem-id:  00000140
subsystem-vendor-id:  00001077
revision-id:  00000002
device-id:  00002422
vendor-id:  00001077

Node 0xf00fad34
#size-cells:  00000000
#address-cells:  00000004
reg:  00000000.00000000
device_type:  ‘fp’
name:  ‘fp’

Node 0xf00fb43c
device_type:  ‘block’
compatible: ‘ssd’
name:  ‘disk’

For Solaris 8 and 9:
Run the following script to determine the WWNs of the HBAs that are currently being utilized:
#!/bin/sh for i in `cfgadm |grep fc-fabric|awk ‘{print $1}’`;

do

dev=”`cfgadm -lv $i|grep devices |awk ‘{print $NF}’`” wwn= \

“`luxadm -e dump_map $dev |grep ‘Host Bus’|awk ‘{print $4}’`”

echo “$i: $wwn” done

To show link status of card

bash-2.03# luxadm -e port

Found path to 2 HBA ports

/devices/ssm@0,0/pci@18,700000/SUNW,qlc@2/fp@0,0:devctl            CONNECTED
/devices/ssm@0,0/pci@19,700000/SUNW,qlc@2/fp@0,0:devctl            CONNECTED

To see the WWN’s (using address given to you from previous commands),

it is the last one that specifies it is a HBA, so the port WWN here is 50070e800475e108

bash-2.03# luxadm -e dump_map /devices/ssm@0,0/pci@18,700000/SUNW,qlc@2/fp@0,0:devctl
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type
0    642113  0         50070e800475e108 50070e800475e108 0x0  (Disk device)
1    643f13  0         550070e800475e108 50070e800475e108 0x0  (Disk device)
2    643913  0         2100001b3205e828 2000001b3205e828 0x1f (Unknown Type,Host Bus Adapter)

SAN Foundation Software versions display as such

bash-2.03# modinfo | grep SunFC
38 102bcd25  209b8 150   1  fcp (SunFC FCP v20070703-1.98)
39 102d4071   855c   –   1  fctl (SunFC Transport v20070703-1.41)
42 102ead69  164e0 149   1  fp (SunFC Port v20070703-1.60)
44 10300a79  cd574 153   1  qlc (SunFC Qlogic FCA v20070212-2.19)

To show Sun/Qlogic HBA’s

bash-2.03# luxadm qlgc

Found Path to 2 FC100/P, ISP2200, ISP23xx Devices

Opening Device: /devices/ssm@0,0/pci@18,700000/SUNW,qlc@2/fp@0,0:devctl
Detected FCode Version:       ISP2312 Host Adapter fcode version 1.16 11/15/06

Opening Device: /devices/ssm@0,0/pci@19,700000/SUNW,qlc@2/fp@0,0:devctl
Detected FCode Version:       ISP2312 Host Adapter fcode version 1.16 11/15/06
Complete

To show all vendor HBA’s

bash-2.03# luxadm fcode_download -p

Found Path to 0 FC/S Cards
Complete

Found Path to 0 FC100/S Cards
Complete

Found Path to 2 FC100/P, ISP2200, ISP23xx Devices

Opening Device: /devices/ssm@0,0/pci@18,700000/SUNW,qlc@2/fp@0,0:devctl
Detected FCode Version:       ISP2312 Host Adapter fcode version 1.16 11/15/06

Opening Device: /devices/ssm@0,0/pci@19,700000/SUNW,qlc@2/fp@0,0:devctl
Detected FCode Version:       ISP2312 Host Adapter fcode version 1.16 11/15/06
Complete

Found Path to 0 JNI1560 Devices.
Complete

Found Path to 0 Emulex Devices.
Complete

Read Full Post »

Solaris 10 comes with Leadville stack, is basically the code name for the StorEdge SAN Foundation Software (SFS) which Sun developed for the Solaris OS. Leadville is a new, open standards-based I/O framework and device driver stack to support FC which includes I/0 stack, Sun StorageTek Traffic Manager software (multipathing or MPxIO), Storage Networking Industry Association (SNIA) libraries, and utilities.

Advantages:

  • Ability to dynamically add new devices without rebooting
  • Automatic persistent binding
  • Virtually limitless scalability
  • Integrated multi-pathing
  • No third-party patches

Solaris 10 comes with installed Driver and utility support for Sun branded Qlogic and Emulex HBAs.

SUNWemlxs              Emulex-Sun LightPulse Fibre Channel Adapter (FCA) driver

SUNWemlxu              Emulex-Sun LightPulse Fibre Channel Adapter Utilties

SUNWqlc                         Qlogic ISP 2200/2202 Fibre Channel Device Driver
SUNWqlcu                       Qlogic Fibre Channel Adapter Utilities

bash-3.00# pkginfo -l SUNWemlxs
   PKGINST:  SUNWemlxs
      NAME:  Emulex-Sun LightPulse Fibre Channel Adapter (FCA) driver (root)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.30.01.58
   BASEDIR:  /
    VENDOR:  Emulex Corporation
      DESC:  Device driver for Emulex-Sun LightPulse Fibre Channel adapters
    PSTAMP:  bogglidite20051214103253
  INSTDATE:  Dec 20 2006 11:03
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        5 installed pathnames
                   3 shared pathnames
                   3 directories
                   1 executables
                5586 blocks used (approx)

bash-3.00# pkgchk -v SUNWemlxs
/kernel
/kernel/drv
/kernel/drv/emlxs.conf
/kernel/drv/sparcv9
/kernel/drv/sparcv9/emlxs

bash-3.00# pkginfo -l SUNWemlxu
   PKGINST:  SUNWemlxu
      NAME:  Emulex-Sun LightPulse Fibre Channel Adapter Utilties (usr)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.30.01.58
   BASEDIR:  /
    VENDOR:  Emulex Corporation
      DESC:  Support software for Emulex-Sun LightPulse Fibre Channel adapters
    PSTAMP:  bogglidite20060308101102
  INSTDATE:  Dec 20 2006 11:03
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        6 installed pathnames
                   5 shared pathnames
                   5 directories
                   1 executables
                1331 blocks used (approx)

bash-3.00# pkgchk -v SUNWemlxu
/usr
/usr/lib
/usr/lib/mdb
/usr/lib/mdb/kvm
/usr/lib/mdb/kvm/sparcv9
/usr/lib/mdb/kvm/sparcv9/emlxs.so

bash-3.00# pkginfo -l SUNWqlc
   PKGINST:  SUNWqlc
      NAME:  Qlogic ISP 2200/2202 Fibre Channel Device Driver
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.04.14.31
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Qlogic ISP 2200/2202 Fibre Channel Device Driver
    PSTAMP:  bogglidite20050914173826
  INSTDATE:  Mar 05 2008 16:32
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        5 installed pathnames
                   3 shared pathnames
                   3 directories
                   1 executables
                2340 blocks used (approx)

bash-3.00# pkgchk -v SUNWqlc
/kernel
/kernel/drv
/kernel/drv/qlc.conf
/kernel/drv/sparcv9
/kernel/drv/sparcv9/qlc

bash-3.00# pkginfo -l SUNWqlcu
   PKGINST:  SUNWqlcu
      NAME:  Qlogic Fibre Channel Adapter Utilities (usr)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2006.02.21.03.25
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Utilties associated with the Qlogic Fibre Channel Adapter
    PSTAMP:  bogglidite20060222001745
  INSTDATE:  Mar 05 2008 16:32
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        6 installed pathnames
                   5 shared pathnames
                   5 directories
                   1 executables
                  48 blocks used (approx)

bash-3.00# pkgchk -v SUNWqlcu
/usr
/usr/lib
/usr/lib/mdb
/usr/lib/mdb/kvm
/usr/lib/mdb/kvm/sparcv9
/usr/lib/mdb/kvm/sparcv9/qlc.so

Check for the current support table for Sun-branded Qlogic and QLogic-branded Qlogic fibre-channel HBAs

http://blogs.sun.com/jmcp/entry/current_sun_qlogic_fc_hba

Check for the current support table for Sun-branded Emulex and Emulex-branded Emulex fibre-channel HBAs

http://blogs.sun.com/jmcp/entry/current_sun_emulex_fc_hba

If you are using Emulex HBA in Solaris 10, Emulex driver for Solaris Sun StorageTek SAN Foundation Software (SFS) Fibre Channel adapter (FCA) on the top of Leadville for extra functionality.

http://www.emulex.com/support/solaris/index.jsp

 

Frequently asked questions

http://otmanix.de/wp-content/uploads/2007/08/emc-faq-sun-solaris-native-hbas-and-drivers.pdf

Read Full Post »

This is some information/walkthrough of getting Solaris 10 hooked up to a SAN. Also info on SUN/STK NAS devices. I think the SUN/STK NAS’s are way nicer then NetApps. Also covers SUN 6000 series array setup. A few Brocade notes also. Covers UFS and Veritas vxvm and vxfs setup for new LUNs. This is a walkthrough/notes I created while setting up some equipment, enjoy. I am seeing a good deal of visits to this page, and I am glad it is of service.

http://3rdstone.net/docs/SAN_Setup.htm

 

Nice article

Read Full Post »

image

Sun StorageTek PCI Express 4 Gb FC Emulex HBA

 

image

Attaching the Optical Cable

To verify proper installation in Solaris (Sparc Platform)

1. Enter the show-devs command at the ok prompt to list the installed devices.
The HBA can be identified in the output containing the SUNW,emlxs@n and
SUNW,emlxs@n,1 node names, where n is usually a single-digit number from 0 to 9.
2. To positively identify the port as a Sun StorageTek 4 Gb FC port, cd to the
SUNW,emlxs@N entries and enter .properties as shown in the example that
follows.

{0} ok show-devs
/pci@7c0
/pci@780
/cpu@1b
/cpu@1a
/cpu@19
/cpu@18
/cpu@17
/cpu@16
/cpu@8
/cpu@7
/pci@7c0/pci@0/pci@9/SUNW,emlxs@0
/pci@7c0/pci@0/pci@9/SUNW,emlxs@0/fp@0,0
/pci@7c0/pci@0/pci@9/SUNW,emlxs@0/fp@0,0/disk
/pci@7c0/pci@0/pci@8/SUNW,emlxs@0,1
/pci@7c0/pci@0/pci@8/SUNW,emlxs@0
/pci@7c0/pci@0/pci@8/SUNW,emlxs@0,1/fp@0,0
/pci@7c0/pci@0/pci@8/SUNW,emlxs@0,1/fp@0,0/disk
/pci@7c0/pci@0/pci@8/SUNW,emlxs@0/fp@0,0
/pci@7c0/pci@0/pci@8/SUNW,emlxs@0/fp@0,0/disk

truncated…..

{0} ok cd /pci@7c0/pci@0/pci@8/SUNW,emlxs@0
{0} ok .properties
assigned-addresses 82080010 00000000 03500000 00000000
00002000
82080018 00000000 03502000 00000000 00002000
81080020 00000000 00003000 00000000 00000100
82080030 00000000 03540000 00000000 00040000
port_wwn 10 00 00 00 c9 4b 3b 38
node_wwn 20 00 00 00 c9 4b 3b 38
alternate-reg 01080020 00000000 00000000 00000000
00000100
reg 00080000 00000000 00000000 00000000 00000000
03080010 00000000 00000000 00000000 00001000
03080018 00000000 00000000 00000000 00000100
02080030 00000000 00000000 00000000 00020000
compatible pci10df,fc20
clock-frequency 02625a00
#size-cells 00000000
#address-cells 00000002
copyright Copyright (c) 2005 Emulex
model LPe11002-S
name SUNW,emlxs
device_type scsi-fcp
manufacturer Emulex
fcode-version 1.50a8
fcode-rom-offset 0000c000
devsel-speed 00000000
class-code 000c0400
interrupts 00000001
latency-timer 00000000
cache-line-size 00000010
max-latency 00000000
min-grant 00000000
subsystem-id 0000fc22
subsystem-vendor-id 000010df
revision-id 00000002
device-id 0000fc20
vendor-id 000010df
{0} ok cd /pci@7c0/pci@0/pci@8/SUNW,emlxs@0,1

 

Installing the HBA Driver in Solaris 10 OS

1. Go to the URL:
http://www.sun.com/download/products.xml?id=42c4317d
The Products Download page is displayed.
2. Under Platform, click Download.
The Login menu is displayed.
3. Type your Username and Password and click Login.
4. Read the license agreement and accept or decline.
5. Click the download item that is appropriate for this 4 Gbit adapter
The following packages are contained in the zipped file:

■ SUNWemlxs
■ SUNWemlxu
6. Click the second item and print these driver README installation instructions.
7. Follow the README instructions.

 

To verify number of HBA cards installed in the System

bash-3.00# luxadm -e port
/devices/pci@1e,600000/pci@0/pci@9/fibre-channel@0/fp@0,0:devctl   CONNECTED
/devices/pci@1e,600000/pci@0/pci@9/fibre-channel@0,1/fp@0,0:devctl  CONNECTED
/devices/pci@1f,700000/pci@0/pci@9/fibre-channel@0/fp@0,0:devctl   CONNECTED
/devices/pci@1f,700000/pci@0/pci@9/fibre-channel@0,1/fp@0,0:devctl  CONNECTED

Read Full Post »

Older Posts »