cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2114
Views
3
Helpful
6
Replies

CSS 11501 Load balancer

net buzz
Level 1
Level 1

Hi!

I have configured a Cisco Load Balancer with the attached config.

I am able to ping the virtual ip address and all services are active and alive.

Could you please check whether the config is ok.

See attached docs.

Thanks,

Alvin

1 Accepted Solution

Accepted Solutions

Alvin,

you do not need to specify the url or header-field.

The config :

content Apps-Servers

add service www-Apps1

add service www-Apps2

protocol tcp

vip address 172.18.12.25

balance leastconn

port 7778

active

This is enough to handle all requests that starts with http://172.18.12.25:7778/....

G.

View solution in original post

6 Replies 6

branfarm1
Level 4
Level 4

Are you experiencing troubles with your setup?

My first guess is that even though you can ping your VIP and services show as 'Alive' you are not getting anything back when you attempt to connect through the VIP address. I ran into this same problem when I tried to load-balance servers in the same subnet as the clients who would be connecting.

If I understand the CSS correctly, when a request is received from a client, it passes it on to one of the service hosts with the source information intact. This means that from the perspective of your server, the request is coming directly from the client. When the VIP and the servers are in the same subnet, you have to fool the servers into thinking the traffic originated from the CSS -- this is because for proper load-balancing, you have to have two-way traffic through the CSS. Whatever traffic hits the CSS needs to go back through the CSS to the client. You can do this using a 'group'.

In your case, you would define a group as follows:

group Apps-Servers

vip address 172.18.12.25

add destination service www-Apps1

add destination service www-Apps2

active

This config makes all traffic appear as if it was sourced from the CSS, so the traffc flow goes client -> CSS -> server -> CSS -> client.

Hope that helps

Hi!

Thanks for your help. This configuration is working fine.

I am facing another issue though. I need to access the servers via a URL.

As per the configuration done, I am able to access the servers using the following URL:

http://172.18.12.25:7778

But to access the application found on the servers I will need to use the following URL:

http://172.18.12.25:7778/forms/frmservlet?config=silpio

I have tried a configuration using header-field-group, but it did not work.

Can you please help.

Thanks and regards,

Alvin

Hi Nyle,

Thanks for your help.

I am able to access the servers using the following URL:

http://172.18.12.25:7778

But to access the application found on the servers I will need to use the following URL:

http://172.18.12.25:7778/forms/frmservlet?config=silpio

I have tried a configuration using header-field-group, but it did not work.

Can you please help.

Thanks and regards,

Alvin

Alvin,

you do not need to specify the url or header-field.

The config :

content Apps-Servers

add service www-Apps1

add service www-Apps2

protocol tcp

vip address 172.18.12.25

balance leastconn

port 7778

active

This is enough to handle all requests that starts with http://172.18.12.25:7778/....

G.

Thanks Gilles.

I am getting another issue relating to the application being used.

I am able to obtain the application main form using the following URL:

http://ssr:7778/forms/frmservlet?config=pioscan

When calling another form, I am getting the attached error message from ORACLE.

Please note that ssr has been mapped to the vip 172.22.72.25 in the PC's hosts file.

This error does not occur when I am bypassing the load balancer and connecting directly to the application server.

Please see the attached documents.

Thanks,

Alvin

Hi,

I have configured two Cisco CSS 11501 on an active-standby mode.


The users are complaining that the access to the Oracle application forms is slow.

Can you please check wether the attached configurations can be optimised further.

Please see attached.

Regards

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: