Forum Discussion

Andy_Pan_240255's avatar
Andy_Pan_240255
Icon for Altocumulus rankAltocumulus
Nov 17, 2016

fallback persistence

How can I change fallback persistence method in irule? in GUI, it was set to source_addr. I want to remove it for some special URL.

 

Thanks.

 

  • In a very simple concept....

    when HTTP_REQUEST {
      if { [HTTP::host] equals "www.whatever.com" } {
        persist dest_addr
      }
    }
    

    Make sense?

    • Andy_Pan_240255's avatar
      Andy_Pan_240255
      Icon for Altocumulus rankAltocumulus

      Hi Ekaleido,

       

      It is for changing the default persist method. I mean change the Fallback Persistence setup.

       

      Thanks, Andy Pan

       

  • In a very simple concept....

    when HTTP_REQUEST {
      if { [HTTP::host] equals "www.whatever.com" } {
        persist dest_addr
      }
    }
    

    Make sense?

    • Andy_Pan_240255's avatar
      Andy_Pan_240255
      Icon for Altocumulus rankAltocumulus

      Hi Ekaleido,

       

      It is for changing the default persist method. I mean change the Fallback Persistence setup.

       

      Thanks, Andy Pan