Recovery task
QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper
The recovery task defines the recovery attributes of a component. A recovery action is triggered when a component terminates abnormally or when the watchdog heartbeat fails. An abnormal termination is a component termination that wasn't triggered by plms.
Only the statements defined in the Recovery task section are allowed for the recovery task.
Format
task "recovery" {
repair = "NONE|STOP|RESTART|FAULT|DSS"
max_tries = retry_value
wait_time = value_to_wait_between_restarts
}
Default
A default recovery task is defined for every component with default parameters.
Example
task "recovery" {
max_tries = 5
}
Multiplicity
Zero or one instance in a component block.
Constraints
- The recovery task is a reserved keyword; the parameters shown are the only ones allowed.
- The recovery task is not allowed in a
start_sequenceor astop_sequence. - A recovery action is triggered when a component terminates abnormally. If a component termination is not triggered by PLMS, then the termination of the component is considered as an abnormal termination.
Page updated:
