Configuring error handling for task retry on a different host

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.

Procedure

  1. Edit the actionOnWorkload element in the Service > Control > Method section of the application profile.
  2. 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
    Service > Control > Method > Timeout Timeout
    • retry
    • restartService
    • blockHost
    Service > Control > Method > Exception Failure exception
    • retry
    • retryWithoutPenalty
    • keepAlive
    • restartService
    • blockHost
    Service > Control > Method > Exception Fatal exception
    • retry
    • retryWithoutPenalty
    • keepAlive
    • restartService
    • blockHost
    Service > Control > Method > Exit Exit
    • retry
    • restartService
    • blockHost