Technical data

114 Brocade ServerIron ADX Advanced Server Load Balancing Guide
53-1003441-01
Sample configurations
2
ServerIronADX(config)#server port 8080
ServerIronADX(config-port-8080)#tcp
ServerIronADX(config-port-8080)#exit
The previous commands add port profiles for the two HTTP ports in this example that are using port
numbers other than the well-known port 80: 4199 and 8080. The tcp command at each port’s
configuration level is required. If you do not identify the ports as TCP ports, the ServerIron ADX
assumes the ports are UDP ports and thus does not use an appropriate health check for the ports.
You do not need to add a port profile for port 80, since that is the well-known HTTP port.
ServerIronADX(config)#server cache-name Cache-Server1 10.157.22.26
ServerIronADX(config-Cache-Server1)#port 4199
ServerIronADX(config-Cache-Server1)#port 8080
ServerIronADX(config-Cache-Server1)#port http
ServerIronADX(config-Cache-Server1)#exit
ServerIronADX(config)#server cache-name Cache-Server2 10.157.22.27
ServerIronADX(config-Cache-Server2)#port 4199
ServerIronADX(config-Cache-Server2)#port 8080
ServerIronADX(config-Cache-Server2)#port http
ServerIronADX(config-Cache-Server2)#exit
The previous commands add cache servers Cache-Server1 and Cache-Server2. The port
commands add the HTTP ports to the cache servers. This example does not include optional
modification of the HTTP health check parameters for specific servers. For information about
customizing an HTTP health check for a specific server.
ServerIronADX(config)#server virtual-name-or-ip Proxy 10.157.22.2
ServerIronADX(config-vs-Proxy)#port 4199 sticky
ServerIronADX(config-vs-Proxy)#port 8080 sticky
ServerIronADX(config-vs-Proxy)#bind 4199 Cache-Server1 4199 Cache-Server2 4199
ServerIronADX(config-vs-Proxy)#bind 8080 Cache-Server1 8080 Cache-Server2 8080
ServerIronADX(config-vs-Proxy)#exit