Allied Telesis Routers and Switches User Manual

Page 8

Advertising
background image

Configure Load Balancer Redundancy on Allied Telesis Routers and Switches

8

Either:

disable gui

disable http server

Or:

set http server port=8080

enable vrrp

create vrrp=2 over=vlan3 ipaddress=192.168.1.202

enable lb

add lb respool=web selectmethod=roundrobin faillast=no

add lb resource=web1 ip=192.168.1.1 port=80 respool=web

add lb resource=web2 ip=192.168.1.2 port=80 respool=web

add lb virtualbalancer=web publicip=172.214.1.2 publicport=80

respool=web

enable lb virtualbalancer=web

set lb redundancy peerip=192.168.2.2 listenport=5000

redunip=172.214.1.2 publicint=vlan2 redunmask=255.255.255.0

enable lb redundancy

enable trigger

create trigger=2 module=loadbalancer event=master

script=master.scp

create trigger=3 module=loadbalancer event=slave script=slave.scp

create config=lb_redun.cfg

set config=lb_redun.cfg

6. Disable the GUI and the HTTP server on port 80

7. Configure VRRP

8. Configure load balancing

9. Configure triggers

10. Save the configuration

Advertising