I have a growing website that needs to move from its current single-server setup to using a cluster of servers to deliver its dynamic pages.
My current host does not support load balancing among its servers, so I'm left to configure that on my own. Round-rovin DNS doesn't work for me as I'll need certain http requests to always go to the central server (the one with the master database).
My distro is Redhat 9, and I only access the server remotely through SSH. I'm using Apache 2 (and PHP and Mysql).
Any ideas on the simplest way to do this?
I've read a bit about LVS (http://www.linuxvirtualserver.org/) but it seems to require a kernel recompile, which is way beyond the things I would dare to try...
A couple days ago I bought 3 Dell Precision Desktop 360s for the purpose of Load balancing for a web server supporting Apache/php/mysql.
The Dells have: Code: Win XP Pro, 1 gb 3200 ram - can support up to 4, p4 2.4 ghz, 2 scsi raid 36 gb hdd How can I create Load balancing between 3 identical* web servers: by SCSI, network, or something else?
* Bought them all used. Quality tested the hardware, all of it identical.
is there any way to do this? I know the clustering system built into whm is only for DNS, not for actually serving websites. What I would like is that visitors to a site could be directed to one of two servers, transparently (no www.server1.site.com, www.server2.site.com, it looks idential but are just directed to different ips).
1. Is it possible to get a server in US and a server in Europe and load balance the two servers so that it would detect where the user is from and based on the users location, it would send the traffic to the right server? is this something a load balancer can do or does this have to be done on the php end to detect and send to the right server?
2. is there a way to sync the two servers meaning, we upload the files to one server and the other server automatically gets updated or synced with the original server?
I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.
I am planning to use LVS (ldirectord and heartbeat).
Let's say I have 3 IPs allocated to the load balancing server.
188.8.131.52 (Main IP) 184.108.40.206 (Web Load Balancing IP) 220.127.116.11 (MySQL Load Balancing IP) If a connection is made to .223 it would pass the request to one of the web nodes. If a connection is made to .224 it would pass the request to one of the MySQL nodes.
Is it possible to do this?
If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)
Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.
There's something I've been desperately trying to resolve, but failed, and the question is can load balancing solution be applied to a shared hosting plan, will I need two plans in this case? Or is it only possible for dedicated servers?
Does any host provide load balancing (round robin will be the most frequently used type, I guess)? Questions to those using Serverpoint.com and Hostgator.com do these hosts offer load balancing?
the loads on my server is VERY HIGH and it needs to be upgraded fast.
I really have no clue as what to do... and i do not know any expert other than you people here - to help me out and put me on the right track.
i was thinking of
1) Getting a server with better CPU and more RAM 2) Load Balancing
However I know nothing of load balancing (other than how to spell it correctly )
1) Which of the above two options should i choose? 2) what are the extra costs in load balancing? 3) what should i know about load balancing before deciding? 4) How does load balancing work? I know there are two server - like one for database and one as webserver... but how does this work together? 5) what config should i be looking at in the two servers?
I'll stop here else i can go on and on and on...
I am giving the details of my server and service below, in case you guys need it.
We host a large number of small websites and are looking for high-availability and the ability to do maintenance on our application servers, so I'm looking for a load balancing solution. At this point, I'm considering Zeus ZXTM LB software, the Coyote Point e350si, and potentially an F5 1500 LTM.
The F5 solution is a total budget buster, and the Coyote Point UI is rough around the edges, but I've used them and they are reliable. Zeus looks like a winner with a great UI, but I haven't heard much about their reliability.
Bandwidth requirements are low at this point, so this is mostly about reliability and ease of configuration of a moderately complex set of services.
Any opinions on these vendors, or alternates I should consider?
I´m thinking about setting up a load balanced setup. I´ll start with load-balancing MySQL, and after, I´ll go with the webservers. MySQL is currently more important.
I have two different bandwidth providers, with two different networks, in the same datacenter. Pings between both are under 1ms.
I was think about buying 4 servers, two for a MySQL Cluster (NDB), and two for a UltraMonkey Load Balancer setup. The MySQL Cluster API would be installed in another server, currently in use.
So, what else would I need? My intention is to have two servers in one provider, and two servers in another provider. Would this kind of setup require large quantities of bandwidth? Both providers wouldn´t let me pass a diferent cable for this purpose, so I would have to use the uplink.
Also, for webservers, I would only need two more servers, right? Maybe rsync them, and have sessions stored in database would be the best choice?
Looking for quick, easy global load balancing solution. This is actually for a temporary situation (we need to move to a new DC and need to make this seamless as possible). Linux solution preferred if possible. What can we use to get this achieved?
How exactly does it work? does it need VPN between locations or is client redirected to a different IP somehow?
We would consider dedicated hardware solutions provided that we can get 2 pieces for under $2,000 total (ebay i guess).
I would like to setup a load balancing pair of servers. Currently, I have about 7 servers, all of them working stand alone. I would like to use two of them to host some "power-hungry" websites, that require high availiability. What kind of hardware will I need to do it? I´ve already searched for some, and found load-balancers from F5 which seem to be very good, however they seem to be very expensive (9000 dolars maybe?). Is there any solution which might end cheaper? Will I need anything else?
I'd really like to set up load balancing for one of my CPU heavy apps. (it's on about 10 machines that are NOT identical, ie. some big, some small)
Currently, I just use a PHP script to direct people to various servers, but it doesn't handle balancing & failover well, and I don't like that the URL changes to www2, www3, www4, etc.
I've looked in to some simple balancers like Pen, Pound and Balance, but I can't find a crucial weighting / balancing configuration. I've also looked at DNS round robin, but that doesn't seem to be sticky, or have weighting or failover.
So, is there any simple http load balancing software that can handle my requirements?
- Stickyness - Weighted Balancing ( preconfigured or based on responsiveness) - Failover
i've got a server that averages 3-4 TB a month. it is starting to max out the limits on the servers capacity and i want to setup another server on a different network that can help load balance, and if one of the servers are down for any reason the other server would take on all the load while the other server is down.
I'm working on a huge project that will take like 2 months or so to release. The thing is, as I expect, this site is going to grow massively. My question is, How can I handle lot of traffic and give lot of space to my users? With a load balancing right? or server cluster? my question is? how does this work? where do I get it? what are the prices like?
All info on it is appreciated, i want to start with one from day one, so I can handle the grownth of the site once it happens.
I run a pretty large website and it has outgrown the sever that the site is currently on so i was told to go with load balancing or a round robin solution. Have order a load balancer and a second server but don't understand the concept behind have a server cluster. my host told me that the data would have to be synchronized on both servers which i get but if everything is identical on both servers when i run out of space one and i cant add any more hard drives because all the slots are used up, if the data is identical wouldn't both servers be full and if i even added a third server would that one be full to if you understand what im saying.... anyway my point is that i know there is a way that you can add as many servers as you want to a server pool/farm but don't know what kind of configuration i would need. if anyone could help shed some light on this I would appreciate it thanks.