Application Delivery (ADX)

Reply
Contributor
Posts: 39
Registered: ‎05-04-2009

complex backup server requirement

Hi all,

I do have a customer asking for the following - I am trying to cut it down to a minimum setup here:

3 virtual servers offering HTTP: vip1, vip2, vip3

4 real servers offering HTTP: real1, real2, real3, real4

linkage:

vip1: active: real1, backup: real2

vip2: active: real2, backup: real3

vip3: active: real3, backup: real4

How do I configure that? Is this possible at all? Each real server is active for one of the virtual servers and it is being backup for another one except real server #4 with is backup only.

Super Contributor
Posts: 316
Registered: ‎05-01-2009

Re: complex backup server requirement

This is not as simple as it might look initially. Each real server is master itself for one of the real servers nevertheless it is backup as well. The backup setting is therefore something which needs to be set on a per port basis.

Another problem is the fact that you want to use port 80 multiple times - you need to use the "real-port" statement to do so. An example config would look like the following:

server port 80
tcp

server port 8081
tcp
tcp keepalive use-master-state

server port 8082
tcp
tcp keepalive use-master-state

!
server real rs101 192.168.9.101
port http
port http url "HEAD /"
!
server real rs102 192.168.9.102
port http
port http url "HEAD /"
port 8081
port 8081 backup
!
server real rs103 192.168.9.103
port http
port http url "HEAD /"
port 8082
port 8082 backup
!
server real rs104 192.168.9.104

backup
port http
port http url "HEAD /"


server virtual vs222 192.168.8.222
port http
port http lb-pri-servers
bind http rs101 http rs102 8081 real-port http
!
server virtual vs223 192.168.8.223
port http
port http lb-pri-servers
bind http rs102 http rs103 8082 real-port http
!
server virtual vs224 192.168.8.224
port http
port http lb-pri-servers
bind http rs103 http rs104 http

I have used some alias-ports to ensure it is possible to bind the http port multiple times. The alias-ports are used as backup ports for other services. Rs104 is a backup only server. Port 80 is always a "master" port talking about the reals 101 to 103.

Understandable?

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook