LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-08-2015, 06:11 PM   #1
cilbuper
Member
 
Registered: Mar 2008
Posts: 141

Rep: Reputation: 0
Setting up distributed servers (web) in multiple locations - load balance question.


What I am looking at doing is placing a number of servers (x) in (x) number of locations (let's say 6). I know that this is widely done on very large websites but what I am looking at doing is hosting multiple domains and multiple "hosting accounts". The idea is to place all the servers on business broadband plans with all the servers being identical.

What I'm not sure of is what I need to research to do this. I plan on running RHEL or Debian and possibley run XEN, KVM or OpenVZ if a hypervisor is needed.

I'm guessing that there needs to be a DNS server or domain controller that receives all the requests and then forwards them to the appropriate server location. Is this where load balancing would take place or is that done somewhere else? Does the DNS/DC need to be a seperate machine or can it be on one of the hosts (It can be on it's own VM if needed).

Should this network always run a VPN to talk to each other or is there no need for that?

Any information on what I should research to make this work would be greatly appreciated. I'm pretty confident on the OS side (hypervisor/OS) but don't know what is the exact terminology for what I am looking at doing - pointers on where to look and or suggestions would be greatly helpful and appreciated.
 
Old 03-08-2015, 11:36 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Your question is a huge depends. Typically, a large scale, multi-datacenter configuration would look like the following.

Code:
           GTM (global traffic manager)
                   |
      geolocation routing policy
      |                        |
   East coast              West coast
   |       |               |       |
 LB VIP  LB VIP          LB VIP  LB VIP       (load balancer [LB] virtual IPs [VIP])
   |          |            |          |
services<-->services    services<-->services
The products and services you use to satisfy all of those components depends on your company culture, budget constraints, and technical prowess of staff.

Last edited by sag47; 03-08-2015 at 11:39 PM.
 
Old 03-09-2015, 02:30 AM   #3
ChooseLife
Member
 
Registered: May 2007
Distribution: Ubuntu, RHEL, Slackware
Posts: 49

Rep: Reputation: 17
Depends.

- How geographically disperse are these servers? Same datacenter, multiple datacenters with dedicated links between them, separate locations connected via internet? Based on this, the solution will be either a load-balancer for the web traffic itself, or a DNS round-robin.

- Do these servers share anything in the backend? Database, filesystem?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
load balance to several servers in three locations - use DNS or ? jliegel Linux - Server 2 03-16-2014 09:18 AM
load balance to several servers in three locations - use DNS or ? jliegel Linux - Networking 2 03-16-2014 09:02 AM
LXer: How To Use pfSense To Load Balance Your Web Servers LXer Syndicated Linux News 0 11-18-2011 11:41 AM
Load Balance Web Servers SSBN Linux - Networking 4 08-23-2004 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration