Configure ACE to Monitor CDS-IS


May 7, 2012 8:28 PM
May 7th, 2012


This document explains how to configure probes on ACE in order to monitor Service Router, Streamer, and Origin Server. By default, ACE will consider a host to be opertaional if it is able to resolve its IP address, meaning that the host will be perceived as up and running as long as it is replying to ARP request, even if the service is down. This article explains how to configure probes on ACE in order to monitor the following components:

Service Router


Origin Server

The goal is to detect a failure of one physical device and take it out of the load-balancing pool, and generate an snmp trap. Assuming that we have proper connectivity, it is also possible to use the ACE to monitor those appliances even without using the ACE to loadbalance them.

SNMP Trigger

Refer to CISCO-ENHANCED-SLB-MIB and following link for details about how to trigger a trap when a host fails: MIB

Configuration for Service Router


TCP Level Probing

One can probe the Service Router on tcp port 80 (HTTP), tcp port 1935 (RTMP), tcp port 554 (rtsp).

Step 1. Configure the probe

probe tcp TCP_80

interval 5 // probe fired ever 4 seconds

receive 2 // no complete HS after 2 seconds = 1 probe failed

faildetect 2 // two consecutive probe failure = host failed

passdetect interval 3 // once failed, need 3 success to consider host back up again

connection term forced // RST after success, no graceful shutdown

Step 2. Assign the probe(s) to serverfarm

serverfarm host CDE-CACHES

  probe TCP_80

  probe TCP_1935

  rserver LB-SR1 80


  rserver LB-SR2 80


Remark: by default the host fails if *one* probe fails. To fail the host only if *all* probes fail, use "fail-on-all"

Step 3. Verify the probe status and hosts status

switch/C2# sh probe TCP_80

probe       : TCP_80

type        : TCP

state       : ACTIVE


   port      : 80      address     :         addr type  : -         

   interval  : 4       pass intvl  : 3               pass count : 3  

   fail count: 2       recv timeout: 10 

                       --------------------- probe results --------------------

   probe association   probed-address  probes     failed     passed     health

   ------------------- ---------------+----------+----------+----------+-------

   serverfarm  : CDE-CACHES

     real      : LB-SR1[80]

                    21         0          21         SUCCESS

     real      : LB-SR2[80]

                    21         0          21         SUCCESS


switch/C2# sh serverfarm CDE-CACHES

serverfarm     : CDE-CACHES, type: HOST

total rservers : 2



       real                  weight state        current    total      failures


   rserver: LB-SR1          8      OPERATIONAL  0          3          9

   rserver: LB-SR2          8      OPERATIONAL  0          0          6




You can probe and check that the Service Router is able to resolve DNS (e.g. one service as shown here, or the hostname of one CDS-IS host)

probe dns DNS_PROBE

  receive 2




For HTTP, you can probe the Service Router and see if we receive the 302 for a particular service. The probe below will be successful if receive any http reponse code comprised between 200 and 302

probe http SR_HTTP

  interval 5

  faildetect 2

  receive 2

  request method get url

  expect status 200 302

  connection term forced

Configuration for Streamer

You can configure exactly the same tcp and http probes for the streamers as for Service Router. The valid http response code for a streamer should be only 200 or 206 or 304.

Configuration for Origin Server

The Origin server has same probes as those for Streamer.

Related Information

Release Notes for Cisco Internet Streamer CDS 2.6.3

Average Rating: 0 (0 ratings)


Login or Register to take actions

This Document

Posted May 7, 2012 at 8:28 PM
Comments:0 Avg. Rating:0
Views:467 Contributors:0

Related Content

Documents Leaderboard