<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GETDVI for multipath in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970640#M75403</link>
    <description>Hi,&lt;BR /&gt;     For V8.2 (and unofficially backported to V7.3-2), there is much greater support for multipath devices within $GETDVI.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Of interest to you would be dvi$_path_not_responding.&lt;BR /&gt;&lt;BR /&gt;dvi$_total_path_count may also be of use.&lt;BR /&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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!&lt;BR /&gt;&lt;BR /&gt;-- Rob (VMS Engineering -- I maintain $GETDVI and multipath).</description>
    <pubDate>Wed, 29 Mar 2006 19:07:14 GMT</pubDate>
    <dc:creator>Robert Brooks_1</dc:creator>
    <dc:date>2006-03-29T19:07:14Z</dc:date>
    <item>
      <title>GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970638#M75401</link>
      <description>I use Big Brother to watch the majority of my VMS systems.  I want to create a script to watch my multipath devices so that I can setup an alert when I have a path failure.  All of my BB scripts are in DCL so that I know I can use them everywhere and for ease of modifications.  &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;I run on Alpha servers.  OpenVMS 7.3-1, 7.3-2, and 8.2. &lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 18:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970638#M75401</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2006-03-29T18:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970639#M75402</link>
      <description>Check the DVI$_AVAILABLE_PATH_COUNT code of the $GETDVI finction.</description>
      <pubDate>Wed, 29 Mar 2006 18:17:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970639#M75402</guid>
      <dc:creator>Phillip Thayer</dc:creator>
      <dc:date>2006-03-29T18:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970640#M75403</link>
      <description>Hi,&lt;BR /&gt;     For V8.2 (and unofficially backported to V7.3-2), there is much greater support for multipath devices within $GETDVI.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Of interest to you would be dvi$_path_not_responding.&lt;BR /&gt;&lt;BR /&gt;dvi$_total_path_count may also be of use.&lt;BR /&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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!&lt;BR /&gt;&lt;BR /&gt;-- Rob (VMS Engineering -- I maintain $GETDVI and multipath).</description>
      <pubDate>Wed, 29 Mar 2006 19:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970640#M75403</guid>
      <dc:creator>Robert Brooks_1</dc:creator>
      <dc:date>2006-03-29T19:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970641#M75404</link>
      <description>Do you have sample code for making the call to sys$getdvi? &lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Thu, 30 Mar 2006 12:34:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970641#M75404</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2006-03-30T12:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970642#M75405</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;Use the DVI$_AVAILABLE_PATH_COUNT  with the F$GETDVI lexical function in DCL to get what you are looking for.&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Thu, 30 Mar 2006 14:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970642#M75405</guid>
      <dc:creator>Phillip Thayer</dc:creator>
      <dc:date>2006-03-30T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970643#M75406</link>
      <description>I tried that and it returned:&lt;BR /&gt;write sys$output f$getdvi("$1$dga435:","DVI$_AVAILABLE_PATH_COUNT")&lt;BR /&gt;&lt;BR /&gt;%DCL-W-IVKEYW, unrecognized keyword - check validity and spelling&lt;BR /&gt; \DVI$_AVAILABLE_PATH_COUNT\&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Mar 2006 14:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970643#M75406</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2006-03-30T14:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970644#M75407</link>
      <description>when using lexical functions from DCL, you cannot include the "dvi$_" prefix.&lt;BR /&gt;&lt;BR /&gt;an example . . .&lt;BR /&gt;&lt;BR /&gt;$  write sys$output f$getdvi( "$1$dga33", "available_path_count" )&lt;BR /&gt;5</description>
      <pubDate>Thu, 30 Mar 2006 15:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970644#M75407</guid>
      <dc:creator>Robert Brooks_1</dc:creator>
      <dc:date>2006-03-30T15:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970645#M75408</link>
      <description>That works on the OpenVMS 7.3-2 and the 8.2 systems I have. &lt;BR /&gt;&lt;BR /&gt;I went looking in the DVIDEF.H file and didn't find any references to the available path or path_count.&lt;BR /&gt;&lt;BR /&gt;So I might or might not have a solution using C compiled on an openvms 7.3-2 or 8.2 system.&lt;BR /&gt;&lt;BR /&gt;Any ideas on gaining this information on the 7.3-1 system?</description>
      <pubDate>Thu, 30 Mar 2006 16:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970645#M75408</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2006-03-30T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970646#M75409</link>
      <description>Peter wrote . . .&lt;BR /&gt;&lt;BR /&gt;That works on the OpenVMS 7.3-2 and the 8.2 systems I have.&lt;BR /&gt;&lt;BR /&gt;I went looking in the DVIDEF.H file and didn't find any references to the available path or path_count.&lt;BR /&gt;&lt;BR /&gt;So I might or might not have a solution using C compiled on an openvms 7.3-2 or 8.2 system.&lt;BR /&gt;&lt;BR /&gt;Any ideas on gaining this information on the 7.3-1 system?&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;If you see my first reply, I said that the work was unofficially backported to V7.3-2.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;This work will never be backported to V7.3-1 -- sorry.&lt;BR /&gt;&lt;BR /&gt;           -- Rob</description>
      <pubDate>Thu, 30 Mar 2006 16:17:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970646#M75409</guid>
      <dc:creator>Robert Brooks_1</dc:creator>
      <dc:date>2006-03-30T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970647#M75410</link>
      <description>Guess this falls into just another reason to upgraded to a supported OS level :D&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;Its nice to know that I can do the system calls in the lexicals.  Might make for some better scripts for my monitoring.</description>
      <pubDate>Thu, 30 Mar 2006 16:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970647#M75410</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2006-03-30T16:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: GETDVI for multipath</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970648#M75411</link>
      <description>Just closing the thread.</description>
      <pubDate>Thu, 30 Mar 2006 16:43:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getdvi-for-multipath/m-p/4970648#M75411</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2006-03-30T16:43:33Z</dc:date>
    </item>
  </channel>
</rss>

