expanding to two servers

Problems with the Windows version of XAMPP, questions, comments, and anything related.

expanding to two servers

Postby rvanherp » 08. December 2010 19:55

Hi,

At this moment I have one server running XAMPP and like to expanding it to two servers,
so I can balance the load.

What's the best way to do this ?

Is there a way for example to use just one vhost-config??
Loading local data or get the data from the other server.


Thanks in advance for any suggestions.
rvanherp
 
Posts: 46
Joined: 27. November 2006 23:23
Location: Some where on the WWW or in a red truck
Operating System: Windows Server 2003

Re: expanding to two servers

Postby JonB » 08. December 2010 21:43

Are you just bonkers or something???

:shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: expanding to two servers

Postby rvanherp » 08. December 2010 22:04

JonB wrote:Are you just bonkers or something???


and this answer helps me how??...
rvanherp
 
Posts: 46
Joined: 27. November 2006 23:23
Location: Some where on the WWW or in a red truck
Operating System: Windows Server 2003

Re: expanding to two servers

Postby JonB » 08. December 2010 22:43

OK - let me state 'my opinion' (which is what my rhetorical question was a version of) a better way -

If you actually need load balancing, you shouldn't be on XAMPP. (and, presumably, would know that)

I am entitled to an opinion, right???

Edited - to be fair - you will likely need more than 'two XAMPP servers' and a standard router to make load-balancing work. There are a variety of ways to do such things, but they are out of the scope of this forum in 'my opnion'.

I suggest you Google 'Apache load balancing Windows' -

Cheers
:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: expanding to two servers

Postby rvanherp » 09. December 2010 12:53

JonB wrote:I am entitled to an opinion, right???


Of Course you are :D

But I don't want software load balancing,
I just want to add a other server and move some
sites that have allot of visitors to it.
So that the load of the original server gowns down.
rvanherp
 
Posts: 46
Joined: 27. November 2006 23:23
Location: Some where on the WWW or in a red truck
Operating System: Windows Server 2003

Re: expanding to two servers

Postby JonB » 09. December 2010 14:01

That is a more reasonable thing to ask XAMPP to do.

You still have some issues to surmount, primarily the problem of 'standard routers' and the number of available IP'S.

You need two IP's that can talk on Port 80 (for 'public' networks) - most routers can't do that.

One possible solution is an intelligent 'content router' that actually can inspect the headers and redirect traffic to ports. This would require very considerable effort, as you would need Cisco IOS programming (I suppose meaning you would have to learn it) Another is a programmable Dual WAN router, but you would have to look closely to see if it met your needs. Another would be to use a third machine as an Apache proxy, to redirect the IP's.

OR two cable/DSL/whatever connections and at least one machine with two NIC's

OR just a single bigger, badder machine. There are definitely limits on how much you can scale XAMPP on Windows Desktop OS's - mostly due to the Windows desktop TCP/IP stack which isn't designed to be used as a server !/O device.

You should try to use the right terminology - load-balancing is very specific and really only means methods to improve redundancy or increase available bandwidth for a single channel/object (the channel could be a server (or cluster), a network device, a disk drive (typically am array of drives))... http://en.wikipedia.org/wiki/Load_balan ... mputing%29

You meant what you said the second time, so... that's what you should have said the first time :lol:

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests