<?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: TCPIP$METRIC usage in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-metric-usage/m-p/3460577#M31714</link>
    <description>Sergey,&lt;BR /&gt;  I'm not sure if TCPIP$METRIC does what you think it does... but here's an article that might help (not sure how it will wrap...):&lt;BR /&gt;&lt;BR /&gt;[TCP/IP] TCPIP$METRICVIEW &amp;amp; METRIC Debugging / Troubleshooting Info.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;COPYRIGHT (c) 1988, 1993 by Digital Equipment Corporation.&lt;BR /&gt;ALL RIGHTS RESERVED. No distribution except as provided under contract.&lt;BR /&gt;&lt;BR /&gt;(c) 2003 Hewlett-Packard Development Company, L.P.&lt;BR /&gt;&lt;BR /&gt;PRODUCT:    TCP/IP Services for OpenVMS, Versions 5.1 and Above&lt;BR /&gt;&lt;BR /&gt;COMPONENT:  TCPIP$METRICVIEW and METRIC&lt;BR /&gt;&lt;BR /&gt;OP/SYS:     OpenVMS VAX, Versions 7.1, 7.2 and 7.3&lt;BR /&gt;            OpenVMS Alpha, Versions 7.1, 7.2 and 7.3&lt;BR /&gt;&lt;BR /&gt;SOURCE:     Hewlett-Packard Company&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OVERVIEW:&lt;BR /&gt;&lt;BR /&gt;This article contains example debugging information for the&lt;BR /&gt;TCPIP$METRICVIEW executable image, and the METRIC service.  Example steps&lt;BR /&gt;for observing and initiating the network message exchange, along with basic&lt;BR /&gt;trace analysis are included.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;INFORMATION:&lt;BR /&gt;&lt;BR /&gt;The METRIC service is used in conjunction with the LBROKER service to&lt;BR /&gt;obtain the service rating for nodes that are participating in the OpenVMS&lt;BR /&gt;cluster alias.  The image TCPIP$METRICVIEW.EXE can be used to obtain the&lt;BR /&gt;rating value of these nodes via the METRIC service.&lt;BR /&gt;&lt;BR /&gt;The example commands listed below start a TCPTRACE debugging session on&lt;BR /&gt;NODE_A, and logs responses from the nodes that are connected to a single&lt;BR /&gt;subnet, and to multiple subnets.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EXAMPLE NUMBER 1:&lt;BR /&gt;&lt;BR /&gt;The message exchange is initiated and trace information obtained.  There is&lt;BR /&gt;only one Ethernet controller defined  with the address 172.16.1.1 on the&lt;BR /&gt;OpenVMS host.  The IP multicast message is sent to the 172.16.1.255 address.&lt;BR /&gt;&lt;BR /&gt;     IP Addressing scheme:&lt;BR /&gt;     node_a.some.company.com 172.16.1.1&lt;BR /&gt;     node_b.some.company.com 172.16.1.2&lt;BR /&gt;     node_c.some.company.com 172.16.1.3&lt;BR /&gt;     node_d.some.company.com 172.16.1.4&lt;BR /&gt;&lt;BR /&gt;     NODE_A $ TCPIP SHOW SERVICE METRIC              ! Verify that the&lt;BR /&gt;                                                     ! metric service is&lt;BR /&gt;                                                     ! enabled&lt;BR /&gt;     Service         Port  Proto   Process          Address          State&lt;BR /&gt;&lt;BR /&gt;     METRIC          570  UDP      TCPIP$METRIC     0.0.0.0        Enabled&lt;BR /&gt;&lt;BR /&gt;     NODE_A $ CREATE TEST.COM                         ! Create command&lt;BR /&gt;     $ PIPE TCPTRACE/FULL/PORT=REMOTE=570/PACKET=15 - ! procedure to start&lt;BR /&gt;     | SEARCH/NUMBER SYS$PIPE ADDRESS                 ! tcptrace utility&lt;BR /&gt;     ^Z&lt;BR /&gt;&lt;BR /&gt;     NODE_A $ SPAWN/NOWAIT/NOTIFY @TEST.COM           ! Spawn subprocess&lt;BR /&gt;     %DCL-S-SPAWNED, process TEAM_70 spawned&lt;BR /&gt;&lt;BR /&gt;     NODE_A $ MCR TCPIP$METRICVIEW.EXE                ! Invoke image&lt;BR /&gt;         13     IP Source Address      = 172.16.1.1&lt;BR /&gt;         14     IP Destination Address = 172.16.1.255&lt;BR /&gt;&lt;BR /&gt;         32     IP Source Address      = 172.16.1.2&lt;BR /&gt;         33     IP Destination Address = 172.16.1.1&lt;BR /&gt;&lt;BR /&gt;         51     IP Source Address      = 172.16.1.3&lt;BR /&gt;         52     IP Destination Address = 172.16.1.1&lt;BR /&gt;&lt;BR /&gt;         70     IP Source Address      = 172.16.1.4&lt;BR /&gt;         71     IP Destination Address = 172.16.1.1&lt;BR /&gt;&lt;BR /&gt;         89     IP Source Address      = 172.16.1.1&lt;BR /&gt;         90     IP Destination Address = 172.16.1.1&lt;BR /&gt;&lt;BR /&gt;     Subprocess TEAM_70 has completed&lt;BR /&gt;     Host                                                    Rating&lt;BR /&gt;     ----                                                    ------&lt;BR /&gt;     172.16.1.2  node_b.some.company.com                     51&lt;BR /&gt;     172.16.1.3  node_c.some.company.com                     18&lt;BR /&gt;     172.16.1.4  node_d.some.company.com                     12&lt;BR /&gt;     172.16.1.1  node_a.some.company.com                     23&lt;BR /&gt;&lt;BR /&gt;Trace Analysis:&lt;BR /&gt;&lt;BR /&gt;Line 13: Source IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;Line 14: Destination IP Multicast address sent to the 172.16.1.0 subnet&lt;BR /&gt;&lt;BR /&gt;Line 32: Source IP address of node_b running the METRIC service&lt;BR /&gt;Line 33: Destination IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;Line 51: Source IP address of node_c running the METRIC service&lt;BR /&gt;Line 52: Destination IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;Line 70: Source IP address of node_d running the METRIC service&lt;BR /&gt;Line 71: Destination IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;Line 89: Source IP address of node_a running the METRIC service&lt;BR /&gt;Line 90: Destination IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EXAMPLE NUMBER 2:&lt;BR /&gt;&lt;BR /&gt;The message exchange is initiated and trace information obtained.  There&lt;BR /&gt;two Ethernet controller defined with the addresses 172.16.1.1 and 10.1.1.1&lt;BR /&gt;on the OpenVMS host.  The IP multicast message is sent out the first&lt;BR /&gt;controller to the 172.16.1.255 address.  The only node output displayed is&lt;BR /&gt;the local node.&lt;BR /&gt;&lt;BR /&gt;     IP Addressing scheme:&lt;BR /&gt;     node_e.some.company.com 10.1.1.1&lt;BR /&gt;     node_f.some.company.com 10.1.1.2&lt;BR /&gt;&lt;BR /&gt;     NODE_E $ SPAWN/NOWAIT/NOTIFY @TEST.COM          ! Spawn subprocess&lt;BR /&gt;     %DCL-S-SPAWNED, process TEAM_70 spawned&lt;BR /&gt;&lt;BR /&gt;     NODE_E $ MCR TCPIP$METRICVIEW.EXE               ! Invoke image&lt;BR /&gt;     13   IP Source Address      = 172.16.1.1&lt;BR /&gt;     14   IP Destination Address = 172.16.1.255&lt;BR /&gt;&lt;BR /&gt;     32   IP Source Address      = 10.1.1.1&lt;BR /&gt;     33   IP Destination Address = 10.1.1.1&lt;BR /&gt;&lt;BR /&gt;     51   IP Source Address      = 10.1.1.2&lt;BR /&gt;     52   IP Destination Address = 10.1.1.1&lt;BR /&gt;&lt;BR /&gt;     ----                                                    ------&lt;BR /&gt;     10.1.1.1 node_e.some.company.com                         134&lt;BR /&gt;&lt;BR /&gt;Line 13: Source IP address of node_e running the TCPIP$METRICVIEW image&lt;BR /&gt;Line 14: Destination IP Multicast address sent to the 172.16.1.0 subnet&lt;BR /&gt;         TCPIP$METRICVIEW sends the multicast to the first controller&lt;BR /&gt;&lt;BR /&gt;Line 32: Source IP address of node_e running the METRIC service&lt;BR /&gt;Line 33: Destination IP address of node_e running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;Line 51: Source IP address of node_f running the METRIC service&lt;BR /&gt;Line 52: Destination IP address of node_f running the TCPIP$METRICVIEW&lt;BR /&gt;         image  A detailed trace indicates that a different port number&lt;BR /&gt;         was used&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WORKAROUND:&lt;BR /&gt;&lt;BR /&gt;Use the "/HOST" switch and specify each node individually:&lt;BR /&gt;&lt;BR /&gt;     NODE_D $ MCR TCPIP$METRICVIEW.EXE/HOST=10.1.1.2&lt;BR /&gt;&lt;BR /&gt;     ----                                                    ------&lt;BR /&gt;     10.1.1.2 node_f.some.company.com                         132&lt;BR /&gt;&lt;BR /&gt;     NODE_D $ MCR TCPIP$METRICVIEW.EXE/HOST=10.1.1.1&lt;BR /&gt;&lt;BR /&gt;     ----                                                    ------&lt;BR /&gt;     10.1.1.1 node_e.some.company.com                         134&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Jan 2005 19:50:54 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2005-01-11T19:50:54Z</dc:date>
    <item>
      <title>TCPIP$METRIC usage</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-metric-usage/m-p/3460576#M31713</link>
      <description>Has anybody experience with TCPIP$METRIC API usage? I need to obtain workload statistics in my application (C-writed) for my internal purposes. Аny samples of TCPIP$METRIC API calling very needed.&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 11 Jan 2005 11:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-metric-usage/m-p/3460576#M31713</guid>
      <dc:creator>Sergey Akimov</dc:creator>
      <dc:date>2005-01-11T11:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP$METRIC usage</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-metric-usage/m-p/3460577#M31714</link>
      <description>Sergey,&lt;BR /&gt;  I'm not sure if TCPIP$METRIC does what you think it does... but here's an article that might help (not sure how it will wrap...):&lt;BR /&gt;&lt;BR /&gt;[TCP/IP] TCPIP$METRICVIEW &amp;amp; METRIC Debugging / Troubleshooting Info.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;COPYRIGHT (c) 1988, 1993 by Digital Equipment Corporation.&lt;BR /&gt;ALL RIGHTS RESERVED. No distribution except as provided under contract.&lt;BR /&gt;&lt;BR /&gt;(c) 2003 Hewlett-Packard Development Company, L.P.&lt;BR /&gt;&lt;BR /&gt;PRODUCT:    TCP/IP Services for OpenVMS, Versions 5.1 and Above&lt;BR /&gt;&lt;BR /&gt;COMPONENT:  TCPIP$METRICVIEW and METRIC&lt;BR /&gt;&lt;BR /&gt;OP/SYS:     OpenVMS VAX, Versions 7.1, 7.2 and 7.3&lt;BR /&gt;            OpenVMS Alpha, Versions 7.1, 7.2 and 7.3&lt;BR /&gt;&lt;BR /&gt;SOURCE:     Hewlett-Packard Company&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OVERVIEW:&lt;BR /&gt;&lt;BR /&gt;This article contains example debugging information for the&lt;BR /&gt;TCPIP$METRICVIEW executable image, and the METRIC service.  Example steps&lt;BR /&gt;for observing and initiating the network message exchange, along with basic&lt;BR /&gt;trace analysis are included.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;INFORMATION:&lt;BR /&gt;&lt;BR /&gt;The METRIC service is used in conjunction with the LBROKER service to&lt;BR /&gt;obtain the service rating for nodes that are participating in the OpenVMS&lt;BR /&gt;cluster alias.  The image TCPIP$METRICVIEW.EXE can be used to obtain the&lt;BR /&gt;rating value of these nodes via the METRIC service.&lt;BR /&gt;&lt;BR /&gt;The example commands listed below start a TCPTRACE debugging session on&lt;BR /&gt;NODE_A, and logs responses from the nodes that are connected to a single&lt;BR /&gt;subnet, and to multiple subnets.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EXAMPLE NUMBER 1:&lt;BR /&gt;&lt;BR /&gt;The message exchange is initiated and trace information obtained.  There is&lt;BR /&gt;only one Ethernet controller defined  with the address 172.16.1.1 on the&lt;BR /&gt;OpenVMS host.  The IP multicast message is sent to the 172.16.1.255 address.&lt;BR /&gt;&lt;BR /&gt;     IP Addressing scheme:&lt;BR /&gt;     node_a.some.company.com 172.16.1.1&lt;BR /&gt;     node_b.some.company.com 172.16.1.2&lt;BR /&gt;     node_c.some.company.com 172.16.1.3&lt;BR /&gt;     node_d.some.company.com 172.16.1.4&lt;BR /&gt;&lt;BR /&gt;     NODE_A $ TCPIP SHOW SERVICE METRIC              ! Verify that the&lt;BR /&gt;                                                     ! metric service is&lt;BR /&gt;                                                     ! enabled&lt;BR /&gt;     Service         Port  Proto   Process          Address          State&lt;BR /&gt;&lt;BR /&gt;     METRIC          570  UDP      TCPIP$METRIC     0.0.0.0        Enabled&lt;BR /&gt;&lt;BR /&gt;     NODE_A $ CREATE TEST.COM                         ! Create command&lt;BR /&gt;     $ PIPE TCPTRACE/FULL/PORT=REMOTE=570/PACKET=15 - ! procedure to start&lt;BR /&gt;     | SEARCH/NUMBER SYS$PIPE ADDRESS                 ! tcptrace utility&lt;BR /&gt;     ^Z&lt;BR /&gt;&lt;BR /&gt;     NODE_A $ SPAWN/NOWAIT/NOTIFY @TEST.COM           ! Spawn subprocess&lt;BR /&gt;     %DCL-S-SPAWNED, process TEAM_70 spawned&lt;BR /&gt;&lt;BR /&gt;     NODE_A $ MCR TCPIP$METRICVIEW.EXE                ! Invoke image&lt;BR /&gt;         13     IP Source Address      = 172.16.1.1&lt;BR /&gt;         14     IP Destination Address = 172.16.1.255&lt;BR /&gt;&lt;BR /&gt;         32     IP Source Address      = 172.16.1.2&lt;BR /&gt;         33     IP Destination Address = 172.16.1.1&lt;BR /&gt;&lt;BR /&gt;         51     IP Source Address      = 172.16.1.3&lt;BR /&gt;         52     IP Destination Address = 172.16.1.1&lt;BR /&gt;&lt;BR /&gt;         70     IP Source Address      = 172.16.1.4&lt;BR /&gt;         71     IP Destination Address = 172.16.1.1&lt;BR /&gt;&lt;BR /&gt;         89     IP Source Address      = 172.16.1.1&lt;BR /&gt;         90     IP Destination Address = 172.16.1.1&lt;BR /&gt;&lt;BR /&gt;     Subprocess TEAM_70 has completed&lt;BR /&gt;     Host                                                    Rating&lt;BR /&gt;     ----                                                    ------&lt;BR /&gt;     172.16.1.2  node_b.some.company.com                     51&lt;BR /&gt;     172.16.1.3  node_c.some.company.com                     18&lt;BR /&gt;     172.16.1.4  node_d.some.company.com                     12&lt;BR /&gt;     172.16.1.1  node_a.some.company.com                     23&lt;BR /&gt;&lt;BR /&gt;Trace Analysis:&lt;BR /&gt;&lt;BR /&gt;Line 13: Source IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;Line 14: Destination IP Multicast address sent to the 172.16.1.0 subnet&lt;BR /&gt;&lt;BR /&gt;Line 32: Source IP address of node_b running the METRIC service&lt;BR /&gt;Line 33: Destination IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;Line 51: Source IP address of node_c running the METRIC service&lt;BR /&gt;Line 52: Destination IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;Line 70: Source IP address of node_d running the METRIC service&lt;BR /&gt;Line 71: Destination IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;Line 89: Source IP address of node_a running the METRIC service&lt;BR /&gt;Line 90: Destination IP address of node_a running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EXAMPLE NUMBER 2:&lt;BR /&gt;&lt;BR /&gt;The message exchange is initiated and trace information obtained.  There&lt;BR /&gt;two Ethernet controller defined with the addresses 172.16.1.1 and 10.1.1.1&lt;BR /&gt;on the OpenVMS host.  The IP multicast message is sent out the first&lt;BR /&gt;controller to the 172.16.1.255 address.  The only node output displayed is&lt;BR /&gt;the local node.&lt;BR /&gt;&lt;BR /&gt;     IP Addressing scheme:&lt;BR /&gt;     node_e.some.company.com 10.1.1.1&lt;BR /&gt;     node_f.some.company.com 10.1.1.2&lt;BR /&gt;&lt;BR /&gt;     NODE_E $ SPAWN/NOWAIT/NOTIFY @TEST.COM          ! Spawn subprocess&lt;BR /&gt;     %DCL-S-SPAWNED, process TEAM_70 spawned&lt;BR /&gt;&lt;BR /&gt;     NODE_E $ MCR TCPIP$METRICVIEW.EXE               ! Invoke image&lt;BR /&gt;     13   IP Source Address      = 172.16.1.1&lt;BR /&gt;     14   IP Destination Address = 172.16.1.255&lt;BR /&gt;&lt;BR /&gt;     32   IP Source Address      = 10.1.1.1&lt;BR /&gt;     33   IP Destination Address = 10.1.1.1&lt;BR /&gt;&lt;BR /&gt;     51   IP Source Address      = 10.1.1.2&lt;BR /&gt;     52   IP Destination Address = 10.1.1.1&lt;BR /&gt;&lt;BR /&gt;     ----                                                    ------&lt;BR /&gt;     10.1.1.1 node_e.some.company.com                         134&lt;BR /&gt;&lt;BR /&gt;Line 13: Source IP address of node_e running the TCPIP$METRICVIEW image&lt;BR /&gt;Line 14: Destination IP Multicast address sent to the 172.16.1.0 subnet&lt;BR /&gt;         TCPIP$METRICVIEW sends the multicast to the first controller&lt;BR /&gt;&lt;BR /&gt;Line 32: Source IP address of node_e running the METRIC service&lt;BR /&gt;Line 33: Destination IP address of node_e running the TCPIP$METRICVIEW image&lt;BR /&gt;&lt;BR /&gt;Line 51: Source IP address of node_f running the METRIC service&lt;BR /&gt;Line 52: Destination IP address of node_f running the TCPIP$METRICVIEW&lt;BR /&gt;         image  A detailed trace indicates that a different port number&lt;BR /&gt;         was used&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WORKAROUND:&lt;BR /&gt;&lt;BR /&gt;Use the "/HOST" switch and specify each node individually:&lt;BR /&gt;&lt;BR /&gt;     NODE_D $ MCR TCPIP$METRICVIEW.EXE/HOST=10.1.1.2&lt;BR /&gt;&lt;BR /&gt;     ----                                                    ------&lt;BR /&gt;     10.1.1.2 node_f.some.company.com                         132&lt;BR /&gt;&lt;BR /&gt;     NODE_D $ MCR TCPIP$METRICVIEW.EXE/HOST=10.1.1.1&lt;BR /&gt;&lt;BR /&gt;     ----                                                    ------&lt;BR /&gt;     10.1.1.1 node_e.some.company.com                         134&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2005 19:50:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-metric-usage/m-p/3460577#M31714</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-01-11T19:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP$METRIC usage</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-metric-usage/m-p/3460578#M31715</link>
      <description>funnily, but at my hosts (two-host cluster, HP TCP/IP Services for OpenVMS Alpha Version V5.4 on OpenVMS V7.3-2) call to&lt;BR /&gt;$ MCR TCPIP$METRICVIEW.EXE/HOST=aaa.aaa.aaa.1&lt;BR /&gt;or&lt;BR /&gt;$ MCR TCPIP$METRICVIEW.EXE/HOST=aaa.aaa.aaa.2&lt;BR /&gt;or&lt;BR /&gt;$ MCR TCPIP$METRICVIEW.EXE&lt;BR /&gt;are equal and always display:&lt;BR /&gt;Host                         Rating&lt;BR /&gt;----                         ------&lt;BR /&gt;aaa.aaa.aaa.1  node1           n1   aaa.aaa.aaa.2  node2           n2   &lt;BR /&gt;&lt;BR /&gt;BTW, usage of METRICVIEW is one of ways considered me before, but: external process executing, output redirect, string analyze...  :(&lt;BR /&gt;Are ports/datagrams sended in listed example is known/documented?&lt;BR /&gt;&lt;BR /&gt;PS. sorry my english  :)&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2005 03:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-metric-usage/m-p/3460578#M31715</guid>
      <dc:creator>Sergey Akimov</dc:creator>
      <dc:date>2005-01-12T03:18:21Z</dc:date>
    </item>
  </channel>
</rss>

