12-12-2003 09:46 AM
Im trying to migrate some server farms out of our IOS SLB load balancer to our new CSS11506.
Need some help converting this IOS SLB config into a working CSS 11506 config. So far its not working. With the group command in the CSS config using the add destination the application works but, they see the CSS as the source address because its NATing the traffic to/from the client. This breaks the application, because it needs to build some session and cache information based on the source IP of the client which is being hidden by the NATing. Without the group command add destination service there seems to be a problem with the redirection/communication handoff from the CSS to the server and client. Does anyone see any glaring problems with my conversion of the IOS SLB config to the CSS?
------------------------
IOS SLB Config
------------------------
ip slb probe CS3MW-PROBE http
request url /lbprobe/status.jsp
port 8181
interval 30
!
ip slb serverfarm CS3MW-FARM
nat server
predictor leastconns
probe CS3MW-PROBE
!
real 192.168.252.171
inservice
!
real 192.168.252.172
inservice
!
real 192.168.252.173
inservice
!
ip slb vserver CS3MW-SVR
virtual 192.168.252.96 tcp 0
serverfarm CS3MW-FARM
inservice standby UNIV-PROD1-VLAN-252
!
-----------------------
CSS Config
____________
service tpa_pzo1_cs3_00-7011
port 7011
keepalive port 7011
keepalive type http
protocol tcp
ip address 192.168.252.171
keepalive uri "/main.jsp"
active
!
service tpa_pzo1_cs3_01-7011
ip address 192.168.252.172
port 7011
keepalive port 7011
keepalive type http
keepalive uri "/main.jsp"
protocol tcp
active
!
service tpa_pzo1_cs3_02-7011
ip address 192.168.252.173
port 7011
keepalive port 7011
keepalive type http
keepalive uri "/main.jsp"
protocol tcp
active
owner RTS
!
content pzo1-cs3-p1
vip address 192.168.3.34
add service tpa_pzo1_cs3_00-7011
add service tpa_pzo1_cs3_01-7011
add service tpa_pzo1_cs3_02-7011
protocol tcp
port 8181
active
!
group pzo1-cs3-p1
vip address 192.168.3.34
add service tpa_pzo1_cs3_00-7011
add service tpa_pzo1_cs3_01-7011
add service tpa_pzo1_cs3_02-7011
active
12-12-2003 10:11 AM
Hi,
So to be clear here, your clients connect via port 8181 and then are load balanced to the servers on port 7011 ? This is the way it is configured now
Thanks
Pete..
12-12-2003 11:26 AM
Yes the clients are hitting port 8181 and being translated to port 7011 on the servers. This is also a (redundant pair in active standby) one armed CSS configuration with a single Gigabit FX connection to a pair of 6513's.
12-12-2003 11:07 AM
I'm not familiar with IOS SLB, but with the CSS, keep in mind that the CSS needs to see the session traffic in both directions to work properly, this generally meands that the CSS is directly in-line from a bridging or routing perspective. If there are any paths that the traffic can take that would bypass the CSS, you're going to have problems.
Considering that the traffic gets through when your services are configured as group destinations, I suspect that there is a non-CSS path that the servers are trying to use when responding to the client with the group disabled.
12-12-2003 11:37 AM
I've just read your reply to the other message. NAT is a requirement for a true one-armed configuration. One way to make this work without NAT and without changing the physical setup would be to trunk two vlans across the gigabit connection, one VLAN for the front-end virtuals, and a second back-end vlan for your servers. Configure the servers to point to the back end CSS address as their gateway, and the CSS will route between the VLANs for you.
I use this configuration in my environment with a pair of 6509's and it works pretty well.
12-12-2003 01:08 PM
Thanks for the insight, this is the same conclusion i have come to as well after pouring through sniffer traces. I've added circuit interfaces for both the VIP and the servers. Now i've got to convince our server/app guys to change the default gateway.
01-07-2004 12:32 AM
HI,
I read through the conversation and am missing one detail regarding the communcation between the clients and theservers. is the original IP-Address of the clients necessary to be seen by the server? If not just do a source-nat on the CSS so that the server guys do not have to change der default GW
Best Regards,
Joerg
01-07-2004 12:37 AM
HI I re-read all and have to excuse I missed the thing with the natin in the very first posting.
so just forget about my posting...
Cheers,
Joerg
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide