Table of Contents Index NMS Glossary Previous Page Next Page Version


Chapter 3

Configuring the Board


3.1 Introduction
3.2 Adding AG Configurations to the OAM Database
3.3 Configuring the System Using oamsys
3.3.1 Creating a System Configuration File for oamsys
Sample System Configuration File
3.3.2 Launching oamsys
3.4 Changing Configuration Parameter Settings
3.4.1 Board Keyword Files
3.4.2 Specifying Configuration File Location
3.5 Configuring Board Clocking
3.5.1 Clocking References
3.5.2 Fallback Clocking
3.5.3 Configuring CT Bus Clocks With AG Keywords
Configuring the Primary Clock Master
Configuring the Secondary Clock Master
Configuring Clock Slaves
Configuring Standalone Boards
3.5.4 Multiple Board System Example
3.5.5 Clocking Rules and Restrictions
3.5.6 Clocking Priority in Mixed Board Systems
3.6 Echo Cancellation
3.7 Sample Board Keyword File
3.7.1 AG 4000C Board Keyword File

3.1 IntroductionTop of Page

This chapter describes how to configure and start the board after the software is installed. It also provides configuration information to use when adding the boards into the OAM database.

3.2 Adding AG Configurations to the OAM DatabaseTop of Page

For OAM 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, AutoStart = NO). You can query the OAM database for keyword values for any component. Keywords and values can be added, modified, or deleted.

To use OAM or any related utility, ensure that ctdaemon is running. For more information about ctdaemon, refer to the CT Access Developer's Reference Manual.

The following utilities are shipped with OAM:
Utility

Description

oamsys

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

oamcfg

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

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

3.3 Configuring the System Using oamsysTop of Page

To configure a system using the oamsys utility:

  1. Install the 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.

    
    
  3. Create a system configuration file describing the board configuration. In this file, give each board a unique name and board number.

    
    
  4. Use oamsys to set up records in the OAM database based on this file and to start all installed boards.

    
    Note: If you want to determine the location of a specific board, use blocate to associate the PCI bus assignment to a physical board by flashing an LED on the board. To flash the LED on a board, call blocate with the PCI bus and PCI slot locations.
For more information about pciscan and blocate, refer to the OAM System User's Manual.

3.3.1 Creating a System Configuration File for oamsysTop of Page

Create a system configuration file describing all of the boards in your system. oamsys creates the records, and then directs the OAM service to start the boards, configured as specified.

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 AG board-specific settings to include in the system configuration file for each AG board:
Keyword

Description

Allowed Values for AG Boards

[name]

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

Any string, in square brackets [].

Product

Name of the board product.

· AG_4000C_4T1

· AG_4000C_4E1

· AG_4000C_2T1

· AG_4000C_2E1

Number

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

Each board's number must be unique.

Bus

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

Values returned by pciscan.

Slot

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

Values returned by pciscan.

File

Name of the board keyword file containing settings for the board.

Several board keyword files are installed with the AG software, one for each country or region.

You can create your own custom board keyword file if you wish. For details, refer to Section 3.4, Changing Configuration Parameter Settings.

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.

Sample System Configuration FileTop of Page

The following system configuration file describes two AG 4000C T1 boards, both to be configured for the United States:

[First AG 4000C]
Product = AG_4000C_4T1
Number  = 0
Bus     = 0
Slot    = 15
File    = agpi4000.cfg

[Second AG 4000C]
Product = AG_4000C_4T1
Number  = 1
Bus     = 0
Slot    = 16
File    = agpi4000.cfg

3.3.2 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:

3.4 Changing Configuration Parameter SettingsTop of Page

When you run oamsys, the parameter settings specified in the board keyword files are stored in the OAM database. All boards are then started in their specified configurations.

Parameters are communicated as keyword name/value pairs: AutoStart = NO. To change a parameter setting, you can:

You may wish to:

3.4.1 Board Keyword FilesTop of Page

A sample set of board keyword files are installed by the AG installation. These board keyword files are for the USA digital protocols:
File

Description

agpi4000.cfg

AG 4000C T

a4fgdpi.cfg

AG 4000C T, Feature Group D protocol

a4gdspi.cfg

AG 4000C T, Digital Ground Start protocol

a4opspi.cfg

AG 4000C T, Off-Premises Station protocol

a4ss5pi.cfg

AG 4000C T, Signaling System 5 protocol

a4wnkpi.cfg

