Re: MPIO disks and paths



On Feb 21, 11:55 am, "miles" <my_spam_acco...@xxxxxxx> wrote:
Hi folks,

I'm getting terrible performance from my MPIO disks, they on an HP
SAN. I think I know why, but I don't know how to change it. It looks
like 90%+ of my traffic is going through one of my two fibre adapters.

From another of your posts I seeyou are using the XP 1024, and so this
information won't apply to you directly, but it may help with your
load balancing question. I am experiencing exactly what you describe,
only on an HP EVA 8000. I have a lot of experience with AIX and IBM
storage but recently I have begun to dabble with HP storage. I will
give you all the background I have so that this is complete for future
reference.

We have an HP EVA 8000 and in order to use AIX's native MPIO you need
to install a 'driver':

devices.fcp.disk.HP.hsv.mpio.rte
1.0.1.0 C F ODM definitions for
HP
Enterprise Virtual
Array disk
devices

Which was downloaded by following the AIX links here:

http://h18006.www1.hp.com/products/sanworks/multipathoptions/index.html

It's not so much a driver as it is ODM definitions that allow AIX to
properly identify the HP disks:

hdisk2 Available 05-08-02 HP HSV210 Enterprise Virtual Array

Rather than "Other FC disk" as you will see if you've discovered the
LUNs prior to installing the fileset. The details and instructions
related to the HP EVA can be found here:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00373254/c00373254.pdf

In that document, static LUN based load balancing is explained, which
appears to be the only load balancing that is supported. It's somewhat
unclear on how you accomplish it, but it has to do with LUN priority
(they all start out with a priority of 1) and something along those
lines. I'm currently investigating implementing the load balancing
described in the documentation.

The fileset also installs a few utilities (that by default live in /
opt/hphsv/bin), including tools for listing the HBAs (lshba),
displaying the paths (hsvpaths) and LUNs (lshsv), and another one I
just noticed this morning as I was writing a rant to our storage guy:

user@host:/opt/hphsv/bin> ./lbhsv
usage: lbhsv -e <Node WWN|ALL> | -d <Node WWN|ALL>
-e Enable static load balancing for a single Node WWN
or all WWNs
-d Disable static load balancing for a single Node
WWN or all WWNs

I'm thinking perhaps something similar exists for the XP1024? 'lbhsv'
is not discussed in the document I linked to above. This is entirely
related to the HP EVA, but you could always send it to your HP rep and
get some information that way. Perhaps the utilities already exist. I
found this stuff by running lslpp -f against the fileset because the
install didn't tell me about any of this. It wasn't until later that I
discovered the documentation.

You could also check out AntemetA, but I believe you have to pay for
it, and most people I've run into want to use native MPIO.

On another note, when I've wanted to test failover and such, I've made
the storage guy do it on the switch, or you can use the chpath command
that is part of AIX native MPIO to enable/disable paths.

Anyways, feel free to contact me directly if you wish to further
discuss my experiences with HP storage and AIX or want clarification
on anything. Heck, I may be contacting you, since we're considering
buying even higher-end HP storage. Oh, this is all on AIX 5.3 TL 05.

Hope this helps.

/cam




.



Relevant Pages

  • Re: Multi-Path MPIO and EMC
    ... Subject: Multi-Path MPIO and EMC ... Is there any command that can tell you which path AIX is using to access ... running AIX 5.1.0.0 and external disks on EMC box. ...
    (AIX-L)
  • Re: Multi-Path MPIO and EMC
    ... Subject: Multi-Path MPIO and EMC ... Is there any command that can tell you which path AIX is using to access ... running AIX 5.1.0.0 and external disks on EMC box. ...
    (AIX-L)
  • Re: Multi-Path MPIO and EMC
    ... Also beware of numerous bugs regarding MPIO in AIX 5.2. ... Multi-Path MPIO and EMC ... AIX MPIO first became available in AIX 5.2, so you're going to need an upgrade just to get it. ... AIX 5.1.0.0 and external disks on EMC box. ...
    (AIX-L)
  • Re: Multi-Path MPIO and EMC
    ... AIX MPIO first became available in AIX 5.2, so you're going to need an ... Once you have MPIO, AIX will recognize that it can access a given device ... and external disks on EMC box. ...
    (AIX-L)
  • Remove inactive non existant VGs from ODM
    ... I am a bit new to AIX. ... storage or disks was disconnected but the VGs for those disks were not ...
    (comp.unix.aix)