Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-29-2008, 10:32 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Load Distribution between Servers for WebApplication?

I have a website builder running on a linux RHEL3 server (apache2+php+mysql).

My main concern is to give my users to access their sites via subdomains and to separate out my main website server with users server. That's I need a machine on which I could run main website alongwith the "website editor" which lets users create their sites And another machine where there actual website data and stuff like images,files,videos etc reside. So that my customers' site visitors won't be a burden on my primary server.

All virtual hosts would be maintained on that secondary server so that my primary apache could serve only for my main website and not bothering for virtual hosts and other subdomains servings.

In this scenerio the main problem Im facing right now how to effectively communicate b/w these 2servers. I don't know which communication method should I use? I need to get user html pages for editing in editor for which I can use php file_get_contents function to fetch resource from secondary server but how write back on frequent update? Should I just share the secondary server's hardDrive since both servers are connected on a LAN (but I could have more load balancing servers in future) OR should I use php FTP functions to write back? The main thing I also need is that the architecture should be scalable. So that I could place more servers if one users data server gets full. But keeping my communication method as transparent as possible with primary server.

Right now my current website is working fine on a single linux server but Im not sure which method of communication should I choose which is fastest and reliable.

Any suggestions would be appreciated.
Thank you.
Old 08-30-2008, 03:18 AM   #2
Registered: Apr 2007
Location: Mumbai, India
Distribution: Fedora, ubuntu
Posts: 121

Rep: Reputation: 21
The best thing you can do is use NFS. That way you can mount your the remote directory on a local directory and use it as a part of your own filesystem. You can mount further remote directory on another directory on your server. Or you can mount it on the same directory on the server replacing the previous remote directory if it is already full.

The remote directory on the remote server can then independantly be servered.

Last edited by milindlokde; 08-30-2008 at 03:45 AM.


distribution, load

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Migrating Servers between same distribution but different hardware marcusone Linux - Server 6 06-27-2008 02:55 PM
Need advice for choosing distribution for servers Tony 1979 Linux - Server 5 05-18-2008 01:42 PM
Load Balancing Between Servers ricky123 Linux - Newbie 7 01-24-2008 12:43 AM
running iptable ( sbin command ) on webapplication omid1979 Programming 1 07-13-2006 03:30 PM
same: load balancing of mail servers. bswrj Linux - General 1 05-12-2003 07:41 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:24 PM.

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