Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1333027.1
Update Date:2012-01-05
Keywords:

Solution Type  Technical Instruction Sure

Solution  1333027.1 :   Verifying STMS (MPxIO) Health on StorageTek 2500, Sun Storage 2500-M2 and Sun Storage 6000 Series Arrays  


Related Items
  • Sun Storage 6180 Array
  •  
  • Sun Storage 2540 Array
  •  
  • Sun Storage 2540-M2 Array
  •  
  • Sun Storage 6140 Array
  •  
  • Sun Storage 2530 Array
  •  
  • Sun Storage 2530-M2 Array
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Arrays>SN-DK: 6130
  •  
  • .Old GCS Categories>Sun Microsystems>Storage - Disk>Modular Disk - 6xxx Arrays
  •  




In this Document
  Goal
  Solution


Applies to:

Sun Storage 2530 Array - Version: Not Applicable and later   [Release: N/A and later ]
Sun Storage 2530-M2 Array - Version: Not Applicable and later    [Release: N/A and later]
Sun Storage 6140 Array - Version: Not Applicable and later    [Release: N/A and later]
Sun Storage 2540 Array - Version: Not Applicable and later    [Release: N/A and later]
Sun Storage 2540-M2 Array - Version: Not Applicable and later    [Release: N/A and later]
Information in this document applies to any platform.

Goal

Verify MPxIO health on a StorageTek 2500, Sun Storage 2500-M2 or Sun Storage 6000 arrays.

You can use either:
mpathadm (supported for FC/SAS/iSCSI)
or
luxadm (supported on FC only)

to verify MPxIO health. This document shows the usage of both.

Solution

Using mpathadm.

1.  Verify mpxio is enabled.

Solaris[TM] 7, 8 and 9 use the /kernel/drv/scsi_vhci.conf file for the setting below.
Solaris[TM] 10 uses :
  • /kernel/drv/fp.conf file for the setting below for FC devices
  • /kernel/drv/mpt.conf or /kernel/drv/mpt_sas.conf for the setting below for SAS devices
  • /kernel/drv/iscsi.conf for the setting below for iSCSI devices

Check the "mpxio-disable" parameter.
  • If set to "no", STMS is enabled.
  • If set to "yes" STMS is disabled.
System reboot is required if you change the parameter.

You can also use the following command lines (CLI) on Solaris 10 :

  • To enable STMS globally:
# stmsboot -e

  • To disable STMS globally:
# stmsboot -d

See man stmsboot for more details and explicit examples.

2.  Identify the array controller port world wide names (WWNs):
  1. Log into Sun Storage Common Array Manager (CAM).
  2. Click on your array name.
  3. Click on physical devices.
  4. Click on ports.

  • The output lists the controller A/B ports with their WWNs.
  • Note the WWN of any port in "UP" status.

3.  For FC devices only, verify FC HBA connectivity from the host perspective.
  • Any "CONNECTED" path confirms a valid connection. 
  • If ALL paths are "NOT CONNECTED", you will need to physically access the host, and inspect the FC connections.
# luxadm -e port
/devices/pci@1e,600000/pci@2/scsi@5/fp@0,0:devctl                  CONNECTED
/devices/pci@1e,600000/pci@3/SUNW,qlc@5/fp@0,0:devctl              NOT CONNECTED
/devices/pci@1c,600000/SUNW,qlc@1/fp@0,0:devctl                    CONNECTED
/devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:devctl                    CONNECTED
/devices/pci@1e,600000/pci@2/scsi@4/fp@0,0:devctl                  CONNECTED
/devices/pci@1e,600000/pci@3/SUNW,qlc@4/fp@0,0:devctl              NOT CONNECTED


4.  Look for scsi_vhci device paths in format.  If mpxio is disabled, there will be no scsi_vhci device paths in format.

#format
Searching for disks...done
AVAILABLE DISK SELECTIONS:

1. c9t600A0B80004739FA00002A754DEE2078d0 <SUN-STK6580_6780-0760 cyl 5118 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b80004739fa00002a754dee2078
2. c9t60080E50001C0300000006464D8C9044d0 <SUN-LCSM100_F-0777 cyl 2558 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g60080e50001c0300000006464d8c904


5.  Verify the paths to the ST2540/ST2540-M2 array:

# mpathadm list LU
        /dev/rdsk/c9t60080E50001C0300000006464D8C9044d0s2
                Total Path Count: 2
                Operational Path Count: 2


# mpathadm show LU  /dev/rdsk/c9t60080E50001C0300000006464D8C9044d0s2
 
Logical Unit:  /dev/rdsk/c9t60080E50001C0300000006464D8C9044d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  SUN    
        Product:  LCSM100_F  --------------------------------> Product name of the 2540 or 2540-M2
        Revision:  0777
        Name Type:  unknown type
        Name:  60080e50001c0300000006464d8c9044
        Asymmetric:  yes
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths: 
                Initiator Port Name:  210000e08b07922c -------> WWN of the HBA port
                Target Port Name:  203d0080e51c2cc4 --------->  WWN of the array controller port
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  210000e08b07f32c
                Target Port Name:  203e0080e51c2cc4
                Override Path:  NA
                Path State:  OK

                Disabled:  no

        Target Port Groups: 
                ID:  1
                Explicit Failover:  yes
                Access State:  active
                Target Ports:
                        Name:  203d0080e51c2cc4
                        Relative ID:  0

                ID:  4
                Explicit Failover:  yes
                Access State:  standby
                Target Ports:
                        Name:  203e0080e51c2cc4
                        Relative ID:  0

 
