03-15-2011 08:32 AM
Hi all,
I am looking for a rtsp solution, and currently i cann't find an answer.
The problem we got:
We are using a ace to loadbalance streaming traffic, which uses rtsp/rtcp.
rtsp is not a problem, simple vip on port 554 and forwarding to the servers.
but when it gets to rtcp it gets complicated
i configured a vip for udp high-ports, which works fine for messages from the client to the streamer.
but streaming data, which are sent from the server to the client , need to use the same source-ip as the vip
for that i created a nat-pool with the same ip as the vip.
so the ace takes all packets from the servers and creates a pat.
the thing is, that the clients get a problem with that.
within the rtsp-setup there is a negotation of ports to use.
if the source/ports, which are changed trough the pat, are different from the negotation, some clients wont work.
so the question is:
is there a way to do a pat with "fixed" ports, like: a port-range for server a, next range for server b and so on.
or is there a better solution for rtcp on the ace?
thanks a lot.
03-15-2011 11:21 PM
ACE supports RTSP over TCP Loadbalanacing only.
You can use RTSP headers
RTSP stickiness is based on information in the RTSP session header. With RTSP header stickiness, you can specify a header offset to provide stickiness based on a unique portion of the RTSP header.
*Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems to control streaming media servers. The protocol is used to establish and control media sessions between end points.
(config) sticky rtsp-header
To create an RTSP header sticky group to enable the ACE to stick client connections to the same real server based on the RTSP Session header field, use the sticky rtsp-header command. The prompt changes to the sticky header configuration mode prompt (config-sticky-header). Use the no form of this command to remove the sticky group from the configuration.
sticky rtsp-header name1 name2
no sticky rtsp-header name1 name2
Syntax Description
name1
RTSP header field. The ACE supports only the RTSP Session header field for stickiness. Enter Session.
name2
Unique identifier of the sticky group. Enter an unquoted text string with no spaces and a maximum of 64 alphanumeric characters.
Command Modes
Configuration mode
Admin and user contexts
Command HistoryRelease Modification
A3(1.0)
This command was introduced.
Usage Guidelines
This command requires the sticky feature in your user role. For details about role-based access control (RBAC) and user roles, see the Cisco 4700 Series Application Control Engine Appliance Virtualization Configuration Guide.
To use the stickiness feature, you must allocate a minimum percentage of system resources to stickiness. Otherwise, the feature will not work. For more information about allocating resources, see the Cisco 4700 Series Application Control Engine Appliance Virtualization Configuration Guide.
The ACE supports only the RTSP Session header field for stickiness.
For information about the commands in RTSP sticky header configuration mode, see the "Sticky RTSP Header Configuration Mode Commands" section.
Examples
To create a group for RTSP header stickiness, enter:
host1/Admin(config)# sticky rtsp-header Session RTSP_GROUP
host1/Admin(config-sticky-header)#
To remove the sticky group from the configuration, enter:
host1/Admin(config)# no sticky rtsp-header Session RTSP_GROUP
Example of an RTSP Load-Balancing Configuration
As per cisco
Similarly for RTSP Inspection its clearly stated at
For RTSP inspection
The ACE supports TCP only in conformity with RFC 2326.
More on Ace configs:
http://docwiki.cisco.com/wiki/Category:Data_Center_Application_Services_Configuration_Examples
http://www.cisco.com/en/US/products/hw/modules/ps2706/prod_configuration_examples_list.html
http://docwiki.cisco.com/wiki/Category:Configuration_Examples
Please Rate
HTH
Sachin Garg
03-16-2011 05:09 AM
the thing is .. we need the udp traffic
so the real thing i am looking for is a static-pat on the ace (which can be done on the asa)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide