Table of Contents Index NMS Glossary Previous Page Next Page Version


Chapter 3

Configuring the Board


3.1 Introduction
3.2 Referencing the QX Managers for CT Access
3.3 Adding QX Configurations to the OAM Database
3.4 Configuring the System Using oamsys
3.4.1 Board Keyword Files
Sample Board Keyword File
Specifying Configuration File Locations
3.4.2 Creating a System Configuration File for oamsys
Sample System Configuration File
3.4.3 Launching oamsys
3.5 Changing Configuration Parameter Settings

3.1 IntroductionTop of Page

This chapter describes how to configure and start your QX boards, once the software is installed. This chapter includes:

3.2 Referencing the QX Managers for CT AccessTop of Page

For the QX manager component to be available to the CT Access server when it boots, it must be referenced in your CT Access configuration file, cta.cfg. To add the reference:

  1. Stop the CT Access server (ctdaemon).

    
    The CT Access server is automatically installed during a standard NMS installation, and is configured to start at boot-up time. You can stop it in either of the following ways:
    • Access a command prompt, and enter net stop ctdaemon

      
      
    • In the Windows Control Panel, double-click on Services, and stop the CT Access server within this applet.

      
      
    • Edit the \nms\ctaccess\cfg\cta.cfg file, and add the QX managers under the [ctasys] heading, as shown in boldface below:

      [ctasys]
      Service = adi, adimgr
      Service = ncc, qdimgr
      Service = adi, qdimgr
      Service = ppx, ppxmgr
      Service = swi, swimgr
      Service = vce, vcemgr
      Service = oam, oammgr
      Service = fxm, qdimgr # Add this line only if you will use
      # NaturalFax with QX 2000 boards
      Service = nfx, nfxmgr # Add this line only if using NaturalFax
      Service = fax, faxmgr # Add this line only if using NaturalFax
    • Restart ctdaemon. You can start it in either of the following ways:

      • Access a command prompt, and enter net start ctdaemon

        
        
      • In the Windows Control Panel, double-click on Services, and start the CT Access server within this applet.

      For more information about cta.cfg and its contents, refer to the CT Access Developer's Reference Manual.

      3.3 Adding QX Configurations to the OAM DatabaseTop of Page

      For the OAM software to be able to configure and start the boards, each board must have a separate set of configuration parameters and values in the OAM database. Each parameter and value is expressed as a keyword name/value pair (for example, Xlaw = MU_LAW).

      The following utilities shipped with OAM allow you to set up the database:
      Utility

      Description

      oamsys

      Performs system-wide configuration and startup of boards. Configures the OAM database based on system configuration files you supply. Then attempts to start all boards listed in the database.

      oamcfg

      Provides greater access to individual OAM configuration functions. For more information about this utility, refer to the OAM System User's Manual.

      oaminfo

      Displays keywords and settings for one or more components. Can also set individual keywords. For more information about this utility, refer to the OAM System User's Manual.

      Note: An application can control OAM programmatically, using the OAM service API. For more information, refer to the OAM Service Developer's Reference Manual.

      For general documentation of OAM utilities, refer to the OAM System User's Manual.

      3.4 Configuring the System Using oamsysTop of Page

      To configure a system using the oamsys utility:

      1. Install your boards and software as described in Chapter 2.

        
        
      2. Determine the PCI bus and slot locations of the boards, using the pciscan utility. The pciscan utility identifies the NMS PCI boards installed in the system, and returns each board's bus, slot, interrupt, and board type.

        
        For more information about pciscan, refer to the OAM System User's Manual.
      3. Create a board keyword file for each board, containing keywords and values to configure the board.

        
        Sample board keyword files are supplied, which you can copy and modify as needed.  You can use the same board keyword file for multiple boards, if the boards' configurations are identical.
      4. Create a system configuration file describing the overall board configuration. In this file, give each board a unique name and board number, and assign it a board keyword file.

        
        
      5. Use oamsys to create records for your boards in the OAM database based on the system configuration file, and to start all installed boards.

      3.4.1 Board Keyword FilesTop of Page

      A board keyword file contains a list of parameters and values to configure a board. The board keyword file for each board is assigned to the board in another file, called a system configuration file. When oamsys runs, it creates a record for each board in the OAM database, and stores the parameters and values of the board. It then starts the board, configured as described in the database. (See Figure 15.)


      chap3a.gif

      Figure 15. OAM Configuration Files

      
      
      A sample set of board keyword files are installed by the QX 2000 installation. The files differ, depending upon:

      The files are located in the nms\qx\ctry\xxx directory. xxx is the three-letter country code of the target country. For example, the code for the United States is usa. Thus the files for the United States are in nms\qx\ctry\usa.

      In each country-specific directory xxx, the following files appear:
      File

      Description

      qx2k1004l.cfg

      Sample configuration file for QX 2000/100-4L boards, specific to country xxx

      qx2k804l.cfg

      Sample configuration file for QX 2000/80-4L boards, specific to country xxx

      For information on specific QX keywords, refer to Chapter 8. For general information about board keyword files, refer to the OAM System User's Manual.

      Sample Board Keyword FileTop of Page

      The q2k1004L.cfg file shown below is an example keyword configuration file. It shows the set of configuration keywords necessary to configure and start a QX 2000/100-4L board in the USA. This file can be found in \mms\qx\ctry\usa:

      # QX  2000/100-4L boards : OAM QX plugin default parameter file for 
      # United States
        FPGA.ConfigFile                            = q422.hex
        NetworkInterface.Analog.ConfigFile[0]      = q4usals6.slc
        DSP.C5x[0].Image                           = qx100.dsp
        Clocking.HBus.ClockMode                    = MASTER_A
        Clocking.HBus.ClockSource                  = OSC
        Xlaw                                       = MU-LAW
        BootDiagnosticLevel                        = 1
      

      Specifying Configuration File LocationsTop of Page

      Files to be downloaded on the QX boards are specified with keywords in the QX board keyword file. For example:

      NetworkInterface.Analog.ConfigFile[0] = filename

      If filename contains a path specification, OAM searches for the file in the specified directory. Otherwise, OAM searches for the file in the current working directory of ctdaemon. If the file does not exist in this current working directory, OAM searches for the file in the load_directory defined by the QXLOAD environment variable.

      3.4.2 Creating a System Configuration File for oamsysTop of Page

      When your board keyword file(s) are complete, create a system configuration file describing the overall configuration of your system, and assigning a board keyword file to each board. oamsys creates records in the OAM database for your boards based on this file.

      The system configuration file is typically named oamsys.cfg. By default, oamsys looks for a file with this name when it starts up.

      Refer to the OAM System User's Manual for specific information on the syntax and structure of this file. The following chart describes the QX board-specific settings to include in the file for each QX board:
      Keyword

      Description

      Allowed Values for QX Boards

      [name]

      The name of the board, to be used to refer to the board in software. The board name must be unique.

      Any string, in square brackets [].

      Product

      The name of the board product.

      · QX 2000/80-4L boards:
      QX 2000/80-4L

      · QX 2000/100-4L boards:
      QX 2000/100-4L

      Number

      The board number you will use in your CT Access application to refer to the board.

      Any integer from 0 upward. Each board's number must be unique.

      Bus

      The PCI bus number. The bus:slot location for each board must be unique.

      Values returned by pciscan.

      Slot

      The PCI slot number. The bus:slot location for each board must be unique.

      Values returned by pciscan.

      File

      The name of the board keyword file containing settings for the board.

      Several board keyword files are installed with the QX software, one for each country or region. The board keyword file for a specific country is located in nms\qx\ctry\xxx\, where xxx stands for the ISO code of the country.

      Set to the path and name of the board keyword file you wish to assign the board.

      You can specify more than one file after the File keyword:

      File=mya.cfg myb.cfg myc.cfg

      Alternatively, you can specify the File keyword more than once:

      File=mya.cfg

      File=myb.cfg

      File=myc.cfg

      Board keyword files are sent in the order listed. The value for a given keyword in each file overrides any value specified for the keyword in earlier files.

      Keywords and values can also be specified directly in the system configuration file. This is often useful if your board configurations are identical, except for one or two parameters (such as clocking information).

      Sample System Configuration FileTop of Page

      The following system configuration file describes two QX 2000/100-4L boards:

      3.4.3 Launching oamsysTop of Page

      To launch oamsys, enter oamsys on the command line.

      If you invoke oamsys without command line options, it searches for a file named oamsys.cfg in the paths specified in the AGLOAD environment variable.

      When invoked with a valid filename, oamsys does the following:

      3.5 Changing Configuration Parameter SettingsTop of Page

      Once you have initialized the database with oamsys, to make further parameter changes you can do any of the following:



      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.