Operating System - HP-UX
1752307 Members
5392 Online
108786 Solutions
New Discussion юеВ

Re: HP-UX 11.31 Multipathing w/EMC Clarion

 
SOLVED
Go to solution
Scott Giddens
Advisor

HP-UX 11.31 Multipathing w/EMC Clarion

I am told the native multipathing in 11iv3 works with EMC FC storage but does anyone know the trick to turn it on? The Storage Group at work provided me with two paths to a LUN on a CX3-80 but four show up.

I loaded the latest scsimgr patch and was finaly able to see the status flag for the Asymmetric States. It says N/A support for asymmetric states and shows 2 of the four LUNpaths as DISABLE_OPENS which there is no discription as to what that means in the documentation. here are the results of a LUN query:

scsimgr get_info all_lpt -D /dev/rdisk/disk12

STATUS INFORMATION FOR LUN PATH : lunpath8

Generic Status Information

SCSI services internal state = UNOPEN
Open close state = ACTIVE
Protocol = fibre_channel
root@NASTRAN7> scsimgr get_info all_lpt -D /dev/rdisk/disk12

STATUS INFORMATION FOR LUN PATH : lunpath8

Generic Status Information

SCSI services internal state = UNOPEN
Open close state = ACTIVE
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x6006016000e71e009c4e2eb7a794dd11
Total number of Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 2097152
Maximum number of active I/Os allowed = 8
Maximum queue depth = 8
Queue full delay count = 0
Asymmetric state = NA
Device preferred path = No
Relative target port identifier = 5
Target port group identifier = 2

STATUS INFORMATION FOR LUN PATH : lunpath9

Generic Status Information

SCSI services internal state = UNOPEN
Open close state = DISABLE_OPENS
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x6006016000e71e009c4e2eb7a794dd11
Total number of Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 2097152
Maximum number of active I/Os allowed = 8
Maximum queue depth = 8
Queue full delay count = 0
Asymmetric state = NA
Device preferred path = No
Relative target port identifier = 2
Target port group identifier = 1

STATUS INFORMATION FOR LUN PATH : lunpath10

Generic Status Information

SCSI services internal state = UNOPEN
Open close state = ACTIVE
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x6006016000e71e009c4e2eb7a794dd11
Total number of Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 2097152
Maximum number of active I/Os allowed = 8
Maximum queue depth = 8
Queue full delay count = 0
Asymmetric state = NA
Device preferred path = No
Relative target port identifier = 6
Target port group identifier = 2

STATUS INFORMATION FOR LUN PATH : lunpath11

Generic Status Information

SCSI services internal state = UNOPEN
Open close state = DISABLE_OPENS
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x6006016000e71e009c4e2eb7a794dd11
Total number of Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 2097152
Maximum number of active I/Os allowed = 8
Maximum queue depth = 8
Queue full delay count = 0
Asymmetric state = NA
Device preferred path = No
Relative target port identifier = 1
Target port group identifier = 1
20 REPLIES 20
Solution

Re: HP-UX 11.31 Multipathing w/EMC Clarion

Scott,

Have you confirmed that the Storage team have set the right patameters for 11iv3 on the Clariion (host mode has to be ALUA). Also check they have upgraded the CLariion firmware to FLARE26 or higher. Post the output of:

scsimgr get_info -D /dev/rdisk/disk12

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Scott Giddens
Advisor

Re: HP-UX 11.31 Multipathing w/EMC Clarion

Thank you, that is most likely something they are unaware of, I will ask them to verify that. Here is the output you offered to look at:

root@NASTRAN7> scsimgr get_info -D /dev/rdisk/disk12

STATUS INFORMATION FOR LUN : /dev/rdisk/disk12

Generic Status Information

SCSI services internal state = UNOPEN
Device type = Direct_Access
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x6006016000e71e009c4e2eb7a794dd11
Serial number = "APM00074801378"
Vendor id = "DGC "
Product id = "CX3-80WDR5 "
Product revision = "HP03"
Other properties = ""
SPC protocol revision = 4
Open count (includes chr/blk/pass-thru/class) = 0
Raw open count (includes class/pass-thru) = 0
Pass-thru opens = 0
LUN path count = 4
Active LUN paths = 2
Standby LUN paths = 0
Failed LUN paths = 2
Maximum I/O size allowed = 2097152
Preferred I/O size = 2097152
Outstanding I/Os = 0
I/O load balance policy = cl_round_robin
Path fail threshold time period = 0
Transient time period = 120
Tracing buffer size = 1024
LUN Path used when policy is path_lockdown = NA
LUN access type = NA
Asymmetric logical unit access supported = No
Asymmetric states supported = NA
Preferred paths reported by device = No
Preferred LUN paths = 0

Driver esdisk Status Information :

Capacity in number of blocks = 4294967296
Block size in bytes = 512
Number of active IOs = 0
Special properties =
Maximum number of IO retries = 45
IO transfer timeout in secs = 30
FORMAT command timeout in secs = 86400
START UNIT command timeout in secs = 60
Timeout in secs before starting failing IO = 120
IO infinite retries = true
root@NASTRAN7>
Scott Giddens
Advisor

Re: HP-UX 11.31 Multipathing w/EMC Clarion

The CX3-80 firmware is at version 26 but the storage guys don't know what ALUA is nor do they see where to set it. Attached is an image of all the settings they can set.

I believe the "HP no Trespass" should be set to "HP Trespass" is incorrect. is this true?
kevin_m
Valued Contributor

