Why is a virtual service always up when a redirect policy is attached to it?

Answer

A virtual service on Avi Vantage remains always up when a redirect policy is attached to it. This is an expected behaviour and this behaviour is by design. A virtual service is kept alive if one of the following conditions is met:

  • At least one of the pools associated to the virtual service is up.
  • A policy (for example, a redirect policy) associated with the virtual service that does not need a pool.
  • A DataScript attached to the policy.
  • The virtual service is associated to a policy that sends a local response.

Additional Reading


HTTP Request Policy