home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / NOVELL / AN101B.ZIP / AN101B.TXT
Encoding:
Text File  |  1991-02-15  |  12.3 KB  |  315 lines

  1. OVERVIEW: LANalyzer Applications for NetWare File Server Access
  2. Characterization On a Locally Attached Network Segment
  3.  
  4. Ron Lee
  5. Senior Consultant
  6. Systems Engineering Division
  7.  
  8. Abstract:
  9.  
  10.      The LANalyzer applications described herein allow the network
  11.      administrator to characterize the workload of both servers and
  12.      workstations on a local area network. Four network management
  13.      applications are included.
  14.  
  15. Disclaimer
  16.  
  17.      Novell, Inc. makes no representations or warranties with respect to
  18.      the contents or use of these Application Notes (AppNotes) or of any of
  19.      the third-party products discussed in the AppNotes. Novell reserves
  20.      the right to revise these AppNotes and to make changes in their
  21.      content at any time, without obligation to notify any person or entity
  22.      of such revisions or changes. These AppNotes do not constitute an
  23.      endorsement of the third-party product or products that were tested.
  24.      Configuration(s) tested or described may or may not be the only
  25.      available solution. Any test is not a determination of product quality
  26.      or correctness, nor does it ensure compliance with any federal, state
  27.      or local requirements. Novell does not warranty products except as
  28.      stated in applicable Novell product warranties or license agreements.
  29.  
  30.      Copyright { 1991 by Novell, Inc., Provo, Utah. All rights reserved.
  31.  
  32.      As a means of promoting NetWare AppNotes, Novell grants you without
  33.      charge the right to reproduce, distribute and use copies of the
  34.      AppNotes, provided you do not receive any payment, commercial benefit
  35.      or other consideration for the reproduction or distribution, or change
  36.      any copyright notices appearing on or in the document.
  37.  
  38. Introduction
  39.  
  40.      The OVERVIEW filters collect eight different kinds of NetWare Core
  41.      Protocol (NCP) file service requests on the locally attached network
  42.      segment.
  43.  
  44.      Information gathered during this test provides interesting insights
  45.      into the use of NetWare file servers. Although the test's default
  46.      filter settings are configured to capture all file service requests on
  47.      the locally attached network segment, the test can easily be altered
  48.      to capture requests addressed to a specific server or requests
  49.      transmitted by a specific workstation.
  50.  
  51.      Data gathered by OVERVIEW provides an accurate assessment of the
  52.      various levels of file server use. With the gathered information, the
  53.      network manager can keep a utilization history for each NetWare
  54.      server.
  55.  
  56.      OVERVIEW is a Novell LANalyzer application, included with LANalyzer
  57.      v3.0 that began shipping in 1990. The applications described in this
  58.      AppNote are derivatives of the default OVERVIEW application.
  59.  
  60. How It Works
  61.  
  62.      Novell's NetWare Core Protocol (NCP) is the remote procedure call
  63.      language that NetWare workstation shells use to communicate with
  64.      NetWare file servers. Some other tightly integrated products, such as
  65.      NetWare Loadable Modules (NLMs) also use the NCP when communicating
  66.      with NetWare servers.
  67.  
  68.      With the exception of peer-to-peer traffic, routing traffic (RIP), and
  69.      broadcast messages, the majority of NetWare traffic is made up of
  70.      request and response messages encoded in NCP primitives.
  71.  
  72.      When an application residing at a workstation initiates a DOS Open
  73.      File operation (3Dh), for example, the NetWare shell intercepts the
  74.      request and translates it into an NCP request. The new NCP request is
  75.      built from information in the DOS request and forwarded to the file
  76.      server. The server then processes the request and sends a response
  77.      back to the workstation. Finally, the workstation shell receives the
  78.      response and passes any completion codes and data back to the
  79.      application.
  80.  
  81.      OVERVIEW captures selected NCP requests as they travel from
  82.      workstations to the destination server. The default OVERVIEW test is
  83.      configured with source and destination addresses set to "don't care"
  84.      to capture all server-related traffic. However, by setting the source
  85.      or destination address to known workstations or servers, the server-
  86.      related traffic originating from or destined to a specific set of
  87.      nodes may be examined.
  88.  
  89. Operating instructions
  90.  
  91.      Before using the OVERVIEW default application or derivatives,
  92.      determine whether the target network is configured for Ethernet II
  93.      (the ECONFIG configuration) or 802.3 (the standard NetWare
  94.      configuration). If you don't know how the network is configured, use
  95.      the LANalyzer application NETVIEW to determine the kind of packets
  96.      being broadcast on the wire and the packet type configuration.
  97.  
  98.      : NETVIEW Run Rate Screen
  99.  
  100.      If NETVIEW captures ECONFIG packets (as in ), then select the ECONFIG
  101.      LANalyzer application suite for NetWare. If NETVIEW captures only
  102.      802.3 packets, then select the 802.3 LANalyzer application suite for
  103.      NetWare.
  104.  
  105.      Select OVERVIEW to run or edit the OVERVIEW application.
  106.  
  107. Receive Channels
  108.  
  109.      : OVERVIEW Receive Channels, Triggers and Controls Edit Screen
  110.  
  111. Receive Channel 1: Requests
  112.  
  113.      : Receive Channel 1 - Requests Setup Pattern Screen
  114.  
  115.      Requests Filter: All NetWare Core Protocol (NCP) Requests
  116.           (template = NetWare)
  117.           Request Type = 2222
  118.  
  119.      This NCP request filter captures all NetWare workstation file service
  120.      requests except two: Create Service Connection and Destroy Service
  121.      Connection. All others have their request type set to 0x2222. (The
  122.      Create Service Connection and Destroy Service Connection NCP requests
  123.      are not captured during this test. Their presence, however, is
  124.      reflected in the Login Receive Channel 3).
  125.  
  126. Receive Channel 2: Replies
  127.  
  128.      : Receive Channel 2 - Replies Setup Pattern Screen
  129.  
  130.      Replies Filter: NetWare Core Protocol (NCP) Write To A File
  131.           (template = NetWare)
  132.           Reply Type = 3333
  133.  
  134.      This NCP reply filter captures all NetWare file server service replies
  135.      except one: Request Being Processed. All others have their reply type
  136.      set to 0x3333. (The Request Being Processed NCP reply is captured with
  137.      receive channel five).
  138.  
  139. Receive Channel 3: LoginOut
  140.  
  141.      : Receive Channel 3 - LoginOut Setup Pattern Screen
  142.  
  143.      Logout Filter: NetWare Core Protocol (NCP) Logout
  144.           (template = NetWare)
  145.           Request Type = 2222
  146.           Function Code = 25
  147.  
  148.      This NCP request allows a client to relinquish its current server
  149.      access privileges without breaking its service connection.
  150.  
  151.      LoginObj Filter: NetWare Core Protocol (NCP) Login Object
  152.           (template = NetWare)
  153.           Request Type = 2222
  154.           Function Code = 20
  155.  
  156.      This NCP request allows a client to identify itself to the file server
  157.      and thereby gain rights to access certain directories within the file
  158.      server.
  159.  
  160. Receive Channel 4: Delays
  161.  
  162.      : Receive Channel 4 - Delays Setup Pattern Screen
  163.  
  164.      Delays Filter: NetWare Core Protocol (NCP) Request Being Processed
  165.           (template = NetWare)
  166.           Reply Type = 9999
  167.  
  168.      The file server returns this message when it receives a duplicate
  169.      service request while the original request is still being processed.
  170.  
  171. Receive Channel 5: Messages
  172.  
  173.      : Receive Channel 5 - Messages Setup Pattern Screen
  174.  
  175.      Messages Filter:  All NetWare Core Protocol (NCP) Message requests
  176.           (template = NetWare)
  177.           Request Type = 2222
  178.           Function Code = 21
  179.  
  180.      This filter captures all NCP requests that make up the file server's
  181.      message services.
  182.  
  183. Receive Channel 6: Queues
  184.  
  185.      : Receive Channel 6 - Queues
  186.  
  187.      Queues Filter: All NetWare Core Protocol (NCP) Queue requests
  188.           (template = NetWare)
  189.           Request Type = 2222
  190.           Function Code = 17
  191.  
  192.      This filter captures all NCP requests that make up the file server's
  193.      queue services.
  194.  
  195. Receive Channel 7: TTS
  196.  
  197.      : Receive Channel 7 - TTS Setup Pattern Screen
  198.  
  199.      TTS Filter: All NetWare Core Protocol (NCP) TTS requests
  200.           (template = NetWare)
  201.           Request Type = 2222
  202.           Function Code = 34
  203.  
  204.      This filter captures all NCP requests that make up the file server's
  205.      TTS services.
  206.  
  207. Receive Channel 8: NetWare
  208.  
  209.      : Receive Channel 8 - NetWare
  210.  
  211.      NetWare Filter: NetWare Core Protocol (NCP) Directory Requests
  212.           (template = NetWare)
  213.           Request Type = 2222
  214.           Function Code = 22
  215.  
  216. Transmit Channels
  217.  
  218.      No transmit channels are defined or active during this application.
  219.  
  220. Applications
  221.  
  222. Application 1: Segment Characterization
  223.  
  224.      This application characterizes network server access (default).
  225.  
  226.      1.   Load and run the default OVERVIEW application.
  227.  
  228.      2.   At the Run Rate Screen, the channel packet counters provide the
  229.           total number of NCP service requests and responses broken down by
  230.           type.
  231.  
  232.      3.   If the test is run for a specified amount of time and started at
  233.           the same time each day, using the LANalyzer's start and stop
  234.           triggers, then the gathered data can be compared and contrasted.
  235.  
  236. Application 2: Single Server Characterization
  237.  
  238.      This application characterizes network server access by server.
  239.  
  240.      1.   Load the default OVERVIEW test.
  241.  
  242.      2.   In the RECEIVE CHANNEL "dest" pattern, set the Ethernet
  243.           Destination address to the desired target Ethernet address of a
  244.           known NetWare file server. For example, to capture file requests
  245.           addressed to NetWare server NCS with the Ethernet address
  246.           00001B02127A, set the filter as follows:
  247.  
  248.                Dst
  249.           Station 00 00 AB 02 12 7A <---- XX XX XX XX XX XX
  250.  
  251.      3.   In the RECEIVE CHANNEL "src" pattern, set the Ethernet Source
  252.           address to the desired target Ethernet address of the same known
  253.           NetWare file server as in step 2. For example, to capture service
  254.           replies transmitted from NetWare server NCS with the Ethernet
  255.           address 00001B02127A, set the filter as follows:
  256.  
  257.                Src
  258.           Station 00 00 AB 02 12 7A ----> XX XX XX XX XX XX
  259.  
  260.      4.   Run the OVERVIEW test.
  261.  
  262.      5.   The test results will reflect all filtered file service requests
  263.           and responses addressed to and from the destination server.
  264.  
  265. Application 3: Workstation Characterization
  266.  
  267.      This application characterize network server access by workstation.
  268.  
  269.      1.   Load the default OVERVIEW test.
  270.  
  271.      2.   In the RECEIVE CHANNEL "dest" pattern, set the Ethernet
  272.           Destination address to the desired target Ethernet address of a
  273.           known NetWare file server. For example, to capture file requests
  274.           addressed from workstation 00001B02127B to NetWare server NCS
  275.           with the Ethernet address 00001B02127A, set the filter as
  276.           follows:
  277.  
  278.                Dst
  279.           Station 00 00 1B 02 12 7B <---- 00 00 1B 02 12 7A
  280.  
  281.      3.   In the RECEIVE CHANNEL "src" pattern, set the Ethernet Source
  282.           address to the desired Ethernet addresses of the same known
  283.           NetWare file server and workstation as in step 2. For example, to
  284.           capture service replies transmitted from NetWare server NCS with
  285.           the Ethernet address 00001B02127A to the target workstation
  286.           00001B02127B, set the filter as follows:
  287.  
  288.                Src
  289.           Station 00 00 1B 02 12 7B ----> 00 00 1B 02 12 7A
  290.  
  291.      4.   Run the OVERVIEW test.
  292.  
  293.      5.   The test results will reflect all filtered file service requests
  294.           and responses addressed to and from the target workstation.
  295.  
  296. Application 4: Server Workload Analysis
  297.  
  298.      This application determines the number of delay packets observed
  299.      during a given time period.
  300.  
  301.      1.   Load the default OVERVIEW test.
  302.  
  303.      2.   In the RECEIVE CHANNEL "dest" pattern, set the Ethernet
  304.           Destination address to the desired target Ethernet address of a
  305.           known NetWare file server (see Application 2).
  306.  
  307.      3.   Run the OVERVIEW test.
  308.  
  309.      4.   At the Run Rate Screen, the delay channel packet counter provides
  310.           the total number of NCP Request Being Processed replies.
  311.  
  312. Editor's Note: The author accepts written feedback at FAX (801) 429-5511.
  313.  
  314.  
  315.