Forum Discussion
Agathe_309970
Aug 03, 2017Altocumulus
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...
- 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.
MvdG
Aug 04, 2017Cirrus
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.
- Agathe_309970Aug 04, 2017Altocumulus
Hi,
Thank for your response. Yes I just found some response with the iRule. I tested this iRule which seems working.
when HTTP_REQUEST { if { ([HTTP::host] == "abc.com") } { IP::idle_timeout 1800 set serverside_idle_timeout 1 } } when SERVER_CONNECTED { if {$serverside_idle_timeout} { IP::idle_timeout 1800 } }
Thanks a lot for your help.
Agathe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects