Allied Telesis Routers and Switches User Manual
Page 6

Configure Load Balancer Redundancy on Allied Telesis Routers and Switches
6
If one of the load balancers goes down, the firewall configuration needs to change. This
example uses triggers to make this change automatically, by running a script when the state
changes. See
"Create the Scripts" on page 9
for instructions for making the scripts.
Enable triggers.
enable trigger
Set the router to run the script
master.scp
if it becomes the master load balancer. This
script adds firewall allow rules to support the resource pools.
create trigger=2 module=loadbalancer event=master
script=master.scp
Set the router to run the script
slave.scp
if it becomes the slave load balancer. This script
removes redundant firewall allow rules.
create trigger=3 module=loadbalancer event=slave script=slave.scp
Save the configuration and set the router to use it when it restarts.
create config=lb_redun.cfg
set config=lb_redun.cfg
9. Configure triggers
10. Save the configuration
- AT-9800 (110 pages)
- AT-2750TX- (2 pages)
- AT-2701FTX (2 pages)
- AT-2451FTX (238 pages)
- AT-WA1104G-10 (99 pages)
- AlliedWare AR440S (53 pages)
- CG-WLBARGS (58 pages)
- AT A35/SX AT-A35-SX/SC (2 pages)
- AT-2750FX/ (2 pages)
- 86222-10 (14 pages)
- AR44x (22 pages)
- CG-WLBARGMO (56 pages)
- AT 2916T AT-2916T (2 pages)
- RG6x4 Series (3 pages)
- AR441S (6 pages)
- AT-2916SX (74 pages)
- AT-2931SX (140 pages)
- AT-2931SX (18 pages)
- AT-2931SX (76 pages)
- AT-2931SX (144 pages)
- AT-2931SX (136 pages)
- AT-AR236E (36 pages)
- AT-AR236E (19 pages)
- 86241-01 (4 pages)
- MiniMAP 9100 (2 pages)
- POTS24 (2 pages)
- 86241-02 (12 pages)
- AT WCP201G AT-WCP201G-001 (2 pages)
- 86251-05 (40 pages)
- ADSL48 (2 pages)
- 210 (8 pages)
- R800 Series (30 pages)
- NETEXTREME II AT-2973T/4 (176 pages)
- AT-WR2304N (67 pages)
- AT-AR750S-dp (5 pages)
- AT-AR300 (36 pages)
- AT AR750S AT-AR750S (5 pages)
- AT-AR441S (5 pages)
- AT-2916SX/ (2 pages)
- 7112 (2 pages)
- AT-WA1004G (142 pages)
- AlliedWare NetScreen Routers (12 pages)
- AT-27xx (3 pages)
- AT-WR4500 (264 pages)