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

One armed bandit and one port to another

I was trying to setup a CSS in one-armed bandit mode for the first time per the URL below. But I want to be able to have arbitrary ports on the "real" servers. E.g. use https://hooty.com as the VIP but on the backend take you to hoot1.hooty.com port 8443 say while http://hooty.com would direct you to hoot1.hoot.com port 8080. Must the port number on the VIP equal the port number on the real server in one-armed-bandit mode?

http://www.cisco.com/warp/public/117/one_armed_bandit.html

group Servers1

vip address 26.19.98.45

add destination service oldwww:80

active

group Servers2

vip address 26.19.98.45

add destination service oldwww:443

css-n1-1(config)# group Servers2

css-n1-1(config-group[Servers2])# active

%% An active source group with that address already exists

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: One armed bandit and one port to another

The port number of the vip does not have to to be the same as the real server.

You can set the port you want for the real server with the 'port' command under the service definition.

This is true for one-armed or any other type of setup.

The problem in your config is that you can't create 2 groups using the same vip ip address.

So, simply configure all your servers under one group.

ie:

group Servers1

vip address 26.19.98.45

add destination service oldwww:80

add destination service oldwww:443

active

Gilles.

2 REPLIES
Cisco Employee

Re: One armed bandit and one port to another

The port number of the vip does not have to to be the same as the real server.

You can set the port you want for the real server with the 'port' command under the service definition.

This is true for one-armed or any other type of setup.

The problem in your config is that you can't create 2 groups using the same vip ip address.

So, simply configure all your servers under one group.

ie:

group Servers1

vip address 26.19.98.45

add destination service oldwww:80

add destination service oldwww:443

active

Gilles.

Community Member

Re: One armed bandit and one port to another

That is extremely helpful. Thank-you!!

265
Views
0
Helpful
2
Replies
CreatePlease to create content