Media Servers are standard web servers that are responsible for serving
Unified CVP prompt files to the voice gateway.
Create an HTTP Probe
The probe below is used to determine whether the Media Server is
operating properly. A simple HTTP request is sent to the Media Server and the
probe does a check for HTTP return code 200.
The Media Server probe sends an HTTP request to
/index.html. The request is sent to the default HTTP port (80) and
the IP address of the real server associated with the probe.
In the probe below, the following parameters are set. Set the actual
values according to your own requirements. Refer to the
ACE 4700 Series Appliance Server Load-Balancing Configuration Guide.
To create the HTTP probe for the media servers, place the following
code in the configuration for the ACE server.
probe http PROBE_HTTP
passdetect interval 5
passdetect count 1
request method get url /index.html
expect status 200 200
Configure the Physical Servers
Create a real server for every physical media server you would like to
load balance. Associate the ICMP probe with each server by creating a section,
as shown in the following example, for each media server in the server farm.
rserver host mediaServer1
ip address 10.1.1.1
rserver host mediaServer2
ip address 10.1.1.2
Group Your Physical (Media) Servers
In the ACE configuration file, create a server farm and associate
servers with this farm. The following example applies the HTTP Probe to the
server farm and the ACE server probes each media server in the server farm.
However, you can also associate this probe with the physical server.
By specifying the port, only connections on this port will be
accepted by this server farm.
serverfarm host media_server_FARM
description Media Server Farm
rserver mediaServer1 80
rserver mediaServer2 80
Class Map Configuration
The configuration below defines a Layer 3 and a Layer 7 class-map.
The Layer 3 class-map is used to define a Virtual IP and the
allowed traffic port. This class map gets applied to the Layer 3/4 policy-map.
Traffic sent to the virtual IP is directed by the ACE server to real media
servers based on the load balancing policy.
The Layer 7 class-map is used to filter traffic based on the URL
pattern specified. This class-map is associated with a Layer 7 policy-map,
which contains information about which servers to load balance.
When traffic entering the ACE server matches the class-map
L3_Media_Server_VIP, the ACE server applies the actions specified in
Media_Server_L7SLB, which is defined below.
class-map match-all L3_Media_Server_VIP
2 match virtual-address 10.1.1.3 tcp eq www
class-map type http loadbalance match-all L7_HTTP_CLASS
2 match http url .*
Policy Map Configuration
In the code below, the layer 7 class map gets associated with the
layer 7 policy map.
policy-map type loadbalance first-match Media_Server_L7SLB
policy-map multi-match POLICY
loadbalance vip inservice
loadbalance policy Media_Server_L7SLB
loadbalance vip icmp-reply active