Instruction/ maintenance manual of the product Routers and Switches Allied Telesis
Go to page of 15
C6 13- 1608 8-0 0 REV A www .alliedtelesis .com Ho w T o | Int r od ucti on In man y Server Hosting envir onme nt s, two requi rements are impor tant: maximising thr o ughput a vailability to each ser vice, a nd minimising ser vice downtime. This H ow T o Note co ntribu tes towards both these a ims.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 2 The Note’ s second example extends the f irst exa m p le by showi ng how to contr ol server sele ction for SFTP (Se cure File T rans fer Pr ot ocol) traff ic, while st ill providing ser ver r edu n dancy if the pr ef erred ser v er fails.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 3 Exampl e of Basic Re dundan cy Confi gure Load Bal ancer 1 Name thi s r ou ter LB -1.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 4 Enabl e the fi rewa ll. enable firewall Create a fire wa ll policy . create firewall policy=lb Set the f ire wal l session t imeouts f or TCP , UDP and other pack et types, in mi nutes.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 5 Configur e VRRP fo r the private side i nterface. This step cr eates a vir tual addr ess fo r the priva te interfac e of both loa d balancin g r out ers.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 6 If one of the load balan cers goes down, th e fir ewall con figuration nee ds to cha nge . This example uses t r ig gers t o m ak e this cha nge automatica lly , by running a script when the st ate changes.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 7 Confi gure Load Bal ancer 2 Load balancer 2 is id entical to lo ad balancer 1 , except for its: • name (which is .
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 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.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 9 Create the Scripts This s ection des cribes the s cripts that the trigger facility ru ns when the master or s la ve load balancer cha nges. Cr eate the same scri pts o n both load balancer 1 a nd load ba lancer 2.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 10 Ext en sion: Cont r oll ing S er v e r Sele ct ion Sometimes you ma y pr efer y our customers to access a cert ai n ser ver f o r certain traffi c types. H o wever , if that ser ver fails, they still require redundan cy to an altern ate ser ver .
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 11 Config ure the T rigg ers: E xtra C omma nds When the pr ef erred ser v er go es down or comes back up a ga in , the lo ad balancer ne eds to change to t he appr opriate res our ce .
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 12 Cr eat e N e w Scr i pts Th is section des cribes the s cripts t hat the trig ger facility runs wh en the prefe rred SFTP server g o e s down or comes b ack up again.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 13 Confi gurat ion Summ ar y This sect ion sh ows the full extended confi gurations and scr i p ts, wit hout comments.
Con figure Lo ad Balan cer Red un dancy on Allied T e lesis Route rs and Sw itches 14 Com mands: Lo ad Balance r 2 set sy s na me =LB-2 crea te v lan= vl an2 v id =2 crea te v lan= vl an3 v id =3 crea te v lan= vl an4 v id =4 add vl an =2 p ort=1 add vl an =3 p ort=2 -4 add vl an =4 p ort=5 enab le i p add ip int =v lan2 ip =1 72.
USA Headquarters | 19800 Nor th Creek Parkwa y | Suite 200 | Bothell | W A 98011 | USA | T: +1 800 424 4284 | F: +1 425 481 3895 European Headquarters | Via Motta 24 | 6830 Chiasso | Switzerland | T: +41 91 69769.00 | F: +41 91 69769.11 Asia-Pacific Headquarters | 11 T ai Seng Link | Singapore | 534182 | T : +65 6383 3832 | F: +65 6383 3830 www .
An important point after buying a device Allied Telesis Routers and Switches (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Allied Telesis Routers and Switches yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Allied Telesis Routers and Switches - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Allied Telesis Routers and Switches you will learn all the available features of the product, as well as information on its operation. The information that you get Allied Telesis Routers and Switches will certainly help you make a decision on the purchase.
If you already are a holder of Allied Telesis Routers and Switches, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Allied Telesis Routers and Switches.
However, one of the most important roles played by the user manual is to help in solving problems with Allied Telesis Routers and Switches. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Allied Telesis Routers and Switches along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center