AG 4000C T, Two-way Wink Start protocol

agi4t1pi.cfg

AG 4000C T, ISDN

agi4e1pi.cfg

AG 4000C E, ISDN

Sample board keyword files are shown in Section 3.7, Sample Board Keyword File. These board keyword files have many keywords in common. The differences in these files are related to the protocols, whose names appear as part of the name of the file. For more information about board keyword files, refer to the OAM System User's Manual.

3.4.2 Specifying Configuration File LocationTop of Page

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

DLMFiles[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 the current working directory, OAM searches for the file in the search path defined by the AGLOAD environment variable.

3.5 Configuring Board ClockingTop of Page

When multiple boards are connected to the CT bus, you must set up a bus clock to synchronize timing between them. In addition, you can configure alternative (or fallback) clock sources to provide the clock signal if the primary source fails.

Caution:

In systems containing a mix of CG 6000C boards and AG 4000C boards, NMS recommends that you use CG 6000C boards as the primary and secondary masters. Configure the AG 4000C board as a slave.

Refer to Section 3.5.5 for more information about clocking rules and restrictions.

Boards in a CT bus system can be configured in one of the following modes:
Board Mode

Description

Primary clock master

Drives the primary timing reference for boards connected to the CT bus. It can switch between its two specified timing sources to maintain the primary timing reference. However, if both of its timing references fail, the primary master stops providing a timing source (and the secondary master then provides bus synchronization).

Secondary clock master

Drives the secondary timing reference. When the primary clock fails, the secondary master continues to drive the secondary clocks using a fallback clock source as its timing reference.

Clock slave

References its timing from the primary clock master and uses the secondary clock master as a fallback source of clock timing.

Standalone

Does not reference the primary or secondary master and, consequently, may not make switch connections to the CT bus.

Note: CT bus clock fallback establishes a redundant system of timing references for the CT bus. It does not create an autonomous clock timing environment. When clock fallback occurs, you must intervene to reset system clocking before the specified fallback timing references are exhausted. If all of the timing references specified for the primary and secondary clock masters fail (and no intervention takes place), the boards on the system default to standalone mode.

3.5.1 Clocking ReferencesTop of Page

Boards that act as clock slaves derive their timing from signals driven by the clock masters (primary or secondary). Clock masters can drive the following reference clocks:

Primary clock masters can synchronize their own timing signals from the following sources:

Secondary clock masters are hybrid systems. Their primary timing source must be A_CLOCK or B_CLOCK. Their fallback timing source must be:

For further information about configuring clocks on the H.110 bus, refer to the OAM System User's Manual and to the ECTF H.110 Hardware Compatibility Specification: CT Bus R1.0.

3.5.2 Fallback ClockingTop of Page

Note: If you want to support clock fallback on an AG board, refer to the NMS web site (www.nmss.com) for more information.
The CT bus supports a system of fallback clocking that allows the system to use alternate timing references when one or more sources fail.

To implement fallback clocking:

  1. Configure a primary clock master to drive the CT bus clock (A clocks or B clocks) based on a network timing reference. All slave boards will synchronize their timing through this clock.

    
    
  2. Configure a secondary clock master to use the signal from the primary clock to drive the alternate CT bus clock (in other words, if the primary master drives the A clock, the secondary master should drive the B clock based on the A clock, or vice versa).

    
    
  3. Specify a fallback network timing reference for the secondary clock master to use in the event the primary clock master fails.

    
    
  4. Configure all slave boards to specify the secondary clock master as their fallback clock source.

When the boards are configured in this way, the secondary clock master continues to drive the secondary clock (based on its own timing reference) if the primary clock master fails. Slave boards within the system fall back to synchronize their timing from the secondary clock master.

3.5.3 Configuring CT Bus Clocks With AG KeywordsTop of Page

The AG 4000C board configuration keywords allow you to configure:

The following sections describe how to use board configuration keywords to specify clocking configurations on multiple-board or multiple-chassis systems.

Configuring the Primary Clock MasterTop of Page

Use the following keywords to configure the primary clock master:
Keyword

Description

Clocking.HBus.ClockSource

Specifies the source from which this board derives its timing. This should be a network source (NETREF, NETREF2, or NETWORK).

Clocking.HBus.ClockMode

Specifies the CT bus clock that the board drives. This must reference either the A clock (MASTER_A) or the B clock (MASTER_B).

Clocking.HBus.ClockSourceNetwork

Specifies the trunk number that the board uses as an external network clocking source for its internal clock. Trunk numbering is 1-based.

Clocking.HBus.AutoFallBack

Enables or disables clocking auto-fallback on the board.

Clocking.HBus.FallBackClockSource

Specifies an alternate timing reference to use when the master clock source fails. This should be a network source (NETREF, NETREF2, or NETWORK).

Clocking.HBus.FallBackNetwork

Specifies the trunk from which a fallback network timing source (for the fallback clock reference) can be derived.

Configuring the Secondary Clock MasterTop of Page

Use the following keywords to configure the secondary clock master:
Keyword

Description

Clocking.HBus.ClockSource

Specifies the source from which this board derives its timing. This must be set to the clocks driven by the primary clock master. For example, if the primary master drives the A clock, this should be set to A_CLOCK.

Clocking.HBus.ClockMode

Specifies the CT bus clock that the secondary master drives. This must reference the clock (MASTER_A or MASTER_B) not driven by the primary clock master.

Clocking.HBus.AutoFallBack

Enables or disables clocking auto-fallback on the board. This should be set to YES.

Clocking.HBus.FallBackClockSource

Specifies the alternate timing reference to use when the master clock does not function properly. This should reference a network source (NETREF, NETREF2, or NETWORK).

Clocking.HBus.FallBackNetwork

Specifies the trunk from which a fallback network timing source (for the fallback clock reference) can be derived.

Configuring Clock SlavesTop of Page

Use the following keywords to configure the clock slaves:
Keyword

Description

Clocking.HBus.ClockMode

Specifies the CT bus clock that the board derives its timing from. This should be set to SLAVE to indicate that the board does not drive any CT bus clock (although the board may still drive NETREF or NETREF2).

Clocking.HBus.ClockSource

Specifies the source from which this clock derives its timing. This must reference the clock driven by the primary clock master.

Clocking.HBus.AutoFallBack

Enables or disables clocking auto-fallback on the board.

Clocking.HBus.FallBackClockSource

Specifies the alternate clock reference to use when the master clock does not function properly. For clock slaves, this should point to the clocks (A or B) driven by the secondary clock master.

Configuring Standalone BoardsTop of Page

To configure a board in standalone mode so the board references its own clocking information, set Clocking.HBus.ClockMode = STANDALONE. The board can use either its own oscillator or a signal received from a digital trunk as a timing signal reference. However, the board will not be able to make switch connections to the CT bus.

3.5.4 Multiple Board System ExampleTop of Page

The following example assumes a system configuration where three AG 4000C boards reside on a single chassis. The boards are configured in the following way:
Board

Configuration

Board 0

System primary bus master (driving the A clocks)

Board 1

System secondary bus master (driving the B clocks)

Board 2

Clock slave (auto fallback enabled)

This configuration assigns the following clocking priorities:
Priority

Timing Reference

First

Board 0, digital trunk 1.

A network signal from a digital trunk provides the primary master clock source.

Second

Board 0, digital trunk 3.

A network signal from a digital trunk provides the fallback clock source.

Third

Board 1, digital trunk 2.

A network signal from a digital trunk provides the secondary master fallback clock source.

Figure 20 shows a multiple-board system with a primary and secondary clock master:

chap3a.gif

Figure 20. Sample Board Clocking Configuration


The following table shows keywords used to configure the boards according to the configuration shown in Figure 20:
Board

Role

Clocking Keyword Settings

0

Primary clock master

Clocking.HBus.ClockMode = MASTER_A

Clocking.HBus.ClockSource = NETWORK

Clocking.HBus.ClockSourceNetwork = 1

Clocking.HBus.AutoFallBack = YES

Clocking.HBus.FallBackClockSource = NETWORK

Clocking.HBus.FallBackNetwork = 3

1

Secondary clock master

Clocking.HBus.ClockMode = MASTER_B

Clocking.HBus.ClockSource = A_CLOCK

Clocking.HBus.AutoFallBack = YES

Clocking.HBus.FallBackClockSource = NETWORK

Clocking.HBus.FallBackNetwork = 2

2

Clock slave

Clocking.HBus.ClockMode = SLAVE

Clocking.HBus.ClockSource = A_CLOCK

Clocking.HBus.AutoFallBack = YES

Clocking.HBus.FallBackClockSource = B_CLOCK

In this configuration, Board 0 is the primary clock master and drives the A clock. All slave boards on the system use the A clock as their first timing reference. Board 0 references its timing from a network timing signal received on its own trunk 1. Board 0 also uses its own trunk 3 as its fallback clock source. This means that if the network timing signal derived from trunk 1 fails, Board 0 will continue to drive the A clocks based on trunk 3.

If, however, both of the clocking signals used by Board 0 fail, then Board 0 stops driving the A clock. The secondary clock master (Board 1) falls back to a timing reference received on its own trunk 2, and uses this signal to drive the B clock. The B clock then becomes the timing source for all boards that use the B clock as their backup timing reference.

For this to take effect, all the clock slaves must specify the A clocks as their clock source and the B clocks as their fallback clock source.

3.5.5 Clocking Rules and RestrictionsTop of Page

This section describes the rules and limitations that apply to setting up CT bus clocking on AG 4000C boards.

When an AG 4000C board is configured as the system primary clock master:

When an AG 4000C board is configured as the system secondary clock master:

When an AG 4000C board is configured as a clock slave:

3.5.6 Clocking Priority in Mixed Board SystemsTop of Page

When choosing which boards act as system primary and secondary clock masters in a mixed-board system, use the following priority system:

  1. CG 6000C

    
    
  2. AG 4000C

    
    
  3. CompactPCI AG Quad

    
    Note: CX 2000C boards can only run as clock slaves or in standalone mode.
For example, if a system includes two CG 6000C boards and several other NMS boards, the CG 6000C boards should be configured as the system's primary and secondary clock masters. If the system includes one CG 6000C board, one AG 4000C board, and several other boards, the CG 6000C board should be configured as the system primary clock master and the AG 4000C as the system secondary clock master.

Following this priority system ensures the most reliable performance when CT bus clock fallback occurs.

3.6 Echo CancellationTop of Page

Echo cancellation is generally not required on digital trunks. It is disabled, by default, on the AG 4000C board. Because echo cancellation consumes many MIPS of DSP processing power, it may require a version of the AG 4000C board with more than 16 DSPs. Refer to Appendix B for specific configuration requirements.

Refer to the ADI Service Developer's Manual for more information on configuring echo cancellation on the AG 4000C board.

3.7 Sample Board Keyword FileTop of Page

This section presents the sample board keyword file agpi4000.cfg. The sample board keyword files are located in the ag\cfg subdirectory under the Natural Access installation directory. agpi4000.cfg shows the set of board keywords necessary to configure and start an AG 4000C T board. Follow the instructions in the file to configure an AG 4000C E board.

3.7.1 AG 4000C Board Keyword FileTop of Page

This is the agpi4000.cfg file:

#
#       AG configuration file for AG 4000
#

 Clocking.HBus.ClockSource = OSC
 Clocking.HBus.ClockMode = STANDALONE

# TCP files are shipped with the AG CAS sub-package of Natural Access.
# Be sure that you installed the protocols that are specified below before
# trying to start a board with this configuration file.
 TCPFiles[0] = nocc.tcp           # "no trunk control" protocol
 TCPFiles[1] = wnk0.tcp           # 2-way wink protocol

# DSP (.m54) files to link in

 DSP.C5x.DSPFiles = callp.m54 dtmf.m54 mf.m54 ptf.m54 tone.m54 voice.m54

 DLMFiles[0] = gtp.leo
 DLMFiles[1] = voice.leo
 DLMFiles[2] = svc.leo

#--------------------------------------------------------------------------
# IF YOU ARE CONFIGURING AN E1 BOARD replace AMI_ZCS with HDB3 and D4 with  # CEPT to successfully boot the board. Consult AG 4000C documentation to     # determine proper configuration for your needs.
#--------------------------------------------------------------------------

# For AG 4000 Quad (comment other "NetworkInterface" lines if used)

 NetworkInterface.T1E1[0..3].LineCode = AMI_ZCS
 NetworkInterface.T1E1[0..3].FrameType = D4

# For AG 4000 Dual (comment other "NetworkInterface" lines if used)
#
# NetworkInterface.T1E1[0..1].LineCode = AMI_ZCS
# NetworkInterface.T1E1[0..1].FrameType = D4

# For AG 4000 Single (comment other "NetworkInterface" lines if used)
#
# NetworkInterface.T1E1[0].LineCode = AMI_ZCS
# NetworkInterface.T1E1[0].FrameType = D4




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.