6.  In format:
  • Match the global unique ID (GUID) from the above output
  • Verify the ProductID from the above output.
10. c9t60080E50001C0300000006464D8C9044d0 <SUN-LCSM100_F-0777 cyl 2558 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g60080e50001c0300000006464d8c9044

GUID for the above device = 60080E50001C0300000006464D8C9044.
ProductID = LCSM100_F --> which is a 2540 or 2540-M2 array.

Using luxadm.

1.  Verify mpxio is enabled.

Solaris[TM] 7, 8 and 9 use the /kernel/drv/scsi_vhci.conf file for the setting below.
Solaris[TM] 10 uses the /kernel/drv/fp.conf file for the setting below for FC devices

Check the "mpxio-disable" parameter.
  • If set to "no", STMS is enabled.
  • If set to "yes" STMS is disabled.
System reboot is required if you change the parameter.

You can also use the following command lines (CLI) on Solaris 10 :

  • To enable STMS globally:
# stmsboot -e

  • To disable STMS globally:
# stmsboot -d


See man stmsboot for more details and explicit examples.


2.  Identify the array controller port WWN:
  1. Log into Sun Storage Common Array Manager (CAM).
  2. Click on your array name.
  3. Click on physical devices.
  4. Click on ports.
  • The output lists the controller A/B ports with their WWNs.
  • Note the WWN of any port in "UP" status.

3.  Look for scsi_vhci device paths in format validating mpxio is managing the volume/LUN.  If mpxio is disabled, there will be no scsi_vhci device paths in format.

# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:

1. c9t600A0B80004739FA00002A754DEE2078d0 <SUN-STK6580_6780-0760 cyl 5118 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b80004739fa00002a754dee2078
2. c9t60080E50001C0300000006464D8C9044d0 <SUN-LCSM100_F-0777 cyl 2558 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g60080e50001c0300000006464d8c9044


4.  Verify FC HBA connectivity from the host perspective. 
  • Any "CONNECTED" path confirms a valid connection. 
  • If ALL paths are "NOT CONNECTED", you will need to physically access the host, and inspect the FC connections.
# luxadm -e port
/devices/pci@1e,600000/pci@2/scsi@5/fp@0,0:devctl                  CONNECTED
/devices/pci@1e,600000/pci@3/SUNW,qlc@5/fp@0,0:devctl              NOT CONNECTED
/devices/pci@1c,600000/SUNW,qlc@1/fp@0,0:devctl                    CONNECTED --> the path we will focus on below
/devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:devctl                    CONNECTED
/devices/pci@1e,600000/pci@2/scsi@4/fp@0,0:devctl                  CONNECTED
/devices/pci@1e,600000/pci@3/SUNW,qlc@4/fp@0,0:devctl              NOT CONNECTED


5
.  Verify HBA and controller WWNs of a CONNECTED path.

 # luxadm -e dump_map /devices/pci@1c,600000/SUNW,qlc@1/fp@0,0:devctl
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type
0    20400   0         207500a0b84739fa 200400a0b84739fa 0x0  (Disk device)
1    20500   0         203e0080e51c2cc4 200d0080e51c2cc4 0x0  (Disk device)
2    20800   0         20420080e51f5e38 20020080e51f5e38 0x0  (Disk device)
3    20b00   0         20240080e517bd7c 20040080e517bd7c 0x0  (Disk device)
4    20900   0         210000e08b07f32c 200000e08b07f32c 0x1f (Unknown Type,Host Bus Adapter)


  • Port WWN 203e0080e51c2cc4 = the WWN of the host port on the array controller (aka target).
  • Port WWN 210000e08b07f32c = the WWN of the HBA port on the host (aka initiator).


6.  Verify the paths from the array controller perspective.
 

# luxadm display 203e0080e51c2cc4
DEVICE PROPERTIES for disk: 203e0080e51c2cc4
  Vendor:               SUN    
  Product ID:           LCSM100_F ------------> this is a 2540 or 2540-M2 array
  Revision:             0777
  Serial Num:           SV04720931     
  Unformatted capacity: 5120.000 MBytes
  Write Cache:          Enabled
  Read Cache:           Enabled
    Minimum prefetch:   0x3
    Maximum prefetch:   0x0
  Device Type:          Disk device
  Path(s):


  /dev/rdsk/c9t60080E50001C0300000006464D8C9044d0s2
  /devices/scsi_vhci/ssd@g60080e50001c0300000006464d8c9044:c,raw
   Controller           /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0
    Device Address              203d0080e51c2cc4,0
    Host controller port WWN    210000e08b07922c
    Class                       primary
    State                       ONLINE
   Controller           /devices/pci@1c,600000/SUNW,qlc@1/fp@0,0
    Device Address              203e0080e51c2cc4,0
    Host controller port WWN    210000e08b07f32c
    Class                       secondary
    State                       STANDBY


7.  In format:
  • Match the global unique ID (GUID) from the above output.
  • Verify the ProductID from the above output.
7. c9t60080E50001C0300000006464D8C9044d0 <SUN-LCSM100_F-0777 cyl 2558 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g60080e50001c0300000006464d8c9044


  • LCSM100_F = 2540 and 2540-M2 product ID.
  • 60080e50001c03000000646d8c9044 = GUID.


Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback