# Running oamsys

To run oamsys, enter the following command from the command line:

oamsys -f filename

where filename is the name of an OAM API system configuration file.

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

When you invoke oamsys with a valid file name, oamsys performs the following tasks:

- Checks the syntax of the system configuration file to make sure that all required keywords are present. oamsys discards any unrecognized keywords and reports any syntax errors it finds.

oamsys verifies the file syntax of the system configuration file, but not of board keyword files.

- Checks for the uniqueness of board names, board numbers, bus numbers, and slot numbers.

- Shuts down all boards recognized by the OAM API (if any).

- Deletes all board configuration information currently maintained for the recognized boards (if any).

- Sets up the OAM API database and creates all managed objects as described in the system configuration file.

- Attempts to start all boards according to configuration parameters specified in the OAM system configuration file and the board keyword files it references.

The NaturalAccess Server (ctdaemon) must be running for oamsys to operate. For more information about the NaturalAccess Server, refer to the Dialogic® NaturalAccess™ Software Developer’s Manual.