cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7646
Views
0
Helpful
2
Replies

How to get an output of what servers bound to specific VIP

malithperera
Level 1
Level 1

Hi all,

I'm working on this new project where I have to gather information of what servers bound to what VIP. I'm new to ACE and don't see normal show commands get me the output I want. Can someone please inform what show command I can use to get desired output? Thanks in advance.

1 Accepted Solution

Accepted Solutions

Kanwaljeet Singh
Cisco Employee
Cisco Employee

Hi Malith,

You can do 'show service-policy <policy name> <class map name> detail.

In detail you can see serverfarm associated and then you can do show serverfarm <serverfarm name> summary/detail to see the details.

You can also download ACE command reference guide for all commands.

A good link for ACE TS:

http://docwiki.cisco.com/wiki/Cisco_Application_Control_Engine_%28ACE%29_Troubleshooting_Guide_--_Troubleshooting_Layer_4_Load_Balancing

Regards,

Kanwal

View solution in original post

2 Replies 2

Kanwaljeet Singh
Cisco Employee
Cisco Employee

Hi Malith,

You can do 'show service-policy <policy name> <class map name> detail.

In detail you can see serverfarm associated and then you can do show serverfarm <serverfarm name> summary/detail to see the details.

You can also download ACE command reference guide for all commands.

A good link for ACE TS:

http://docwiki.cisco.com/wiki/Cisco_Application_Control_Engine_%28ACE%29_Troubleshooting_Guide_--_Troubleshooting_Layer_4_Load_Balancing

Regards,

Kanwal

Dev Vishwakarma
Cisco Employee
Cisco Employee

What is the version of the ACE you are running? You can not get what you are looking for in one command. You need to run two commands for that.

show service-policy detail

then find out the serverfarm and run this command

 

show serverfarm xxx

For example:

# show service-policy detail

Policy-map : VIPS-POL
Status     : ACTIVE
Description: -----------------------------------------
Interface: vlan 178
  service-policy: VIPS-POL
    class: myVIP
      nat:
        nat dynamic 5 vlan 179
        curr conns       : 0         , hit count        : 23        
        dropped conns    : 4         
        client pkt count : 177       , client byte count: 20029               
        server pkt count : 110       , server byte count: 44509               
        conn-rate-limit      : 0         , drop-count : 0         
        bandwidth-rate-limit : 0         , drop-count : 0         
     VIP Address:    Protocol:  Port:
     10.86.178.176   tcp        eq    80   
      loadbalance:
        L7 loadbalance policy: LB-POL
        Regex dnld status           : SUCCESSFUL
        Rgx comp success cnt        : 36
        Last Regex comp success : Wed May 28 10:58:40 2014
        Rgx comp timeout cnt        : 0
        Rgx comp failed cnt         : 0
        VIP Route Metric     : 77
        VIP Route Advertise  : DISABLED
        VIP ICMP Reply       : ENABLED
        VIP State: INSERVICE
        curr conns       : 0         , hit count        : 26        
        dropped conns    : 4         
        client pkt count : 187       , client byte count: 20513               
        server pkt count : 110       , server byte count: 44509               
        conn-rate-limit      : 0         , drop-count : 0         
        bandwidth-rate-limit : 0         , drop-count : 0         
        L7 Loadbalance policy : LB-POL
          class/match : dotstarJSP
            LB action: :
               primary serverfarm: SFARM
                    state: UP
                  backup serverfarm : -
            hit count        : 0         
            dropped conns    : 0    

 

Then serverfarm is SFARM. Run this command:

# show serverfarm SFARM
 serverfarm     : SFARM, type: HOST
 total rservers : 3
 ---------------------------------
                                                ----------connections-----------
       real                  weight state        current    total      failures
   ---+---------------------+------+------------+----------+----------+---------
   rserver: tek
       10.86.179.52:8080     8      OPERATIONAL  0          6          0
   rserver: tiant
       10.86.179.51:0        8      OUTOFSERVICE 0          0          4
   rserver: yaz
       10.86.179.50:0        8      OPERATIONAL  0          9          0

 

Regards,

Devendra Vishwakarma

 

**Please rate helpful posts**

 

Review Cisco Networking for a $25 gift card