Forum Discussion
Laurent_P_
Employee
Feb 08, 2006iRule for RTSP
Hi all,
I'm working on iRule which should do the following .
I have two Virtual Servers :
* One for RTSP traffic on which I setup persistence per source_addr.
* One for HTTP t...
Laurent_P_
Employee
Feb 09, 2006Guys,
I thought about an onther solution in case the persist lookup doesn't give me the node handling a connection for the specified IP.
I made up two iRules, one for the RSTP VIP and one for the HTTP vip. This gives :
Attached to the HTTP VIP :
when HTTP_REQUEST {
set realip [HTTP::header "x-nokia-ip-address"]
set realnode [session lookup tablesession $realip]
node $realnode
}
Attached to the RSTP VIP :
when LB_SELECTED {
set nodeip [LB::server]
session add tablesession [IP::remote_addr] $nodeip 1 1800
}
Is it correct ?
Thanks a lot for your answer. I forgot to mention that I'm running v9.1.1.
Regards.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
