Property
|
Description
|
Startup script
|
(Optional) The name of the Batch Program that you want to run.
This can be the Batch Program or a script that starts the Batch Program.
|
Startup script parameters
|
(Optional) The parameters that are to be passed to the Startup script.
|
Startup script timeout (seconds)
|
(Optional) The timeout value for the Batch Program to start. The default value is 15 seconds.
If the Startup script terminates within the specified timeout with a non-zero Exit code, OpenEdge Management considers it as a failure. If the Startup script is not terminated within the specified timeout, OpenEdge Management considers it as running.
|
Kill if still running after timeout
|
Terminates the Startup script, if running, after the specified timeout.
If this option is not selected and the Startup script is not terminated after the specified timeout, OpenEdge Management tracks the PID of the script.
|
Supports multiple processes
|
(Optional) Supports running multiple process.
If this option is not selected, you cannot start the multiple processes of the Batch Program neither from the OpenEdge Management console nor the REST API.
|
Startup failure behavior
On first startup failure
On second startup failure
On subsequent startup failure(s)
|
(Optional) The behavior of OpenEdge Management when the startup of the Batch Program fails on the first, second, and subsequent startups.
Select one or more behaviors from the following options:
Fire alert — Fires an alert.
Perform action — Executes an action.
Restart the program — Restarts the Batch Program.
To enable the behavior options on the next failure, select the Restart the Program option.
The default is that the OpenEdge Management does not follow any behavior.
|
Subsequent startup limit
|
(Optional) ) The maximum number of times the Batch Program can be started before the OpenEdge Management considers the Startup as a failure. The program restarts until it reaches the specified limit. The minimum value is 1 and the maximum value is 300.
In a case where the Startup program continuously fails, and Restart the Program is selected to avoid busy loops, there will be a delay of few seconds between each attempt to restart.
|
Exit code
|
Indicates the status of the process when it exited.
If the Startup script does not terminate within the specified timeout value, OpenEdge Management monitors the script until it exits and uses the exit code of the process to determine the action to perform.
Note: For OpenEdge Management to monitor the exit code, the process should be started and should NOT be restarted before the process terminates.
In a case where OpenEdge Management is restarted or the exit code is unknown, OpenEdge Management performs the default exit code action.
|
Action
|
The action that you want to associate with the failure of the Batch Program. For more information, see Using Batch Program default actions.
Once you specify the exit code and select its associated action, click ADD/UPDATE to add them. You can choose to add multiple exit codes and their associated actions. Click DELETE to delete your selection.
|