home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / nmaux1.exe / SUN / SUNMIB.TXT < prev   
Text File  |  1995-11-08  |  11KB  |  250 lines

  1. SUNMIB.TXT
  2.  8Nov95
  3.  
  4. SunNet Manager (SNM) 
  5. --------------------
  6. SunNetManager 2.2.2 for Solaris 1.1.1
  7. Platform: SunSPARC station, IPX
  8.  
  9. Installing the NetWare Management Agent MIBs contained in this directory,
  10. on the SunNet Manager console, will provide the ability to capture and
  11. display real-time server performance data and information about server
  12. alarms.  The SunNet Manager console provides the capability to manage
  13. network performance by providing several ways to track and collect
  14. performance information for objects on the network.
  15.  
  16. To manage a server with SunNetManager; SNMP, IP, and ManageWise 2.0 or
  17. NetWare Management Agent 2.1 must be running on the server being managed,
  18. and one or more of the MIBs from this directory must be loaded on the
  19. OpenView console.
  20.  
  21. This document contains 3 sections.
  22. A. Overview
  23. B. Installation Instructions
  24. C. Use Instructions
  25.  
  26. A. SunNet Manager (SNM) An Overview
  27. -----------------------------------
  28. SunNet Manager, v2.2.2 for Solaris 1.1.1, is an OpenWindows application
  29. using the OPEN LOOK graphical user interface.  
  30. SNM provides a set of tools and services which allow the  user to perform
  31. fundamental tasks in managing a network.  
  32.  
  33. SunNet Manager communicates with devices on the network via Proxy Agents
  34. which are used to transmit and/or gather information pertaining to devices
  35. on the network.  The SunNet Manager Console communicates via the Remote
  36. Procedure Call (RPC) protocol to an SNMP proxy agent in order to gather NMA
  37. data from a NetWare Server.  The SNMP proxy agent translates the RPC
  38. protocol data request into an SNMP protocol request which is sent  to a 
  39. specific device (NetWare Server).  The data is returned from the NetWare
  40. Server via the same path.
  41.  
  42.   SunNet Manager Console 
  43.  (NMA Information request)
  44.          |      ^
  45.          v      |
  46.        RPC protocol 
  47.          |      ^
  48.          v      | 
  49.       SNMP proxy agent 
  50.          |      ^
  51.          v      |
  52.    Novell NetWare Server
  53.  
  54. The trap daemon can be configured to forward some or all traps to one or
  55. more SNM Console.  The SNMP device issuing the traps must be configured to
  56. send traps to the host where trap daemon resides.  The trap daemon need not
  57. reside on the SNMP proxy agent system or the Console system, it can be
  58. distributed on a network to reduce network traffic and to share the
  59. processing load.
  60.  
  61. SunNet Manager Console 
  62. (NMA Trap Information)
  63.          ^
  64.          |
  65.    Event Dispatcher
  66.     (RPC protocol) 
  67.          ^
  68.          | 
  69.   SNMP Trap Daemon 
  70.          ^
  71.          |
  72.  Novell NetWare Server
  73.     (NMA Agent)
  74.  
  75.  
  76.  
  77. B. Installation
  78. ---------------
  79. Use the NMA 2.1 MIBS in this directory of NMAUX1.EXE, in order to be able
  80. to compile and load the MIBs on the SunNet Manager Console.
  81.  
  82. Use these MIBs on the SunNet Manager, in order to integrate non-Sun SNMP
  83. devices into the SNM management database, with the following steps:
  84.  
  85. B. Create an NMA MIB Schema file
  86. Create a SNM schema file for each of the NMA MIBs using the MIB2SCHEMA
  87. tool provided by SNM ... SunNet Manager uses schema files to describe the
  88. attributes of a managed object.
  89.  
  90. B1. Place the NMA MIBs at the following location: /USR/SNM/AGENTS 
  91.  
  92. B2. At the shell command line enter:
  93. /usr/snm/bin/mib2schema [input NMAfile.mib] [output NMAfile.schema]    
  94.  
  95. If all goes well the following files will be created:
  96.      NMAfile.schema
  97.      NMAfile.mib.oid
  98.      NMAfile.mib.traps  (This file will be created only if there are
  99.      traps in the MIB being compiled).  
  100. Otherwise a list of compilation errors will display in the shell window.
  101.  
  102. B3. Load each of the NMA schema files in order to access NMA data via the
  103. SunNet Manager.
  104.  
  105.      (a) Open the  SunNet Manager console.
  106.      At the shell command line:  usr/snm/bin/snm [-I]     
  107.      (Use the -I command line argument when the database is to be
  108.      initialized.  You will be queried as to whether to create a BasicStart
  109.      empty management database or a HeadStart management database which
  110.      contains several nodes on your local network which enables you to use
  111.      SunNetManager right away.)
  112.  
  113.      (b) Load the NMA MIB schemas.
  114.      If the snm -I command line option was chosen, the NMA schema files
  115.      located in the \snm\agents directory will be loaded automatically by
  116.      SNM console. 
  117.      If you are using an existing management database, you must load the
  118.      NMA schema files individually. 
  119.  
  120.      (c) Select from the SNM menu File > Load > Predefined ; a dialogue box
  121.      will appear.
  122.  
  123.      (d) Traverse the directories to the /snm/agents directory, select the
  124.      NMAfile.schema file you wish to access and click the Load button.
  125.  
  126.      (e) If all went well, a status line at the bottom of the SNM console
  127.      window will indicate that the schema was successfully loaded,
  128.      otherwise, the status will indicate that errors were encountered which
  129.      will be enumerated in an error file.  
  130.      The error file can be accessed via the menu View > Error Report.
  131.  
  132. C. Use Instructions
  133. -------------------
  134. C1. To Gather NMA Data via SunNet Manager Console
  135. Select a NetWare Server object with NMA installed and configured from a SNM
  136. Console map.  This server could be among the objects discovered by the SNM
  137. discovery process, or can be created using the SNM console's graphical
  138. editor.
  139.  
  140.      (a) Create a NetWare Server object by selecting the menu bar Edit >
  141.      Create, a creation dialogue will appear.  
  142.  
  143.      (b) Select Server from the list of object types and click the Create
  144.      button.  A configuration menu will appear; follow the steps for
  145.      configuring an object.
  146.  
  147.      (c) Configure the NetWare Server object if necessary.  Select the
  148.      object to be configured, select the menu bar Properties... item, a
  149.      configuration dialogue will appear.  Insert a name and address for the
  150.      object, select the NMA schema files, and click the Apply button.
  151.  
  152. C2. Gathering NMA MIB data can be accomplished in various ways.
  153.  
  154. > Quick Dump via the glyph menu
  155.      (a) Place the cursor over the server glyph (icon) and click the right
  156.      mouse button.  A menu which pertains to the functions available for
  157.      the selected glyph will appear. 
  158.      (b) Move the mouse cursor over the Quick Dump menu item and click the
  159.      right mouse button.  A sub-menu of schema's pertaining to the server
  160.      will appear.  
  161.      (c) Select the desired schema with the right mouse button, and another
  162.      sub-menu of the schema's (MIB's) objects will appear.  
  163.      (d) Place the cursor over the object for which you wish to gather data
  164.      and click either the right or left mouse button and a table containing
  165.      the data from the specified server object will appear.
  166.  
  167. > The SNM Console's Request menu bar item can also display a sub-menu
  168. containing the Quick Dump series of sub-menus described above.
  169.  
  170. > Set Request via SNM Console's glyph menu
  171.      (a) Place the cursor over the server glyph (icon) and click the right
  172.      mouse button.  A menu which pertains to the functions available for
  173.      the selected glyph will appear. 
  174.  
  175.      (b) Move the mouse cursor over the Set Request menu item and click the
  176.      right mouse button.  A sub-menu of schemas pertaining to the server
  177.      will appear.  
  178.  
  179.      (c) Select the desired schema with the right mouse button, and another
  180.      sub-menu of the schemas (MIBs) objects will appear.  
  181.      (d) Place the cursor over the object for which you wish to gather data
  182.      and click either the right or left mouse button.
  183.      Instead of immediately supplying the data for the selected MIB object,
  184.      a dialog appears allowing the user to select either a Get or Set
  185.      button.  This manner of retrieving MIB data will gather only the first
  186.      row of a table, or whichever key row was specified in the dialog, or
  187.      in the case of a group the entire group information will be retrieved.
  188.  
  189. C3. To Set NMA MIB Objects via SNM Console
  190.  
  191.      (a) Place the cursor over the server glyph (icon) and click the right
  192.      mouse button.  A menu which pertains to the functions available for
  193.      the selected glyph will appear. 
  194.  
  195.      (b) Move the mouse cursor over the Set Request menu item and click the
  196.      right mouse button.  A sub-menu of schemas pertaining to the server
  197.      will appear.  
  198.      
  199.      (c) Select the desired schema with the right mouse button, and another
  200.      sub-menu of the schemas (MIBs) objects will appear.  
  201.  
  202.      (d) Place the cursor over the object for which you wish to gather data
  203.      and click either the right or left mouse button.
  204.      Instead of immediately supplying the data for the selected MIB object,
  205.      a dialog box appears allowing the user to select either a Get or Set
  206.      button.  This manner of retrieving MIB data will gather only the first
  207.      row of a table, or whichever key row was specified in the dialog, or
  208.      in the case of a group the entire group information will be retrieved.
  209.      If you wish to set an item in a particular row, enter the index key
  210.      information in the dialog and the value for the attribute you wish to
  211.      set.  Once all settable items (indicated by a blank line in the New
  212.      Value column) have been entered and the enter key pressed, the items
  213.      to be set will appear in the Set Information section of the dialog. 
  214.      The Set button can now be clicked to issue the SNMP Set Request.  If
  215.      the set is successfully accomplished, a status line will appear at the
  216.      bottom of the dialog indicating successful completion.
  217.  
  218. C4. To Forward NMA Trap Alarms from the NetWare Server to the SunNet
  219. Manager Console 
  220.  
  221. The MIB2SCHEMA utility, as described above, produces files with the
  222. extensions; *.schema, *.oid, *.traps.
  223.  
  224.      (a) Run the BUILD_OID utility.  This will update the object identifier
  225.      database with the information from the *.OID files.
  226.  
  227.      hostname#  <SNMP_path>/bin/build_oid
  228.  
  229.      (b) Append the nwalarm.mib.traps and the nwtrend.mib.traps files to
  230.      the default trap file.  
  231.      The default trap file location is specified in the /usr/snm/snm.conf
  232.      file, as the na.snmp-trap.default-trapfile.
  233.  
  234.      hostname# cat  <SNM_path>/agents/nwalarm.mib.oid >>
  235.      /var/adm/snm/snmp.traps
  236.  
  237.      hostname# cat  <SNM_path>/agents/nwtrend.mib.oid >>
  238.      /var/adm/snm/snmp.traps
  239.  
  240.      (c) TRAPTAG.CFG is in the SYS:ETC\ directory of the NetWare Server. 
  241.      TRAPTARG.ETC allows the user to define recipients to receive SNMP
  242.      traps over IPX and UDP. 
  243.      Edit the Protocol UDP section of TRAPTARG.CFG by adding the SunNet
  244.      Manager's IP Address.  
  245.  
  246. -----------------------------------------------------------------
  247. Any trademarks referenced in this document are the property of their
  248. respective owners.  Consult your product manuals for complete trademark
  249. information.
  250. -----------------------------------------------------------------