Forum Discussion

Agathe_309970's avatar
Agathe_309970
Icon for Altocumulus rankAltocumulus
Aug 03, 2017
Solved

Change the timeout according a pool member

Hi,   I want to change the timeout for one pool. But it depends of a TCP profile (which is apply to a virtual server). Is there a solution for change this timeout without affect the other pool mem...
  • Martijn_144688's avatar
    Aug 04, 2017

    Hi,

    You can try to test with the iRule below.

    when SERVER_CONNECTED {
       if { [IP::addr [LB::server addr] equals 10.10.10.10] } {
           set TCP::idletime 10
      } else {
            set TCP::idletime 300
      }
    }
    

    Where 10.10.10.10 is the IP-address of the pool member.

    Good luck.

    Martijn.