When retry tasks are set up to be run on different hosts,
if a task fails or an exception is thrown, modify the application
profile to keep the service instance alive for the Invoke method.
- Edit the actionOnWorkload element
in the section of the application
profile.
- Set the value of the actionOnWorkload element
as retry or retryWithoutPenalty.
The following table lists the combinations that task retry can apply to for the
Invoke method.
Table 1. Task retry combinations for the Invoke method
Section for the Invoke method |
Event |
actionOnWorkload |
actionOnSI |
|
Timeout |
|
|
|
Failure exception |
- retry
- retryWithoutPenalty
|
- keepAlive
- restartService
- blockHost
|
|
Fatal exception |
- retry
- retryWithoutPenalty
|
- keepAlive
- restartService
- blockHost
|
|
Exit |
|
|