- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- GETDVI for multipath
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 10:02 AM
03-29-2006 10:02 AM
In the GETDVI I can check if a device is Multipath or what the current path is but I don't see anything that polls the number of available paths. On all of my FC connected disks I have 3 paths (2 through the FC cards and 1 through MSCP). I want to poll that both FC paths are available and if one drops then to update the BB information.
Is there another location to pull this information? I can see the details when I do a show dev/multi or if I do a show dev/full.
I run on Alpha servers. OpenVMS 7.3-1, 7.3-2, and 8.2.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 10:17 AM
03-29-2006 10:17 AM
Re: GETDVI for multipath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 11:07 AM
03-29-2006 11:07 AM
Re: GETDVI for multipath
For V8.2 (and unofficially backported to V7.3-2), there is much greater support for multipath devices within $GETDVI.
One can now specify a particular path about which to get information. The pathname is an optional parameter for all of SYS$GETDVI, LIB$GETDVI, and F$GETDVI.
Of interest to you would be dvi$_path_not_responding.
dvi$_total_path_count may also be of use.
While there is also dvi$_path_available, that item code will not likely be particularly interesting -- for reasons that are too complex to explain here, that item code will always return "TRUE" (or 1).
The documentation for V8.2 does a reasonably good job of explaining the optional pathname parameter; the description of the various item codes in the "System Services Reference Manual" states which item codes can make use of that parameter.
If you have any questions about $GETDVI or multipath devices, or if you want to give me suggestions about additional item codes that would help you out, please let me know!
-- Rob (VMS Engineering -- I maintain $GETDVI and multipath).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 04:34 AM
03-30-2006 04:34 AM
Re: GETDVI for multipath
I do have a system that has the C compiler. I have never made use of a system call. If its possible to make use of the system calls in DCL that would really rock since thats where I have created 99.999% of my scripts. Only once have I had to work in macro and that was on VAX 5.5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 06:28 AM
03-30-2006 06:28 AM
Re: GETDVI for multipath
Use the DVI$_AVAILABLE_PATH_COUNT with the F$GETDVI lexical function in DCL to get what you are looking for.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 06:51 AM
03-30-2006 06:51 AM
Re: GETDVI for multipath
write sys$output f$getdvi("$1$dga435:","DVI$_AVAILABLE_PATH_COUNT")
%DCL-W-IVKEYW, unrecognized keyword - check validity and spelling
\DVI$_AVAILABLE_PATH_COUNT\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 07:45 AM
03-30-2006 07:45 AM
Re: GETDVI for multipath
an example . . .
$ write sys$output f$getdvi( "$1$dga33", "available_path_count" )
5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 08:03 AM
03-30-2006 08:03 AM
Re: GETDVI for multipath
I went looking in the DVIDEF.H file and didn't find any references to the available path or path_count.
So I might or might not have a solution using C compiled on an openvms 7.3-2 or 8.2 system.
Any ideas on gaining this information on the 7.3-1 system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 08:17 AM
03-30-2006 08:17 AM
SolutionThat works on the OpenVMS 7.3-2 and the 8.2 systems I have.
I went looking in the DVIDEF.H file and didn't find any references to the available path or path_count.
So I might or might not have a solution using C compiled on an openvms 7.3-2 or 8.2 system.
Any ideas on gaining this information on the 7.3-1 system?
---
If you see my first reply, I said that the work was unofficially backported to V7.3-2.
What that means is that we don't generate new language-specific STARLET libraries (as in dvidef.h from sys$starlet_c.tlb). However, you can extract those definitions from a V8.2 system and insert them by hand into your V7.3-2 sys$library:sys$starlet_c.tlb.
You don't need to do anything to get the new stuff to work from DCL on V7.3-2 because when DCL was rebuilt for one of the kits you've installed, it gained knowledge of the new item codes automatically.
This work will never be backported to V7.3-1 -- sorry.
-- Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 08:42 AM
03-30-2006 08:42 AM
Re: GETDVI for multipath
Thanks for all of the input. I am not sure if I will extract the libraries and change the current one or just created the script only for the supported OS levels.
Its nice to know that I can do the system calls in the lexicals. Might make for some better scripts for my monitoring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 08:43 AM
03-30-2006 08:43 AM