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

One armed bandit and one port to another

mmedwid
Level 3
Level 3

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

Gilles Dufour
Cisco Employee
Cisco Employee

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.

View solution in original post

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

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.

That is extremely helpful. Thank-you!!

Review Cisco Networking for a $25 gift card