Solved

HP-UX : multipathing

Posted on 2012-03-24
4
2,105 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
  • 2
  • 2
4 Comments
 
LVL 20

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 20

Accepted Solution

by:
tfewster earned 500 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now