cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
555
Views
0
Helpful
7
Replies

Two services from one server in one content on CSS 11503

APolegayko
Level 1
Level 1

Hello. I have 4 servers with 2 services on each, running on different port. These services is cluster application and runs under content, where created 8 services. But, CSS always send users only at first service at server. I cannot figure where is problem. When I check for keepalive, they all alive. I tryed stop second services at all servers, they stopped and 'show keepalive' show me right information.

P.S. I have Java application running under Tomcat. Maybe, you have recomendation about cookies, balance method etc...

service serv-01-8085

port 8085

ip address 10.77.12.11

keepalive type http

keepalive method get

keepalive uri "/ping"

keepalive port 8085

keepalive hash "c81e728d9d4c2f636f067f89cc14862c"

max connections 300

active

service serv-01-8086

port 8086

ip address 10.77.12.11

keepalive type http

keepalive method get

keepalive uri "/ping"

keepalive port 8086

keepalive hash "c81e728d9d4c2f636f067f89cc14862c"

max connections 300

active

........

content server-http

advanced-balance arrowpoint-cookie

vip address 10.77.12.01

add service serv-01-8085

add service serv-01-8086

add service serv-02-8085

add service serv-02-8086

add service serv-03-8085

add service serv-03-8086

add service serv-04-8085

add service serv-04-8086

protocol tcp

port 80

url "/*"

balance aca

active

7 Replies 7

Gilles Dufour
Cisco Employee
Cisco Employee

don't use 'balance aca'.

If you do not have enough traffic, you could end-up with all traffic going to one server.

Use roundrobin - the default. It fist most everybody's need.

Then, currently all your users probably have cookie pointing to server1 anyway. So you should create a different cookie name or clear the cookie table of all users.

The command to create a new name is 'arrowpoint-cookie name '.

After that, everything should work.

Gilles.

Sorry, my post is unclear a little. It goes not at one server, only at one service. I have services serv-01-8085, serv-01-8086, serv-02-8085,... and serv-04-8086. And traffic goes only at services serv-*-8085 and never at serv-*-8086.

I will try disable aca and add name for cookie. Thanks! (if it doesn't help, i'll write here).

are you sure all the services are alive ?

check with 'show service summary'.

Or did you add the 2nd services after the first one ?

Gilles.

Yes, all of them is alive. When i turn off second services (at port 8086), 'show keepalive' command show alive only 8085 services. All services added in one time.

Today i execute commands:

1. suspend content

2. 'no balance' (to disable balance aca and switch to default)

3. 'arrowpoint-cookie name ccprod' (to define cookie name for content)

4. make content active

It doesn't help. All users come only at first instances on each server. And second stay idle.

get a show tech, capture a sniffer trace with 10 connections going to your content rule, then capture another show tech.

Send me everything gdufour@cisco.com

OR submit a service request, provide the info above to the TAC and get me the case #.

Gilles.

Hello, I hava same problem.

I have 2 instances webservers on one hardware appliance.

All users come only at first instances with arrowpoint-cookie.

Have you found a solution to the problem?

Sorry for my bad english

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: