How to : Check the SAN Disk Connection Status [ID 1012427.1]
________________________________________
Applies to:
Solaris SPARC Operating System - Version: 8.0 and later [Release: 8.0 and later ]
All Platforms
Goal
The objective of this document is to provide a general guideline of using luxadm and cfgadm commands to check the status of SAN device.
Solution
Steps to Follow:
To simplify the scenario, 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"
Note: The fact that the output of "luxadm -e port" shows a CONNECTED state
does not always mean that there are LUNs mapped to the target device.
Condition like this can occur for HBAs that are connected to a Hitachi
storage array, where the target device is presented, but no LUNs mapped.
Additionally, some arrays or storage devices present LUNs used for control
or monitoring functions (such as SES - SCSI Enclosure Services)
LUN connection status:
=====================
* cfgadm -al
Example:
c5 fc-fabric connected unconfigured unknown
c5::50020f2300000cab disk connected configured unknown
c5::50020f2300002a7b disk connected configured unknown
* cfgadm -al -o show_FCP_dev
c5 fc-fabric connected unconfigured unknown
c5::50020f2300000cab,0 disk connected configured unknown
c5::50020f2300000cab,1 disk connected configured unknown
c5::50020f2300000cab,2 disk connected configured unknown
c5::50020f2300002a7b,0 disk connected configured unknown
c5::50020f2300002a7b,1 disk connected configured unknown
c5::50020f2300002a7b,2 disk connected configured unknown
Remarks:
1. Receptacle should be "connected"
2. Occupant should be "configured"
3. Note the luns mapped to each target device
* luxadm probe
Example:
luxadm probe
Node WWN:50020f2000000caa Device Type:Disk 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
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
Remarks:
1. Can be found by "luxadm probe"
2. If there are 2 "Controller" for this device, it is dual path connection
3. If MPxIO is enabled and the storage device/array is symmetric, then the
class of Controller for both paths should be "primary", and state should
be "ONLINE". If the storage device/array is asymmetric, then one controller
class should be "primary" and the the controller class should be "secondary"
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment