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:
The Instance - CA Workload Automation AE Administrator window opens.
The Services - CA Workload Automation AE Administrator window appears, displaying a list of services installed on the selected instance.
The scheduler and application server stop.
The Alarm Notification - CA Workload Automation AE Administrator window appears. The Scheduler tab is selected by default.
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.
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.
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.
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.
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.
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.
The Services - CA Workload Automation AE Administrator window appears, displaying a list of services installed on the selected instance.
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.
|
Copyright © 2013 CA.
All rights reserved.
|
|