<?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: Finding controllers in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171866#M61673</link>
    <description>To be clear : i'm talking about disk controllers. I want to do set host /scsi show failed to find disk failures. But I have to know the name of the controller OR do the command for all disk devices. Of course I prefer the first solution.</description>
    <pubDate>Fri, 23 Jan 2004 03:38:02 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2004-01-23T03:38:02Z</dc:date>
    <item>
      <title>Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171862#M61669</link>
      <description>I would like to find all controllers availble to a node. How can I find them in DCL ?</description>
      <pubDate>Fri, 23 Jan 2004 02:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171862#M61669</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T02:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171863#M61670</link>
      <description>On an AXP, try&lt;BR /&gt;&lt;BR /&gt;$ ANA/SYS&lt;BR /&gt;CLUE CONFIG&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2004 03:14:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171863#M61670</guid>
      <dc:creator>Juerg Eichenberger</dc:creator>
      <dc:date>2004-01-23T03:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171864#M61671</link>
      <description>Hello,&lt;BR /&gt;I'm not sure your question so I answer as I understand in my mind.&lt;BR /&gt;All controller are listed by&lt;BR /&gt;$ SHOW DEV/PAGE&lt;BR /&gt;this command show HD controller, tape controller then all other controller.&lt;BR /&gt;If you need more information about some controller you can type&lt;BR /&gt;$ SHOW DEV &lt;DEVNAME&gt; /FULL&lt;BR /&gt;More technical info you can find using&lt;BR /&gt;$ ANALYZE/SYSTEM&lt;BR /&gt;SDA&amp;gt;SHOW DEV&lt;BR /&gt;If you refere to TCP/IP then enter in TCP/IP command console using&lt;BR /&gt;$ TCPIP (if you have TCP/IP V5.xx)&lt;BR /&gt;$ UCX (if you have UCX/TCPIP V4.xx)&lt;BR /&gt;then you can type&lt;BR /&gt;TCPIP&amp;gt; SHO INTERFACE (to see port controller)&lt;BR /&gt;TCPIP&amp;gt; SHO HOST (to see host)&lt;BR /&gt; &lt;BR /&gt;If you are more specific I can help you better.&lt;BR /&gt; &lt;BR /&gt;H.T.H.&lt;BR /&gt;Antoniov&lt;BR /&gt;&lt;BR /&gt;&lt;/DEVNAME&gt;</description>
      <pubDate>Fri, 23 Jan 2004 03:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171864#M61671</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-01-23T03:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171865#M61672</link>
      <description>Ana/sys displays info that can be interpreted by humans. But I need to know the device name (e.g. $1$dga99 for our HSG80). And this in a general way, e.g. with f$getdvi.</description>
      <pubDate>Fri, 23 Jan 2004 03:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171865#M61672</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T03:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171866#M61673</link>
      <description>To be clear : i'm talking about disk controllers. I want to do set host /scsi show failed to find disk failures. But I have to know the name of the controller OR do the command for all disk devices. Of course I prefer the first solution.</description>
      <pubDate>Fri, 23 Jan 2004 03:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171866#M61673</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T03:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171867#M61674</link>
      <description>Look at this code from my collection routines:&lt;BR /&gt;$!&lt;BR /&gt;$! Read all disk device&lt;BR /&gt;$GET_DISKS:&lt;BR /&gt;$! Here my starting code&lt;BR /&gt;$DSKLOOP:&lt;BR /&gt;$! Read next disk device&lt;BR /&gt;$ CURDEV = F$DEVICE("*","DISK")&lt;BR /&gt;$ IF CURDEV .NES. ""&lt;BR /&gt;$ THEN&lt;BR /&gt;$! Found device&lt;BR /&gt;$! Check exist (avoid virtual controller)&lt;BR /&gt;$    IF .NOT. F$GETDVI(CURDEV,"EXISTS") THEN GOTO DSKLOOP&lt;BR /&gt;$! Check if mounted&lt;BR /&gt;$    IF .NOT. F$GETDVI(CURDEV,"MNT") THEN GOTO DSKLOOP&lt;BR /&gt;$! here CURDEV has the name of mounted disk&lt;BR /&gt;$    GOTO DSKLOOP&lt;BR /&gt;$ ENDIF&lt;BR /&gt;$ RETURN&lt;BR /&gt; &lt;BR /&gt;H.T.H.&lt;BR /&gt;Antoniov</description>
      <pubDate>Fri, 23 Jan 2004 03:38:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171867#M61674</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-01-23T03:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171868#M61675</link>
      <description>Antoniov,&lt;BR /&gt;&lt;BR /&gt;That's almost the code I use. But since I have a lot of disks and I don't know how many controllers are behind them, I do the set ho/scsi for each disk. But better would be to get a list of controllers.</description>
      <pubDate>Fri, 23 Jan 2004 04:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171868#M61675</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T04:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171869#M61676</link>
      <description>Hallo Wim,&lt;BR /&gt;&lt;BR /&gt;our solution: (but maybe it makes assumptions about the configuration that are not true for you:&lt;BR /&gt;&lt;BR /&gt;F$GETDVI("SYS$SYSDEVICE")&lt;BR /&gt; &lt;BR /&gt;use f$getdvi to get the fysical member of the systemdisk&lt;BR /&gt;&lt;BR /&gt;do a $ SET/HOST/SCSI &lt;SD-MEMBER&gt; SHO &lt;WHATEVER-WE-WANT&gt;.&lt;BR /&gt;&lt;BR /&gt;This assumes: The systemdisk is a shadowset with member(s) on EACH HSG80&lt;BR /&gt;&lt;BR /&gt;You only have HSG80 which serve a systemdisk member.&lt;BR /&gt;(back in HSZ50 times we had a 3-member SD with 2 members on the same HSZ, then we include a test whether we already did this one.&lt;BR /&gt;If you are interested in the HSG itself, (for instance, battery status) then you have to do a SHO THIS and a SHO OTHER.&lt;BR /&gt;&lt;BR /&gt;I never had to figure out about HSx.. that did not carry (part of) the system disk, so maybe if that is your case you need another trick.&lt;BR /&gt;&lt;BR /&gt;For what is worth, success with it.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;&lt;/WHATEVER-WE-WANT&gt;&lt;/SD-MEMBER&gt;</description>
      <pubDate>Fri, 23 Jan 2004 04:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171869#M61676</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-01-23T04:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171870#M61677</link>
      <description>For scsi drives you can use the controller letter in the device name DKxnnn (use x) if port allocation classes are not enabled. With port allocation classes (DEVICE_NAMING=1) each controller would have a different allocation class (defined in SYS$DEVICES.DAT).  I'm not lucky enough to have modern FC based controllers like the HSG80 so I know not about those. &lt;BR /&gt;&lt;BR /&gt;Parhaps you can use the existence of the scsi port driver devices PKA, PKB etc to determine how many controllers and the controller device letter for each? &lt;BR /&gt;&lt;BR /&gt;Sounds like a interesting bit of DCL to develop and I hope you can share it (parahaps at dcl.openms.org) when it works :-)</description>
      <pubDate>Fri, 23 Jan 2004 05:12:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171870#M61677</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-01-23T05:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171871#M61678</link>
      <description>Hi Jan,&lt;BR /&gt;&lt;BR /&gt;Good trick but not yet good enough. We have a cluster where the system disk is not shared. But if I do the test on each node of the cluster it would be correct. It is a good solution for reducing the work but still doesn't give an answer on how to find a list of controllers.&lt;BR /&gt;&lt;BR /&gt;I'm not a hardware man but isn't it possible to use multiple uncoupled controllers ? So in that case, the trick wouldn't work.</description>
      <pubDate>Fri, 23 Jan 2004 05:15:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171871#M61678</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T05:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171872#M61679</link>
      <description>Here there is F$GETDVI function arguments; may be you cand find right information.&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/732FINAL/9996/9996pro_030.html#green_18" target="_blank"&gt;http://h71000.www7.hp.com/doc/732FINAL/9996/9996pro_030.html#green_18&lt;/A&gt;&lt;BR /&gt;I have not your controller, so I can't try for you.&lt;BR /&gt; &lt;BR /&gt;Antoniov&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2004 05:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171872#M61679</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-01-23T05:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171873#M61680</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;can you post here the output of $SHO DEV D ??&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Fri, 23 Jan 2004 05:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171873#M61680</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2004-01-23T05:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171874#M61681</link>
      <description>Antoniov : if you find something in the manual please let me know. Btw : did you see the examples to which they are refering ? I didn't.&lt;BR /&gt;&lt;BR /&gt;Ian : it should be in DCL and suitable for all situations. By preference via f$get... and I don't have a sys$devices.dat on my cluster. And who says that all controllers have device names DK ?</description>
      <pubDate>Fri, 23 Jan 2004 05:35:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171874#M61681</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T05:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171875#M61682</link>
      <description>Lokesh,&lt;BR /&gt;&lt;BR /&gt;I have to manage 150 VMS nodes. I am not talking about 1 cluster or node. So, the show dev d is no help.</description>
      <pubDate>Fri, 23 Jan 2004 05:42:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171875#M61682</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T05:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171876#M61683</link>
      <description>Hi Van,&lt;BR /&gt;I cannot try because I've different configuration. If you see all disk beginning by DK means they are all SCSI HD.&lt;BR /&gt;What you see typing follow command?&lt;BR /&gt;$ SAY="WRITE SYS$OUTPUT"&lt;BR /&gt;$ SAY F$GETDVI("DKA0","HOST_NAME")&lt;BR /&gt;$ SAY F$GETDVI("DKA0","HOST_TYPE")&lt;BR /&gt; &lt;BR /&gt;Bye &lt;BR /&gt;Antoniov&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2004 06:00:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171876#M61683</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-01-23T06:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171877#M61684</link>
      <description>Antoniov,&lt;BR /&gt;&lt;BR /&gt;On one of the clusters :&lt;BR /&gt;AlphaServer GS160 6/1001 3072 Mbytes&lt;BR /&gt;SPVMX2/MGRWVW&amp;gt;sh dev dk&lt;BR /&gt;&lt;BR /&gt;Device                  Device           Error    Volume         Free  Trans Mnt&lt;BR /&gt; Name                   Status           Count     Label        Blocks Count Cnt&lt;BR /&gt;SPVCS2$DKA0:            Online               0&lt;BR /&gt;SPVMX2$DKA0:            Online               0&lt;BR /&gt;WPVMX2$DKA0:            Mounted              0  (remote mount)                 1&lt;BR /&gt;WPVMX2$DKA400:          Online               0&lt;BR /&gt;&lt;BR /&gt;The lexicals display type "ALPH" and the nodename as in the prefix of the device name.</description>
      <pubDate>Fri, 23 Jan 2004 06:06:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171877#M61684</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T06:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171878#M61685</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do all your 150 VMS systems have same controller type...i.e. HSG80, or do they have HSC, HSD, HSJ, HSZ...etc. For , HSC, HSD &amp;amp; HSJ $sho cluster can give the controller names..&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Fri, 23 Jan 2004 06:08:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171878#M61685</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2004-01-23T06:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171879#M61686</link>
      <description>Also if you prefer comand of Jan, you could write code as follow:&lt;BR /&gt;$ DEFINE SYS$OUTPUT myInfo.Out&lt;BR /&gt;$ SET/HOST/SCSI &lt;SD-MEMBER&gt; SHO &lt;THIS&gt;.&lt;BR /&gt;$ SET/HOST/SCSI &lt;SD-MEMBER&gt; SHO &lt;THAT&gt;.&lt;BR /&gt;$ DEASS SYS$OUTPUT&lt;BR /&gt;$ OPEN/REA SRC myInfo.OUT&lt;BR /&gt;$MLOOP:&lt;BR /&gt;$ READ SRC MYLINE/END=XITLOOP&lt;BR /&gt;$! manage my info&lt;BR /&gt;$ GOTO MLOOP&lt;BR /&gt;$XITLOOP:&lt;BR /&gt;$ CLOSE SRC&lt;BR /&gt;$! etc etc&lt;BR /&gt; &lt;BR /&gt;Antoniov&lt;BR /&gt;&lt;/THAT&gt;&lt;/SD-MEMBER&gt;&lt;/THIS&gt;&lt;/SD-MEMBER&gt;</description>
      <pubDate>Fri, 23 Jan 2004 06:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171879#M61686</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-01-23T06:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171880#M61687</link>
      <description>Antoniov : got that code too.&lt;BR /&gt;&lt;BR /&gt;I have all kind of controllers.&lt;BR /&gt;&lt;BR /&gt;I would like something like :&lt;BR /&gt;&lt;BR /&gt;$redo:&lt;BR /&gt;$ dev_name=f$device("*","controller",,1)&lt;BR /&gt;$ if dev_name .eqs. "" then return&lt;BR /&gt;$ set ho /scsi 'dev_name' show fail&lt;BR /&gt;$ ...&lt;BR /&gt;$ goto redo</description>
      <pubDate>Fri, 23 Jan 2004 06:51:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171880#M61687</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-01-23T06:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Finding controllers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171881#M61688</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;I checked over our routine, and actually it already seems to supply what I understand you are needing.&lt;BR /&gt;It HAS the facility to query non-sysdisk containing controllers.&lt;BR /&gt;It HAS the ability to query controllers that are on remote nodes (only, you have to supply a password for SYSMAN; proxies don't work).&lt;BR /&gt;I posted it at DCL.OPENVMS.ORG&lt;BR /&gt;It was not immediately presented, so I don't have a direct URL just yet.&lt;BR /&gt;&lt;BR /&gt;As far as we know, it operates fine on HSZ50 and on HSG80, other HS controllers may or may not work.&lt;BR /&gt;Actually, HSZ80 is by experience NOT guaranteed to work: &lt;BR /&gt;Initially it worked fine, then the controller software had to be upgraded, and there was NO way we could get any info from it. After the next patch, it was working again.&lt;BR /&gt;Don't ask me for version numebers, I don't know, and our SAN administrator is on holiday   :-D&lt;BR /&gt;&lt;BR /&gt;Try it, use what you like.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Fri, 23 Jan 2004 07:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-controllers/m-p/3171881#M61688</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-01-23T07:18:40Z</dc:date>
    </item>
  </channel>
</rss>

