Operating System - HP-UX
1753808 Members
7960 Online
108805 Solutions
New Discussion юеВ

Re: Alternate view of agile SAN devices with 11.31

 
Olivier Masse
Honored Contributor

Alternate view of agile SAN devices with 11.31

I wrote a wrapper around ioscan/scsimgr to help me have a better view of my SAN devices, along with their health and decimal lun numbers. A screenshot is attached. If anyone's interested in this, you can get it here:
http://www.mayoxide.com/toolbox/ioscan_fc2.sh

I only have one 11.31 host to test this on until now (we're still a 11.23 shop) so any comments and bug reports are welcome.
3 REPLIES 3
Suraj Singh_1
Trusted Contributor

Re: Alternate view of agile SAN devices with 11.31

Hi Olivier,

Do you (or anybody else) has a similar script which gets information from other versions of HP-UX.

More specifically, what i need is a script/tool which can determine whether a given lun has more than one path, and if so, then list those paths.

Thanks,
Suraj
What we cannot speak about we must pass over in silence.
Olivier Masse
Honored Contributor

Re: Alternate view of agile SAN devices with 11.31

Suraj:
I have an older version for 11.23 that will show you all the legacy paths for a particular LUN but you have to use the x.y octal notation for the LUNs (not that hard). For example, 0.5 for LUN #5 and 1.1 for LUN #9. I've been using this for a while, it's easier than parsing ioscan directly.
http://www.mayoxide.com/toolbox/ioscan_fc.sh
Wim Rombauts
Honored Contributor

Re: Alternate view of agile SAN devices with 11.31

Suraj,

Do you use HP-UX LVM ? The pvdisplay command on a LUN used by LVM will show all known paths to that LUN.