# Running oamsys

To run oamsys, enter there following command:

oamsys -f filename

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

Note: If you invoke oamsys without command line options, NMS 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 system configuration files but not of board keyword files.

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

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

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

- Sets up the NMS OAM database and creates all records as described in the system configuration file.

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

The Natural Access Server (ctdaemon) must be running for oamsys to operate. For more information about the Natural Access Server, refer to the Natural Access Developer's Reference Manual.