1: You must download SAN foundation kit pkg from sun os EISCD and
SAN Patch from sun or EISCD too.
2 : you install all of pkg and patch
3 : config file sd.conf prepare for new device
4 : use cfgadm for config device and luxadm for check new device
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Document Audience:
SPECTRUM
Document ID:
79121
Title:
How to : Check the SAN Disk Connection Status
Copyright Notice:
Copyright © 2005 Sun Microsystems, Inc. All Rights Reserved
Update Date:
Fri Dec 30 00:00:00 MST 2005
Products:
Solaris, Enterprise Services Products
Technical Areas:
Commands
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Keyword(s):SAN, HBA, luxadm, cfgadm, status, port, online, probe, connected, configured
Description:
The objective of this document is providing a general guideline of using luxadm
and cfgadm to check the status of SAN device.
Document Body:
To simplify the sceniario, inter-connected devices (switch or director) will not
be considered in this topic. From the server side, the following items are being
checked :
1. HBA connection status
2. LUN connection status
HBA connection status
=====================
* Check /var/adm/message after system boot
Example:
Lun=0 for target=41500 disappeared or FCP: target=41500 reported NO Luns
path /pci@1f,4000/SUNW,qlc@4/fp@0,0 (fp6) to target address:
50020f2300002a7b,0 is offline
Remark:
1. status should be "online"
* luxadm -e port
Example:
/devices/pci@1f,4000/SUNW,qlc@4/fp@0,0:devctl CONNECTED
/devices/pci@1f,4000/SUNW,qlc@4,1/fp@0,0:devctl CONNECTED
Remark:
1. Dual port HBA should see 2 entries
2. Status should be "CONNECTED"
LUN connection status
=====================
* cfgadm -al
Example:
c5 fc-fabric connected unconfigured unknown
c5::50020f2300000cab disk connected configured unknown
c5::50020f2300002a7b disk connected configured unknown
Remark:
1. Receptacle should be "connected"
2. Occupant should be "configured"
* luxadm probe
Example:
Node WWN:50020f2000000caa Device Type
isk device
Logical Path:/dev/rdsk/c10t60020F2000000CAA3DABB7B10001D2D4d0s2
Remark:
1. The Universial device name "c10t60020F2000000CAA3DABB7B10001D2D4d0s2"
is generated based on the WWN of the storage device
* luxadm disp <path>
Example:
luxadm disp /dev/rdsk/c10t60020F2000000CAA3DABB7B10001D2D4d0s2
DEVICE PROPERTIES for disk:
/dev/rdsk/c5t600015D0002109000000000000000104d0s2
Status(Port A): O.K.
Status(Port B): O.K.
Vendor: SUN
Product ID: SE6920
WWN(Node): 230000015d210900
WWN(Port A): 234100015d210900
WWN(Port B): 233100015d210900
Revision: 0201
Serial Num: 08349695
Unformatted capacity: 10240.000 MBytes
Read Cache: Enabled
Minimum prefetch: 0x0
Maximum prefetch: 0xffff
Device Type: Disk device
Path(s):
/dev/rdsk/c5t600015D0002109000000000000000104d0s2
/devices/scsi_vhci/ssd@g600015d0002109000000000000000104:c,raw
Controller /devices/pci@1f,0/pci@1/SUNW,qlc@2/fp@0,0
Device Address 234100015d210900,0
Host controller port WWN 210000e08b0fb16b
Class primary
State ONLINE
Controller /devices/pci@1f,0/pci@1/SUNW,qlc@2,1/fp@0,0
Device Address 233100015d210900,0
Host controller port WWN 210100e08b2fb16b
Class primary
State ONLINE
Remark:
1. <path> can be found by "luxadm probe"
2. If there are 2 "Controller" for this device, it is dual path
connection
3. If MPxIO is enable, both class of Controller should be "primary",
and state should be "ONLINE"