Table of Contents Index NMS Glossary Previous Page Next Page Version


Appendix B

Migration


Introduction
Summary of Changes
agmon vs. OAM
OAM Service Utilities
Configuration Files
ag2oam
Board Identification
Hot Swap Changes

IntroductionTop of Page

This appendix discusses migration from agmon to OAM.

Summary of ChangesTop of Page

OAM was introduced with CT Access 4.0. This section summarizes the changes incurred with the introduction of OAM:

agmon vs. OAMTop of Page

agmon is deprecated as of Natural Access 2000-1. A new CT Access service, OAM, provides all functionality formerly provided by agmon. OAM differs from agmon in the following major ways:

OAM Service UtilitiesTop of Page

The following utilities are supplied with OAM:
Utility

Description

oamsys

Mimics agmon's configuration and booting capabilities: configures the OAM database based on information supplied in configuration files, and then causes OAM to start all boards.

oamcfg

Provides access to individual OAM configuration functions. Can also read configuration files, to configure individual boards.

oammon

Mimics agmon's monitoring capabilities: it monitors boards for board-level errors and events.

oaminfo

Allows you to display and set OAM keywords. Can also search for text in keywords. For more information about oaminfo, refer to the OAM Service Developer's Reference Manual.

Configuration FilesTop of Page

With agmon, all information for all boards was specified in a single AG configuration file. With OAM utilities, a system configuration file contains a list of managed components in the system (boards or software modules, such as an EMC). For each managed component, a list is specified of parameters and values to configure that component. (Most of the parameters for boards are usually listed in separate keyword files referenced in the system configuration file.)

The syntax of these files is very different from the syntax of an AG configuration file. Parameters are still specified as keyword name/value pairs (for example, AutoStart = YES). However, struct keywords (containing multiple values) and array keywords (containing multiple indexed values) are now supported. These keywords are often specified using a special shorthand notation.

Keyword names have been made as consistent as possible across board families.

For more information about system configuration files, see Chapter 3. For more information about keyword files, see Section 3.4. For more information about OAM equivalents for specific AG configuration file keywords, refer to your board documentation.

ag2oamTop of Page

Included with the OAM software is a utility, ag2oam, which translates AG configuration files into system configuration files and keyword files which oamsys can process. To use ag2oam:

  1. Go through the AG configuration file, and determine the product type for each board number. For example, Board 0 = AG Quad T1; Board 1 = AG Quad T1; Board 2 = AG 4000C T1.

    
    
  2. Enter: ag2oam [options]

    
    where options are: 
    
    Option

    Description

    -c

    Causes ag2oam to duplicate in the output files any comments it finds in the original file. If this option is not specified, comment lines are omitted.

    -f filename

    Name (and path, if necessary) of AG configuration file to translate. Default is ag.cfg.

    If no path is specified, ag2oam searches first in the current directory, and then in the paths specified with the AGLOAD environment variable.

    -p[m[..n]=] product

    AG product type for board(s) m...n. This option can appear on the command line as many times as necessary. If you do not specify board numbers, the specified product types used for all boards.

    Section 6.3.1 describes how to get a list of valid values for product.

    Note: ISA boards are not supported, since they are not supported by OAM.

    -?

    Causes ag2oam to display its help screen, and terminate.

    -h

    Causes ag2oam to display its help screen, and terminate.

For example, with the configuration listed in step 1 above, you would enter:

ag2oam -f myfile.cfg -p0..1=AG_Quad_T1 -p2=AG_4000C_T1

If the operation is successful, ag2oam returns without a message. ag2oam outputs the following files, in the same path as the source file:

Board IdentificationTop of Page

Previously, the board number was the only way of identifying a board in software. This number was assigned in the AG configuration file. With the OAM service, boards are also identified by board names. The board name for a board is assigned when the managed object is first created in the OAM database for the board. You can specify the name of a board in the system configuration file you supply to oamsys (see Chapter 3).

Names are also used for other types of managed objects, such as extended management components (EMCs), board plug-ins, and the OAM Supervisor itself. For details, see Chapter 1.

Most NMS API software still requires board numbers. Within OAM, boards are still assigned unique board numbers, and you can still use this method to identify them in software. Within the OAM service, you can also identify a board using its location (bus and slot), as well as with other information. For details, see Section 1.4.2.

Hot Swap ChangesTop of Page

Previously, the Hot Swap interface to CT Access was implemented as a CT Access service (the HSI service). This interface is now implemented as an OAM extended management component (EMC). Changes to the API made as a result of the OAM implementation are listed below. For details, refer to the OAM Service Developer's Reference Manual.



Table of Contents Index NMS Glossary Previous Page Next Page Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.