LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Load balance (https://www.linuxquestions.org/questions/linux-software-2/load-balance-4175471560/)

ust 07-31-2013 02:35 AM

Load balance
 
Our development team is working to re-write the web system ( LAMP ) , we are considering if we can use the existing hardware device F5 Load balancer .

I am the person to responsible for linux administration only , not involve the program development and F5 administration , now they are still in development phase , I just would like to ask if F5 can work with web to do load balancing ? if yes , what I need to do in LAMP , what I need to consider / prepare ? thanks

SAbhi 07-31-2013 03:24 AM

Quote:

I just would like to ask if F5 can work with web to do load balancing ? if yes , what I need to do in LAMP , what I need to consider / prepare ?
Yes F5 works with web to do load balancing, the structure is something like that:

Code:


          Node A
              |
              |
          Request
              |
              |
              V    (Virtual IP)
=========Load==balancer==================
 |          |            |          |
pool        pool        pool        pool
 |          |            |          | 
 V          V            V          V
Backend-1 backend-2    backend-3    backend-4

Node A will be some device making the request for a webpage that is deployed on the backend servers, the loadbalancer while acting as a reverse proxy accepts the request and route it to one of the backend servers based on a routing algorithm.
These backends servers should be your apache instances.
to prepare apache for f5 LB refer: http://www.f5.com/pdf/deployment-gui...-apache-dg.pdf

on a whole the process goes like this:

Code:

Virtual====has 1 default ==>pool---has--->monitor (to check the backends health status)====>pool has 2 or more than 2 backends====>Backend Apache services
        | OR
        -==========>has===> rules==has their own===>pools---has their---> monitor====>pool has 2 or more than 2 ====>Backends


TB0ne 07-31-2013 08:38 AM

Quote:

Originally Posted by ust (Post 5000068)
Our development team is working to re-write the web system ( LAMP ) , we are considering if we can use the existing hardware device F5 Load balancer .

I am the person to responsible for linux administration only , not involve the program development and F5 administration , now they are still in development phase , I just would like to ask if F5 can work with web to do load balancing ? if yes , what I need to do in LAMP , what I need to consider / prepare ? thanks

F5 is a load balancer...it doesn't know or CARE what's on the other end. If you bothered to even TRY to look anything up, one of the first hits in Google is from F5's own forums:
https://devcentral.f5.com/community/...1174142/asg/50

..complete with tutorials. If you really are an administrator with ten years of experience, at what point are you going to start doing research of your own, rather than asking others to look things up and spoon-feed you an answer??


All times are GMT -5. The time now is 05:01 PM.