albert_forster_
Mar 31, 2005Nimbostratus
Session Persistency via Irules using RTSP
Hi,
we have the following problem (challenge):
we have to route RTSP streaming requests to a particular Helix Server based on a field value contained in the RTSP methods.
For example if we start with streaming the first method is the OPTION method, which does not contain full URL:
OPTIONS rtsp://158.226.219.222:554 RTSP/1.0
The following RTSP methods however contain the full URL, e.g.
DESCRIBE rtsp://158.226.219.222:554/real9video.rm?msisdn=022222220&transid=8767882&plan=pre&opcoid=CUSTOMER&iver=3>ime=1112096056&tokenname=opco1&guid=6834bee082744027ffa30003ba17d11c&life=0&key=5ED2B43301E4FDF4F5E0D1BAF38CA1FE RTSP/1.0
What we want to do is, everytime when a request comes to the F5 LB, the LB should analyze the URL and if e.g plan=pre, then the request shall be transferred to a particular pool member (Helix Server).
How can we define the appropriate IRule for this? We deactivated the HTTP profile on the LB to enable "native" RTSP streaming so that we don't have access to the HTTP methods for the IRule.
Probably we have to use the TCP (e.g. payload) method or something else.
We tried different things but it does not work properly.
Any ideas would be greatful.
Thanks a lot
Osman (osman.oendogan@siemens.com)