LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2009, 07:32 PM   #1
theuser26
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
Question Load balancing


Hello.

I need to build a website to download big quantity of information; the downloaded data will be saved in many servers, so i have to add a load balancing system.

How can i start?

What is the easyest software to do something like this?

Any help will be welcome.

Kind regards.
 
Old 10-07-2009, 08:21 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and Welcome to LinuxQuestions,

Could you clarify a bit what you mean with building a website to download big quantity of information? Do you mean you are building a website that offers a lot of data that can be downloaded? Or are you doing it the other way around, that is, that your website will download data from other servers and store it on your servers?

Load balancing a website and the traffic isn't that difficult but I'm not sure about the data, how that could be processed.

Kind regards,

Eric
 
Old 10-07-2009, 10:33 PM   #3
theuser26
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Hello EricTRA and thank you for your answer.

My website will download data from other servers.

Regards.
 
Old 10-08-2009, 01:42 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
If you just want to download the data, why would you need load balancing?
 
Old 10-08-2009, 08:48 AM   #5
theuser26
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
I need a load balancing system to decide what server to use whenever it is necessary guard information.
 
Old 10-08-2009, 09:52 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

So if I understand you correctly you need a distributed data store behind a load balancing program?

Is this what you are looking for?
Distributed Data Store
Sector/Sphere

Kind regards,

Eric
 
Old 10-08-2009, 01:30 PM   #7
theuser26
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
I dont know if "load balancing" or "distributed data store" are the right term.

I have 1 web server and multiple servers to store information. I have to find some way to decide what is the correct data server to use whenever the website needs to download information from other servers.
 
Old 10-09-2009, 08:35 AM   #8
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

In my opinion if you only have one webserver that will do all the work, then you don't need load balancing. Load balancing is a way of distributing 'the workload' between multiple servers that offer the same service, like a webserver, and that 'hide' behind a virtual IP. For more information about load balancing you can check out heartbeat (Google is your friend).

It seems that you only need the distributed data store to be able to save what's downloaded on multiple servers. I would check out the second link in my previous post (Sector/Sphere). I personally haven't worked with it but it looks like they have a lot of possibilities using scripts. That way you would be able to save data using scripts as filters.

Kind regards,

Eric
 
Old 10-09-2009, 09:06 AM   #9
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
My Two cents

You could create a cluster of all nodes - And all nodes in turn could be connected to Single SAN (If you choose - you can use NAS)

Since with a cluster - one of the nodes could be "Master Node" - this node will have channel bonding (preferably 2 bonds - Active Backup/mode 1 - High Availablity) - Should this go off for some reason - Clustered "Download" Service could resume from other node.

Downloads will continue unhampered - and will go to designated RAID/SAN/NAS - whatever.
 
Old 10-13-2009, 11:48 PM   #10
theuser26
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Asimba: how can i use multiple servers to store X quantity of information with a SAN or a NAS network?

Why a SAN or a NAS network is a better choice than a distributed data store?
 
Old 10-14-2009, 12:20 AM   #11
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Well NAS is nothing but a network storage and computer takes it as a network storage. SAN would be better off. Just for storing data there is no need of cluster. SAN could do your job. And if you are looking for data redundancy, you can get SAN with RAID as well.
I would like to know why are you looking for clustering for just data storage and downloads?
 
Old 10-14-2009, 04:17 AM   #12
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
Quote:
Originally Posted by theuser26 View Post
Asimba: how can i use multiple servers to store X quantity of information with a SAN or a NAS network?

Why a SAN or a NAS network is a better choice than a distributed data store?

X quantity of information - you could use a daemon/cron job to monitor (ifconfig tx/rx data)

ifconfig will return tx/rx numbers - how you interpret those - you need to work on them.

Secondly - a unified shared storage - is better in terms of maintenance - since you might want to install RAID (Whatever kind you choose) - you wont have to go to individual nodes and take care of RAID/IO scheduling/multi blah blah.

And considering that you have specialized storage stuff like HP EVA - enterprise virtual array - you might be better off with simply plugging in drives as and when needed.

but again - that's lazy me - you might have different opinion.
 
Old 10-14-2009, 07:29 AM   #13
theuser26
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Im not an expert in networks, so this thread is very difficult to me .

What i still dont understand is if i have to choose between SAN/NAS and a distributed data storage or i need them both?
 
Old 10-14-2009, 07:32 AM   #14
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
dunno - but keyword would be to read manuals and never stop at that
 
Old 10-14-2009, 07:42 AM   #15
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
NAS - Network attached storage. Its like making a file server and mounting the shares at the client. Its not virtual and client knows that it is using a shared/networked storage.

SAN - Storage area network - Clients will treat it as local storage even though being on network.

SANs could be expensive and will have a dedicated hardware requirement. On the other hand, you can create NAS using some software packages like FreeNAS and installing it on your hardware. A cheaper option for network storage.
 
  


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 Balancing jjrowan Linux - Networking 1 03-06-2009 01:02 PM
Load Balancing Winanjaya Linux - Networking 3 10-03-2006 08:13 AM
Load Balancing without S/W hellmet Linux - Networking 2 09-28-2006 02:37 AM
Load Balancing matux Linux - Networking 0 01-05-2005 10:59 AM
Load Balancing? gsibble Linux - Networking 3 12-09-2003 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:39 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