Manual Chapter : Configuring subroutine settings

Applies To:

Show Versions Show Versions

BIG-IP APM

  • 15.0.0
Manual Chapter

Configuring subroutine settings

A per-request policy is required to create and use a subroutine. You must have a per-request policy and create a subroutine to use subroutine settings.
Subroutine settings allow you to specify that a subroutine runs either per-request or at specified intervals, or based on gating criteria.
  1. From the Main tab, click
    Access
    Profiles / Policies
    Per-Request Policies
    .
  2. Find the policy you want to edit, and in the Per-Request Policy column, click
    Edit
    .
  3. Expand the subroutine you want to edit.
  4. Click
    Subroutine Settings /Rename.
  5. Specify the
    Inactivity Timeout
    in seconds.
    This is the number of seconds after which an inactive session is invalidated. The default is 300 seconds (5 minutes).
  6. Specify the
    Max Subsession Life
    in seconds.
    This is the number of seconds after the session is validated when the session is considered expired, and the subroutine must be revalidated if a request occurs. The default is 900 seconds (15 minutes). If this is set to 0, the subroutine must be revalidated on every request.
  7. Specify the
    Subroutine Timeout
    in seconds. This is the amount of time in which the subroutine must complete, or the subroutine is invalidated. The default is 120 seconds (2 minutes).
  8. Select any
    Gating Criteria
    .
    Gating criteria is a value that, when present, starts the subroutine. If you want to use a specific variable to trigger the subsession, specify the variable. Otherwise, any item in the subroutine will start the subsession.
    To restart the subroutine based on changes to the information collected in the user information collected by F5 Access Guard, select
    perflow.client.information.hash
    .
    To restart the subroutine if the client IP address changes, type the custom variable
    perflow.client.ip.address
    .
  9. Click
    Save
    .
The subroutine is saved with the settings you configured.