Re: HP-UX 11.31 Multipathing w/EMC Clarion

My company is using our CX-500 in failover mode 4. I don't know how to configure that (done by the SAN guru) but it's required for 11.31 multipathing with the CX. I attached an EMC doc for details (see page 42).

- Kevin
kevin_m
Valued Contributor

Re: HP-UX 11.31 Multipathing w/EMC Clarion

Attached a better doc that relates specifically to ALUA.
Scott Giddens
Advisor

Re: HP-UX 11.31 Multipathing w/EMC Clarion

I added a prefered path and had the storage guys select "HP Trespass" for the host mode and I can create the VG, LV, and mount it. it shows all four paths active.

Thanks!

Re: HP-UX 11.31 Multipathing w/EMC Clarion

Be carefull... there are modes that will "work" (in that you'll be able to create a VG/LV on them), but will deliver *terrible* performance. You need to make sure you have this set correctly.

I'm slightly surprised your Storage guys have never heard of ALUA as it is discussed in the EMC HP-UX connectivity guide in the Clariion Section. Here are some of the reelevant points:

-----------------------------------------
To run 11i v3 with CLARiiON arrays you must have the following
prerequisites:
├в The CLARiiON array (CX3 series, CX300, CX500, and CX700)
must be running the Flare-Operating-Environment release 26 or
later and is required to support HP-UX 11iv3. This version of
Flare introduced the ALUA support for HP-UX 11i v3.
├в ALUA support was introduced into HP-UX 11iv3 (11.31) with the
September 2007 11iv3 release. The host must be running the
March 2008 release of the 11iv3 operating system.
├в Configure the initiators for ALUA failover mode (failover mode
4).
├в CLARiiON Open and HP No Auto Trespass initiator types are
supported with HP-UX 11iv3 (11.31).
CLARiiON Open initiator type implements peripheral device
addressing resulting in expected HP-UX behavior of creating only
eight legacy device special files (DSFs) per target port.
HP No Auto Trespass initiator type implements the Volume Set
Addressing method. You must configure only HP No Auto
Trespass if there are any legacy DSFs dependencies that have the
format /dev/dsk/c2t1d0 and /dev/rdsk/c2t1d0.
You may configure either CLARiiON Open or HP No Auto
Trespass if there are no legacy DSFs dependencies and only
persistent DSFs (also known as agile DSFs) are utilized that have
the format /dev/disk/disk42 and /dev/rdisk/42.
-----------------------------------------
Using the Naviseccli command line
To use Naviseccli, you must have:
├в Naviseccli installed on a host with network access to the
CLARiiON array
├в Navisphere Agent running on the 11iv3 host you are connecting
to the CLARiiON array.
The following example uses the command line to configure the array:
naviseccli -h 172.23.180.130 -h 172.23.180.131 storagegroup -sethost -host
hpint064 -failovermode 4 ├в arraycommpath 1 -type 10
WARNING: Changing configuration options may cause the array to stop functioning
correctly. Do you wish to continue (y/n)? y
The syntax for the command is as follows:
-h 172.23.179.130 ├в the array ips
-host hpint064 ├в the host name (provided by Navisphere
Agent)
-failovermode 4 ├в the failover mode for ALUA support
-type 10 ├в the host initiator options
For ALUA, the only option (other than host) that can be modified for
support is the ├в type├в options.
There are two supported values for the initiator options:
├в 10
Using 10 sets the system for HP No Auto Trespass initiator
options.
├в 3
Using 3 sets the system for CLARiiON Open initiator options.
-----------------------------------------


HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: HP-UX 11.31 Multipathing w/EMC Clarion

Scott,

Here's an output from an EVA LUN that also uses ALUA... I'd expect a Clariion to look similar:

# scsimgr get_info -D /dev/rdisk/disk19

STATUS INFORMATION FOR LUN : /dev/rdisk/disk19

Generic Status Information

SCSI services internal state = ONLINE
...
Vendor id = "HP "
Product id = "HSV300 "
Product revision = "0900"
...
LUN path count = 4
Active LUN paths = 2
Standby LUN paths = 2
...
LUN access type = T10 Asymmetric Active-Active
Asymmetric logical unit access supported = Both implicit and explicit
...


I've cut out the non-relevant sections, but note that this shows that half of the paths are in standb mode, and note the LUN access type and ALUA supported fields. I'd expect your array to look similar but with more paths in total?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Scott Giddens
Advisor

Re: HP-UX 11.31 Multipathing w/EMC Clarion

How did you configure two of the four paths for "standby"?

That appears to be the issue here:

NASTRAN7> scsimgr -f activate -D /dev/rdisk/disk12
scsimgr: The ioctl call for activate standby paths failed with return value of 22 (Invalid argument) for /dev/rdisk/disk12.
The error is returned for one of the following reasons:
1. LUN is neither asymmetric nor active-passive device
2. There are no standby paths available to the device
3. Device do not support manual activation of standby paths
4. Asymmetric access is disabled on the LUN or DDR


NASTRAN7> scsimgr lun_map -D /dev/rdisk/disk12

LUN PATH INFORMATION FOR LUN : /dev/rdisk/disk12

Total number of LUN paths = 4

LUN path : lunpath9
State = ACTIVE
Last Open or Close state = ACTIVE

LUN path : lunpath8
State = ACTIVE
Last Open or Close state = ACTIVE

LUN path : lunpath10
State = ACTIVE
Last Open or Close state = ACTIVE

LUN path : lunpath11
State = ACTIVE
Last Open or Close state = ACTIVE