Allied Telesis Routers and Switches Datasheet
Allied Telesis Routers and Switches Datasheet

Allied Telesis Routers and Switches Datasheet

Allied telesis router and switch data sheet

Advertisement

Quick Links

Configure Load Balancer Redundancy on Allied Telesis
How To|
Routers and Switches
Introduction
In many Server Hosting environments, two requirements are important: maximising
throughput availability to each service, and minimising service downtime. This How To Note
contributes towards both these aims.
The Note is split into two parts. The first part illustrates both redundancy of servers and
redundancy of the load balancers themselves. The second part provides an optional
extension that enables you to control server selection without losing redundancy. This is
helpful when you prefer to have customers access a certain server, instead of balancing that
traffic. However, if that server fails, the customers need to use the alternate server instead.
The examples
The network configuration for these examples is shown in the following figure.
client
The Note's first example illustrates how to load balance web services, and includes:
Load balancing of incoming web traffic to maximise throughput to web servers. It also
provides redundancy if a web server goes down.
Redundancy between two load balancing routers. In the unlikely event of a router going
down, a backup router takes over as master and continues the load balancing work for
incoming web connections. Load balancer redundancy and VRRP ensure that clients and
servers access the same public and private addresses no matter which router is the master.
A firewall to secure the LAN against attack. The firewall configuration changes
automatically if the backup router takes over the load balancing role.
C613-16088-00 REV A
public side
public address
172.214.1.3
redundant
public
load balancer
VLAN 2
virtual address
172.214.1.2
public address
172.214.1.4
Load Balancer 1
private address
192.168.1.200
redundancy
management
VLAN 4
private
192.168.2.2
VLAN 3
with VRRP
virtual
address
192.168.1.202
redundancy
management
VLAN 4
192.168.2.1
private address
192.168.1.201
Load Balancer 2
private side
Web/SFTP server 1
192.168.1.1
Web/SFTP server 2
192.168.1.2
lb-redundancy.eps
www.alliedtelesis.com

Advertisement

Table of Contents
loading

Summary of Contents for Allied Telesis Routers and Switches

  • Page 1 Configure Load Balancer Redundancy on Allied Telesis How To| Routers and Switches Introduction In many Server Hosting environments, two requirements are important: maximising throughput availability to each service, and minimising service downtime. This How To Note contributes towards both these aims.
  • Page 2: What Information Will You Find In This Document

    AR750S, AR7x5 routers • Rapier i Series switches • AT-8800 Series switches • AT-9800 Series switches It requires software version 275-05 or later (except version 276-01, which lacks the necessary trigger functionality). Configure Load Balancer Redundancy on Allied Telesis Routers and Switches...
  • Page 3 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...
  • Page 4: Configure The Firewall

    GUI, so you cannot use the GUI to create this configuration. You also cannot use the firewall pages in the GUI to modify this configuration’s firewall settings, because the GUI does not recognise this firewall policy. However, you can use the GUI to monitor the router. Configure Load Balancer Redundancy on Allied Telesis Routers and Switches...
  • Page 5: Configure Vrrp

    Define the load balancing redundancy peer (Load Balancer 2 in the figure in examples" on page set lb redundancy peerip=192.168.2.1 listenport=5000 redunip=172.214.1.2 publicint=vlan2 redunmask=255.255.255.0 enable lb redundancy Configure Load Balancer Redundancy on Allied Telesis Routers and Switches "The...
  • Page 6 10. Save the configuration Save the configuration and set the router to use it when it restarts. create config=lb_redun.cfg set config=lb_redun.cfg Configure Load Balancer Redundancy on Allied Telesis Routers and Switches "Create the Scripts" on page 9 master.scp slave.scp for instructions for making the scripts.
  • Page 7 5. Configure the firewall enable firewall create firewall policy=lb set firewall policy=lb tcptimeout=5 udptimeout=5 othertimeout=5 add firewall policy=lb int=vlan2 type=public add firewall policy=lb int=vlan3 type=private add firewall policy=lb int=vlan4 type=private Configure Load Balancer Redundancy on Allied Telesis Routers and Switches...
  • Page 8 9. Configure triggers enable trigger create trigger=2 module=loadbalancer event=master script=master.scp create trigger=3 module=loadbalancer event=slave script=slave.scp 10. Save the configuration create config=lb_redun.cfg set config=lb_redun.cfg Configure Load Balancer Redundancy on Allied Telesis Routers and Switches...
  • Page 9 # Remove the associated access rule. delete firewall policy=lb rule=1 # Set the VRRP priority level to a value lower than the master's priority. set vrrp=2 priority=100 Configure Load Balancer Redundancy on Allied Telesis Routers and Switches...
  • Page 10 Note that affinity is turned off. If resource 1 fails, this stops new connections from automatically trying to use the failed resource. Configure Load Balancer Redundancy on Allied Telesis Routers and Switches page 8 for load balancer 2. These extra commands make load balancing act on ip=192.168.1.1 port=22 respool=sftp...
  • Page 11 # Remove the SFTP access rule. delete firewall policy=lb rule=2 Configure Load Balancer Redundancy on Allied Telesis Routers and Switches "Create New Scripts" on page 12 if the first resource fails. This script enables sftp1down.scp if the first resource becomes available again.
  • Page 12 # Enable resource 2 because resource 1 is Closing. enable lb resource=sftp2 Script for when the preferred server comes back up: sftp1up.scp # Disable resource 2 because resource 1 is Up. disable lb resource=sftp2 immediately Configure Load Balancer Redundancy on Allied Telesis Routers and Switches...
  • Page 13: Configuration Summary

    Configure Load Balancer Redundancy on Allied Telesis Routers and Switches...
  • Page 14 Configure Load Balancer Redundancy on Allied Telesis Routers and Switches...
  • Page 15 File: master.scp add firewall poli=lb int=vlan2-1 type=public add fire poli=lb ru=1 int=vlan2-1 action=allow prot=tcp po=80 add fire poli=lb ru=2 int=vlan2-1 action=allow prot=tcp po=22 set vrrp=2 prio=200 File: slave.scp delete firewall poli=lb int=vlan2-1 delete firewall poli=lb ru=1 delete firewall poli=lb ru=2 set vrrp=2 prio=100 File: sftp1down.scp ena lb res=sftp2...

Table of Contents

Save Article as PDF