LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Backwards Clustering? (https://www.linuxquestions.org/questions/linux-networking-3/backwards-clustering-198566/)

ImpactDNI 06-28-2004 02:42 AM

Backwards Clustering?
 
Now, what I'm proposing here, i'm not sure if its ever been done, or if it could be done, but I thought it was a cool idea, and would be quite helpful for people like me... Anyhow, on to explaining my idea:

For 9 months of the year, I live at college. College upload is capped at 10kbs. 10kbs is not enough for me. I enjoy hosting my FTP, Website, and being able to host a game server, but on 10kbs, theres no way. My idea works on the idea behind clustering. One computer triggers others to do something. The school network isn't set up that intricately, we get 2 ethernet jacks in each room. If I use a switch inside, I can get 16 lines (each with a 10kbs upload). You most likely see where I'm going by this point. Say I have 10 basic computers in my room, 192.168.1.1-11... All of my requests come in to 192.168.1.1. Is it possible to have the computer that gets the request to tell the other 9 comps to start uploading (each on their own line) to the person who sent the request? (each uploading a different part of the file). This obviously involves the HTTP or FTP protocols, and dealing with where the files are being sent from.
There would be two options I can think of for storing Files...
1: Each comp has a mirror HD. They are all in sync using something like rsync. They each read from their own HD..
2: One common HD, they all read from the same place (on one of the 10 comps, internal LAN is quicker than it needs to be going out, so they grab a copy of the file and stream it out)....

Hopefully i've made the basic idea of my idea clear. Is it possible? Has it been done? Is there a better way?
Anxiously awaiting a response,
-Impact

fluppi 06-28-2004 03:12 AM

> If I use a switch inside, I can get 16 lines (each with a 10kbs upload).
No, you share still the same limited line, isn't it ?

But why don't you work remote (ssh) on your fast FTP Server outside the college ?

ImpactDNI 06-28-2004 10:40 AM

The box i would have outside college would be on a limited (30kbs) residential line... Better, but not near the 100kbs i THINK i could get if this worked correctly.

As to the first question, the cap is in place per IP address.
When I had a router inside, it made everything an internal IP, with one external... The external was capped, and all the internals were going through that (NAT).
With a switch however, it makes the college server just see the 10 or however many computers, it cant distinguish between the one line going into my room, and the 10 computer IPs inside (as far as i know)
Router: 1 external, 25.25.25.25 --> 10 internals, 192.168.1.1-11...
Switch: 10 externals 25.25.25.25-35

fluppi 06-29-2004 08:53 AM

That depends on the setup of your network equipment, but you can't ask your administrator, he will figure out what you want to do. And I assume he won't like it if you eat all bandwitdh. ;-)

ImpactDNI 06-29-2004 12:00 PM

But is the other part even possible?
Or does the FTP/HTTP protocol not allow recieving from multiple sources?
Anyone ever heard of what im trying to do being done?

comp12345 06-29-2004 02:24 PM

There is an option in the kernel called CONFIG_BONDING and it sounds like what you're trying to do.

Code:

CONFIG_BONDING:

  Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet
  Channels together. This is called 'Etherchannel' by Cisco,
  'Trunking' by Sun, and 'Bonding' in Linux.

  If you have two Ethernet connections to some other computer, you can
  make them behave like one double speed connection using this driver.
  Naturally, this has to be supported at the other end as well, either
  with a similar Bonding Linux driver, a Cisco 5500 switch or a
  SunTrunking SunSoft driver.

  This is similar to the EQL driver, but it merges Ethernet segments
  instead of serial lines.

  If you want to compile this as a module ( = code which can be
  inserted in and removed from the running kernel whenever you want),
  say M here and read Documentation/modules.txt. The module
  will be called bonding.o.


ImpactDNI 06-29-2004 02:44 PM

Quote:

Naturally, this has to be supported at the other end as well, either
with a similar Bonding Linux driver, a Cisco 5500 switch or a
SunTrunking SunSoft driver.
Well, thats no good
well, its exactly what i'm looking for, however, it needs to be supported on the other side =P
:: hopes that its supported ::
Chances of it being supported? 0%...
oh well =P
Thanks a ton for your help guys!


All times are GMT -5. The time now is 09:00 PM.