cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
587
Views
0
Helpful
4
Replies

CSM: Redirect

gsuarez0514
Level 1
Level 1

We are trying to redirect tcp 3389 and are unsuccessful. Is this possible. Below is part of our config (ip address changed)

serverfarm STS02_FARM_CLT

nat server

no nat client

predictor leastconns

real 192.168.1.21

inservice

real 192.168.1.22

inservice

probe STSPROBE

!

serverfarm STS02_FARM_SVR

nat server

nat client STS02_POOL

predictor leastconns

real 192.168.1.21

inservice

real 192.168.1.22

inservice

probe STSPROBE

serverfarm STS02_REDIRECT

nat server

no nat client

redirect-vserver STS02-DOWN

virtual 192.168.1.43 tcp 3389

inservice

vserver STS02_FARM_CLTS

virtual 192.168.1.20 tcp 3389

serverfarm STS02_FARM_CLT backup STS02_REDIRECT

persistent rebalance

inservice

!

vserver STS02_FARM_SVR

virtual 192.168.1.20 tcp 3389

serverfarm STS02_FARM_SVR backup STS02_REDIRECT

persistent rebalance

inservice

4 Replies 4

Gilles Dufour
Cisco Employee
Cisco Employee

The normal configuration should look like this :

serverfarm STS02_REDIRECT

nat server

no nat client

redirect-vserver MATT

webhost relocation 192.168.1.43:3389/%p 302

inservice

Gilles.

I tried the config and did not get a successful connection. Is this for web redirectioin only? What I have is two terminal servers (TS) in a TS cluster. Users RDP(port 3389)into the TS cluster. We are using the CSM's to loadbalance, what I'm trying to accomplish is when both terminal servers are down, redirect the users to a third terminal server at our DR site.

the "redirect" feature is indeed an HTTP only function.

If this is not HTTP traffic, this won't work.

If you want to send traffic to a set of servers and if they both fail use a 3rd one, you should use the backup function.

Configure the backup server in its own serverfarm.

If the server is outside your network or multiple hops away, you may want to configure 'client nat' for this serverfarm.

Then, under the vserver config, when you add the primary serverfarm, use the backup option to add the 2nd one.

ie:

gdufour-cat6k-2(config-slb-vserver)#server linux backup windows

Gilles.

Thank you. That fixed the issue I was having. I appriciate you help.

Review Cisco Networking for a $25 gift card