Entering content frame

Process documentation Automating an Administration Task Using an Event Dispatcher Locate the document in the library structure

Purpose

You automate an administration task using an event dispatcher.

Prerequisites

You need to have activated the event as appropriate using the Database Manager.

Note

You can find an overview of the events you can activate and deactivate in Concepts of the Database System, Overview of Database Events.

You do not need to activate the special event dispatcher events

Process Flow

...

       1.      You add a new entry to the configuration file for the event dispatcher using the add command.

Note

If no configuration file as yet exists, the event dispatcher then creates a configuration file when the add command is executed.

       2.      If you have not yet started the event dispatcher, start the event dispatcher with this configuration file using the start command.

Result

The event dispatcher monitors the database instance.

If the database instance monitored triggers an event, the event dispatcher analyzes the event. If the latter finds an entry in its configuration file, the event dispatcher then calls the program specified and transfers any necessary parameters to it.

Example

Example: E-mail Notification After the DATABASEFULL Event

Example: Log Backup After the LOGABOVELIMIT Event

See also:

Configuring Event Dispatchers

Overview of Event Dispatcher Commands

Concepts of the Database System,

·        Automating Administration Tasks

·        Overview of Database Events

 

Leaving content frame