Previous Topic: Create an Instance Feedback ReportNext Topic: Configure CA Workload Automation AE to Send Email Notifications


Set Alarm Notifications

You can configure CA Workload Automation AE to call user-defined routines for system alarms. For example, CA Workload Automation AE can call a routine when there is a database problem, when the scheduler shuts down, or when the scheduler notifies all application servers to shut down.

Follow these steps:

  1. Click Start, Programs, CA, Workload Automation AE, Administrator on the computer where the primary or shadow scheduler is running.

    The Instance - CA Workload Automation AE Administrator window opens.

  2. Select an instance from the Instance drop-down list in the Settings pane.
  3. Click the Services icon on the toolbar.

    The Services - CA Workload Automation AE Administrator window appears, displaying a list of services installed on the selected instance.

  4. Right-click the scheduler and select Stop. Repeat this action for the application server.

    The scheduler and application server stop.

  5. Click the Alarm Notification icon on the toolbar.

    The Alarm Notification - CA Workload Automation AE Administrator window appears. The Scheduler tab is selected by default.

  6. Complete the following fields as appropriate:
    Scheduler High Availability

    Defines the user-defined routine (complete path and executable name) that CA Workload Automation AE calls when the scheduler is shutting down and the shadow scheduler does not see an update in the event server from the primary scheduler, or when other scheduler takeover problems occur.

    Note: On UNIX, the equivalent configuration parameter is EP_HIGH_AVAIL.

    Scheduler Rollover

    Defines the user-defined routine (complete path and executable name) that CA Workload Automation AE calls when the shadow scheduler takes over processing.

    Note: On UNIX, the equivalent configuration parameter is EP_ROLLOVER.

    Scheduler Shutdown

    Defines the user-defined routine (complete path and executable name) that CA Workload Automation AE calls when the active scheduler (the primary or shadow scheduler after failing over in high availability mode) is shutting down because of a normal shutdown process or an error condition.

    Note: On UNIX, the equivalent configuration parameter is EP_SHUTDOWN.

  7. Click the Database tab and complete the following fields as appropriate:
    Database Problem

    Defines the user-defined routine (complete path and executable name) that CA Workload Automation AE calls when there is a problem with one of the CA Workload Automation AE databases.

    Note: On UNIX, the equivalent configuration parameter is DB_PROBLEM.

    Database Rollover

    Defines the user-defined routine (complete path and executable name) that CA Workload Automation AE calls when it rolls over from dual event server mode to single event server mode.

    Note: On UNIX, the equivalent configuration parameter is DB_ROLLOVER.

  8. Click the Application Server tab, complete the following field as appropriate, and click Apply:
    Application Server Shutdown

    Defines the user-defined routine (complete path and executable name) that CA Workload Automation AE calls when all the application servers are shutting down because of a shutdown request received when the sendevent -E STOP_DEMON command with the -v ALL or -v ROLE=A option is issued.

    Note: On UNIX, the equivalent configuration parameter is APP_SERVER_SHUTDOWN.

  9. Click the Services icon on the toolbar.

    The Services - CA Workload Automation AE Administrator window appears, displaying a list of services installed on the selected instance.

  10. Right-click the scheduler and select Start. Repeat this action for the application server.

    The scheduler and application server start. The alarm notifications are set.

Example: Call the C:\utils\pager.bat Program when the Scheduler Shuts Down

Suppose that you want CA Workload Automation AE to call the program C:\utils\pager.bat when the scheduler shuts down. Type the following value in the Scheduler Shutdown field on the Alarm Notification - CA Workload Automation AE Administrator window:

C:\utils\pager.bat

If the scheduler shuts down, CA Workload Automation AE passes pager.bat a numeric code and a text message. You must code pager.bat to accept these parameters.

More information:

Alarm Notifications