ITEM: AT8920

NetView - Database Information and Diagnostic Tools


Question:

> I there a list/summary of all NV utilities and a short description of
  each [?]

Included below is a document that you can use to learn "the bare minimum"
about the different databases and their related utilities.  It gives basic
information about which information is stored in which database,
which daemon or application manages the database, which utilities can
be used to view the databases, and which utilities are used to "clean
up" these databases.

You may use this as a starting point, and then get more information from
the man pages, on-line help, and paper manuals that give more details.

****************************************************************************
                            NetView for AIX
                          Database Information
                                  and
                            Diagnostic Tools

The following document gives information about the four main NetView
for AIX databases.  It also discusses utilities used to view those
databases, and it describes utilities used to clean up and modify
those databases.

This document was intended as a quick reference sheet.  For more detailed
information, please consult one of the NetView for AIX manuals, or the
man pages for specific information on a particular daemon or utility.

****************************************************************************

Map Database:

  Information that corresponds to how maps, submaps, and symbols are
  presented and stored in the map database.  This would include things
  like colors of symbols and their placement on submaps and maps.

Object Database:

  The object database is usually used to store global information about
  specific network entities.  An "object" is nothing more than a
  collection of fields that describe a network entity's capabilities
  and structure.  Objects can be shared by different maps, and different
  applications.

IP Topology Database:

  The IP topology database has additional information on IP objects
  only.  In general, only netmon and ipmap modify and use the
  information stored in the IP topology database.

General Topology Database:

  The General Topology database is used to store additional information
  on non-IP objects.

****************************************************************************

Databases, Daemons, and Viewing Utilities:

For each database, there is a daemon that manages it.  And for all of the
databases except the General Topology database, there is a utility that
can be used to dump the database information to the screen or a file.

Database       Managing   Viewing
Name           Process    Utility
--------------+----------+----------
Map            ovw        ovmapdump
Database

Object         ovwdb      ovobjprint
Database

IP Topology    ovtopmd    ovtopodump
Database

General        gtm        *none*
Topology
Database

****************************************************************************

Database Viewing Utilities:

You can dump the contents of the databases to the screen (or redirect
it to a file) using the database viewing utilities.

The following summarizes some of the more popular uses of the utilities:

ovmapdump:

  This is used to dump out the contents of the map database.  You can
  dump the contents one map at a time.

  * To dump the contents of a particular map, type "ovmapdump -m \"
    Ex: ovmapdump -m default

  * For verbose output, specify a "-v" option as well.

ovobjprint:

  This is used to dump out the contents of the Object Database.

  * To print the entire database, type "ovobjprint"

  * To dump a specific object, type "ovobjprint -s \"
    Ex: ovobjprint -s 9.67.111.235

  * To get summary information, type "ovobjprint -S".  This is nice
    when trying to determine how many objects are in the object database.

ovtopodump:

  This is used to dump out the contents of the IP Topology database:

  * To print out the entire database, type "ovtopodump -r"

  * For a verbose listing of the entire database, type "ovtopodump -rl"

  * To print out a specific object, type "ovtopodump -rl \"
    or "ovtopodump -rl \"

  * For summary information, type "ovtopodump -l"

****************************************************************************

Database Cleanup Utilities:

Database cleanup utilities can be used for to remove inconsistencies
between the databases, and they can be used to reduce the disk space
that the databases occupy.  The following describes the various
utilities at your disposal.

ovmapcount:

  ovmapcount fixes inconsistencies between the Object Database and
  the Map Database.  The user interface should be down before running
  this utility, and netmon should be stopped.

  To check everything, you should run "ovmapcount -a" (if you have a
  backlevel system, you may have to run "ovmapcount -uv" instead).

ovtopofix:

  ovtopofix fixes differences between the Object Database and the IP
  Topology database.  The user interface should be down before running
  this utility, and netmon should be stopped.  For best results,
  ovmapcount should usually be run before running ovtopofix.

  To check everything, you should run "ovtopofix -A" if you have
  Version 3 and only one map.  If you have Version 2, or if you have
  Version 3 and multiple maps, you should run "ovtopofix -a"

  If you have symbols on a map whose status doesn't seem to match
  the status of the objects in the IP topology database, it is
  sometimes helpful to run "ovtopofix -U" or "ovtopofix -u".  These
  two commands force ipmap to re-evalutate all symbols' status
  the next time the map is opened with the user interface.

  To compress the IP topology database, type "ovtopofix -Cv"
  You must stop netmon and ovtopmd before running the compression
  option.

ovwdbdmap (V3 only, U436308 PTF or later):

  ovwdbdmap can be used to compress the Object database.  This utility,
  when run, stops all of the daemons, so bring the user interface down
  before running it.  In addition, when you run the utility it will ask
  you if you are sure you want to continue.  You must respond by typing
  "yes" (not "y") or it will not run.

  To compress the Object database, type "ovwdbdmap -c"


Support Line: NetView - Database Information and Diagnostic Tools ITEM: AT8920
Dated: January 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:25
Comments or suggestions? Contact us