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

Issue with string on Cisco Load balancer

vikramfonseca
Level 1
Level 1

Hi guys,

We had a bit of a problem understanding what happens when there's a string mismatch on a load balancer esp because we were required to create a post incident report.

Pls note the correct sample config on a LB;

service WPST01

ip address 192.168.120.61

keepalive type HTTP

string WPST01

active

service WPST02

ip address 192.168.120.63

keepalive type HTTP

string WPST02

active

service WPST03

ip address 192.168.120.65

keepalive type HTTP

string WPST03

active

!*************************** OWNER ***************************

owner XXX

content PORTAL

protocol tcp

port 80

balance leastconn

add service WPST01

add service WPST02

add service WPST03

vip address 192.168.120.50

advanced-balance arrowpoint-cookie

active

------------------------------------------

What I'd like to know is what would happen as far as the flow of information is concerned, setting up on connections, maintaining sessions, etc if the config was changed to;

service WPST01

ip address 192.168.120.61

keepalive type HTTP

string WPST02

active

service WPST02

ip address 192.168.120.63

keepalive type HTTP

string WPST02

active

service WPST03

ip address 192.168.120.65

keepalive type HTTP

string WPST03

active

!*************************** OWNER ***************************

owner XXX

content PORTAL

protocol tcp

port 80

balance leastconn

add service WPST01

add service WPST02

add service WPST03

vip address 192.168.120.50

advanced-balance arrowpoint-cookie

active

------------------------------------------

Now, service 1 has a string that references a cookie for service 2.

Looking forward to hearing from you soon.

2 Replies 2

smahbub
Level 6
Level 6

when the service name does not match with the string name the loadbalancing will not happen properly due to mismatch of the strings and an error stating the string mismatch will be given.The strings should match for proper loadbalancing to take place.

Hey smahbub, thanks for replying. I agree with the reason you've given but I'd also like to know how the information will flow with the incorrect config, how the connections will now be made etc.

We changed the string name to match the service and the issue was resolved but it doesn't really make sense considering that the sole purpose of putting the string there is so that the loadbalancer will insert the name of that particular service in the cookie.

looking forward to hearing more from you then,

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco