Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

user restrication on load balance VIP

we need to implement below requirement can any one suggest how to imlement it

1.Sticky command

Once a connection is opened to a physical server, any requests coming from a particular client always go to that server, until either the timeout is reached or the user session is terminated

2.Client-assigned load balancing

All requests coming from a specific client always go to the same physical server. This is done through recognition of the client’s IP address.

3.User session restrictions

User name / IP session restriction based on parameter values(ie only 1 user can login at a time).

Please find the below config

service test1

ip address 10.8.1.25

protocol tcp

keepalive type http

keepalive port 80

active

service test2

ip address 10.8.1.26

protocol tcp

keepalive type http

keepalive port 80

active

content DSS-R1

protocol tcp

vip address 10.8.1.1

port 80

advanced-balance sticky-srcip-dstport

add service test1

add service test2

active

please suggest me how to implement all three points whereas point 3 is very crucial & urgent.

2 REPLIES
Cisco Employee

Re: user restrication on load balance VIP

1/ is done with the advanced-balance command.

I would suggest to replace the current one with 'advanced-balance sticky-srcip' since the destination port is always 80 [per config].

2/ you can force a client to go to a particular server with an acl and the prefer option.

ie:

acl 1

clause 10 permit tcp x.x.x.x destination content owener/DSS-R1 prefer test1

clause 99 permit any any destination any

apply all

acl enable

3/ we will need more details.

Not much can be done so, because the CSS only counts active connections.

So, you can restrict 1 user at a time with the command 'maxconn 1' but I'm not sure if it will help.

You should test it first and see if it does what you need.

Regards,

Gilles.

Community Member

Re: user restrication on load balance VIP

Thanks for your help.

1. I will implement it.

2.I need more info how to configure it practically on switch

3. I checked on css 11503,If i give command on service " max connection (Integer value(Range: 6-65534) ,which may be no of connection on css 11503.

Please suggest.

Regards,

Moorthy

246
Views
0
Helpful
2
Replies
CreatePlease to create content