Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

HP-UX : multipathing

Posted on 2012-03-24
4
Medium Priority
?
2,467 Views
Last Modified: 2012-03-27
Hi,

Please tell me:

1. How to check HP-ux multipaths (Linux equivalent of multipath -l )

2. How to check which drives are local or mounted via multipath?

Thanks!
0
Comment
Question by:g0all
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 21

Expert Comment

by:tfewster
ID: 37763470
Which version of HP-UX?

HP-UX did not support native dynamic multipathing before HP-UX 11i v3, so you may have add-on software (e.g. EMCs DMP) to provide a single device file that DMP then uses to address both "real" paths. There are DMP commands to check the status, in the same way as Linux `multipath`

In HP-UX 11i v3, `ioscan` will show you "persistent" device names that may have multiple underlying paths.

With earlier versions of HP-UX, `ioscan` shows you all paths but it's not obvious if two go to the same device (e.g. a LUN on a storage array). However, when you initialise a disk for LVM use with `pvcreate`, it gives it a unique ID so if you then add both paths to a Volume Group, the Volume group recognises that as a Primary and Secondary path and does an automatic failover if the Primary path is lost. `vgdisplay` would show you both paths.

I think SAM may show you a single device name for a multi-pathed disk.
0
 
LVL 1

Author Comment

by:g0all
ID: 37765956
Thank you for your effort.

I have HP-UX 11i v3 (B.11.31)

Can you please post a ioscan output on a hp-ux multipath-enabled server?
0
 
LVL 21

Accepted Solution

by:
tfewster earned 2000 total points
ID: 37770649
There are examples in the  "HP-UX 11i v3 Mass Storage Device Naming" whitepaper at http://bizsupport.austin.hp.com/bc/docs/support/SupportManual/c01906504/c01906504.pdf

Page 11: `ioscan -m dsf` shows the "persistent" names, and the underlying "old" device names, with multiple Legacy paths if the device is multi-pathed.

Page 12: `ioscan -m hwpath` does the same for hardware paths
0
 
LVL 1

Author Closing Comment

by:g0all
ID: 37770666
Excellent (again).

Many thanks
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question