Allied Telesis Routers and Switches manual Example of Basic Redundancy, Configure Load Balancer

Page 3

Example of Basic Redundancy

Configure Load Balancer 1

1.Name the router

Name this router LB-1.

set system name=LB-1

2.Create the VLANs

Create the three VLANs that this example uses:

VLAN 2 for the public Internet side

create vlan=vlan2 vid=2

VLAN 3 for the private LAN side

create vlan=vlan3 vid=3

VLAN 4 for managing the load balancer redundancy create vlan=vlan4 vid=4

3.Add ports to the VLANs

Add ports to the three VLANs.

add vlan=2 port=1

add vlan=3 port=2-4

add vlan=4 port=5

4.Configure IP on the VLANs

Enable IP.

enable ip

Give the public VLAN a unique public address. Note that public clients will not browse to this address; they will browse to the virtual balancer’s IP address instead (see step 8).

add ip int=vlan2 ip=172.214.1.3 mask=255.255.255.0

Give the private VLAN a private address. Note that the servers will not use this address as a gateway; they will use the VRRP virtual address instead (see step 7).

add ip int=vlan3 ip=192.168.1.200

Give the redundancy management VLAN a private address.

add ip int=vlan4 ip=192.168.2.2

Configure Load Balancer Redundancy on Allied Telesis Routers and Switches

3

Image 3
Contents Examples IntroductionWhich products and software version does it apply to? What information will you find in this document?Example of Basic Redundancy Configure Load BalancerDisable the GUI and the Http server on port Configure the firewallConfigure load balancing Configure VrrpSave the configuration Configure triggersSet system name=LB-2 Either Create the Scripts Script for when a load balancer becomes the slave slave.scpExtension Controlling Server Selection Configure Load Balancing Extra CommandsSlave.scp Configure the Triggers Extra CommandsModify the Scripts Master.scpCreate New Scripts Script for when the preferred server goes down sftp1down.scpCommands Load Balancer Configuration SummaryCommands Load Balancer File sftp1up.scp File master.scpFile slave.scp File sftp1down.scp