Load Balancer + VPS
Dec 11, 2007Is there any such solution available?
Something with a failover load balancer that you can assign a static IP address to and it'll sit in front of a number of lowend virtual private servers.
Is there any such solution available?
Something with a failover load balancer that you can assign a static IP address to and it'll sit in front of a number of lowend virtual private servers.
Im currently looking around for a Load Balancer within the budget of about £2,500
Anyone have any suggestions?
Will that budget get me one that will do the job or would I be wasting my money and should maybe save up some more cash?
Setup:
2x Web Servers
1x DB Server
1x Storage / Media Servers
*Expanding to 3/4x Web Servers, 2x DB Servers, 2x Storage / Media Servers*
I have been looking at:
F5 BIG IP D25 Load Balancer
[url]
and
F5 BIG IP D30 Load Balancer
[url]
But im unsure on what the difference between these are? as I cant seem to find there specs and what they can / cant do..
Anyone know of a good load balancer for Linux that is able to not only distribute load evenly amongst many servers, but one that's able to allocate servers based on the resource?
For instance:
I want www.mysite.com/dogs to be load-balanced between servers A, B, and C.
I want www.mysite.com/cats to be load-balanced between servers X, Y, and C.
I have two servers that I run in Los Angeles (used to host gaming servers for a small community I run) for personal use that seem to be a little jumpy with server performance.
Would a load balancer help with this situation?
And for the n00b question, what exactly is a load balancer.
Very new to hosting servers, so I appreciate a gentle response
I wish to build a load balancer on a linux box that will load balance http/https/smtp/pop3 and ftp
what technologies i need to look at?
I'm using Virtuozzo on two server.
1) Can I do this with only ONE Load Balancer?
I wish I could have many "LB", like one for the WWW serveur, an other one for the DB serveur, my "personnal" VPS without LB...
i.e. :
WWW -> SRV1 SRV2
DB1 -> DB1 DB2
EXCESSNET -> EXCESSNET1
Do I need 3 LB to do this or I can do it with only one? The screenshot of Barracuda LB seem to show many "virtual LB", so I guest it's a yes?
2) So... it's service only?
On the Barracuda and some page, they are talking about "service" and not "server" LB. Can I LB a whole serveur ? Like all service from an IP xxx.xxx.xxx.234 to a server ? Or I can only do "HTTP -> SRV1" "DNS -> SRV1"? If no, what happen to service that the LB didn't know (like cPanel)?
3) An Internal Network? what About cPanel?
According to my search, LB are working like this:
EXTERNAL IP of SERVICE (xxx.xxx.xxx.200) -> INTERNAL IP SERVER 1(10.0.0.25), INTERNAL IP SERVER 2 (10.0.0.26)
So, I need to configure the server with an Internal IP cause else, it will conflit on the "local network". The probleme is, cPanel will be using the "Internal IP" to make all of his configuration... so if a user add a new website, he will configure it with 10.0.0.25, this won't since the external IP will be xxx.xxx.xxx.200 and Apache won't anwser to this virtual host. What can I do?
Can I do this ? (same internal IP as the external?)
EXTERNAL IP (70.234.125.123) -> SERVER 1 INTERNAL IP (70.234.125.123), SERVER 2 INTERNAL IP (10.0.0.26)
If yes, I will configure the second serveur without cPanel and only sync the configuration and files. So in case of "crash" of the server 1, cPanel won't be working, but website won't be down...
We are planning for a clustering archirecture for our mail servers,The basic idea is put all of mailservers behind a load balancer which will monitor and distribute the n/w load as server load and forward the requests accordingly can u suggest any good hardware loadbalancer which could give us 'server load balancing' as well as n/w load balacing.
I would also like to know if it is a good idea to go for a software load balancer(like linux heartbeat) or to h/w load balancer.
traffic has been surging lately and is expected to continue surging. i am already on the fastest chipset my webhost has.
current configuration
single server (centos), webserver (apache), single filesystem. many dynamic pages (perl script) but no mysql database. no php.
ideal configuration
multiple webservers (apache), single file system.
assuming my scripts do not write to the filesystem (read only), what do i need to install or do in order to send a request for www.domain.com to server1.domain.com or server2.domain.com or server3.domain.com according to the load of each? it should look the same at the front end. anyone know what i need to get?
if it is possible to hide the Barracuda Load Balancer signature in headers ?
If you check here : [url]
or do a telnet 80 to that same FQDN and send "HEAD / HTTP/1.0" + "RETURN" you will be able to see in the headers the server signature (BarracudaHTTP 1.00).
Is there any way to hide this?
I'm trying to find a solution but without any result so far,
This is the story:
We have too server in Israel, in one server we have:
Win 2003 STR that use for IIS (IBM RAID 5)
And in the second we have:
Win 2003 STR + SQL SERVER 2005 workgroup.
After 1 year running in Israel we like to go out to the world with our products.
This is what I think we need to do but we still don't figure how to that:
1. Still use the same server in Israel.
2. Buy more server outside Israel, Lets say UK and set a Load Balancer between the server in UK to Israel (both IIS and SQL).
3. In the Load balancer we like to set that if the user come from europe you will go to the server in UK and if he come from Israel you go the server there.
4. If one of the server we be go down all the the users will sends to the server outside there country.
5. In the future we like to add more server in the world on the same setting.
What do you say? how can I do something like that?
What company are dealing stuff like that?
Anyone know of a hardware load balancer that can load balance my apache and mysql using one device? I mean right now I can use the ultra monkey for the load balancer the cluster mysql. But I want to go hardware.
I was thinking of F5 BIGIP? will that work? anyone know Please give me some choices..
I have a setup where Apache connects to a F5 load balancer which in turn balances between two jboss app servers.
Apache using mod_proxy -> F5 (hardware load balancer) -> 2 jboss application server
It uses jsessionid. I sometimes get 500 errors for the post methods. I think the request goes to the incorrect jboss server because of the F5 load balancer. Everything works just right when I shutdown one of the jboss app servers.
I am thinking of using a Load Balancer + serveral VPSs solution.
Is there any good recommendation ? It would be great if the hosting company can provide the load banlancer for free.
I am using single Apache HTTP Server (2.2.23) as a Load Balancer with two IBM Websphere application server nodes (other machines). I have deployed the simple text based helloWorld application and it works fine with load balancer. But When I deploy the real application that contains images,css file , java script file. It loads the page without images and show me simple text and gives me the following Exception on error_logs and similar kind of exceptions
[error] [client 192.217.71.77] File does not exist: /usr/local/apache2/htdocs/application, referer: http://192.168.141.17/application/faces/test.jsp
Interestingly, when I access the application without load balancer, it also works fine.
Here are the load balancer settings
A little bit excited as the Barracuda is coming soon...
We have 1 forum server, and it's being access internally by all the classrooms, students, teachers, etc. How should I approach this setup? The current hostname for the forum machine is forum... how should I setup the cluster? forum2?
I have a short question concerning Mod Balancer and Stickiness:
At the moment I am achieving stickiness with a cookie.
Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
However, I am getting complaints by users which do not allow coockies in their browser settings that my page does not work properly.
Is there any way to achieve Stickiness with out cookies (e.g. add the information to the URL or something like that)?
I'm using mod_proxy_balancer in Apache 2.2.29 with OpenSSL on Windows to distribute HTTPS requests to two other back end servers, both of which are also Apache 2.2.29 with OpenSSL on Windows.
DumpIO shows that the requests are being decrypted on the balancer, and then sent unencrypted to the two workers. I would like to have the requests pass through the balancer without decrypting there, and let the two back end worker servers do the decryption. Is that possible? If so, how?
When I tried simply disabling SSL on the balancer, the requests fail, with nothing logged at all.
I've been having trouble with my VPS for a while now. In the QoS alerts page in Virtuozzo it seems to be a problem with numtcpsock and tcprcvbuf, mainly numtcpsock.
Copy these into the browser:
i18.photobucket.com/albums/b106/gnatfish/qosnumtcpsock2.jpg
And when i run cat /proc/user_beancounters:
i18.photobucket.com/albums/b106/gnatfish/beancounters2.jpg
This line is particularly scary:
numtcpsock 164 164 166 166 7321
What do i need to do, to get the website running again? It's only one site on the vps a proxy. So i thought a vps would be able to handle one proxy.
Anyone know of some good server load testers ( commercial )?
Im not looking for application based load testing, I need real web server load testing... need to see how much traffic this one site can take before it cries.
I'm having the oddest issue. For some reason, some of the websites on my server load fine, and some take a really long time to load (2 minutes).
Now, the server load is fine, and the size of the sites aren't the issue either. I've restarted Apache and a couple more services, and still the same sites seem to load very slow.
What could be causing this since it's only effecting certain websites?
I would like to know how to check load via ssh and check files causing load?
I want the ssh codes for 2 different set of control panels, one with cpanel+whm and other with kloxo+hypervm
and I would also know how to check the files causing the load, such as some files could have been interrupted while processing, so they could be causing load some times, so I want to stop such processes if any are running on the vps on my friends accounts
I just got a futurehosting VPS recently and something is puzzling me. Is it normal that an idle CPanel virtuozzo VPS that has no sites on it should display "top" loads of between 1 and 4 regularly? I've been watching the load for a bit now and it keeps jumping between 0-4. When it goes 1 or above, the WHM panel becomes really slow, timing out... They seem to use a beast 8 core machine, so it would take some activity to cause even a 1 load..
I do not have much knowledge about VPS hosting, on a dedicated I would expect the loads to stay 0-0.2 at this point... Is the 1-4 load showing the result of heavy usage by other VPS users on the node? There is absolutely nothing that could cause a load in my vps as far as I see... Is this perfectly normal on any VPS?
You think this is funny? Not at all.
I'm on LON03 server and I recive yesterday from Future Hosting this advise about hight load.
I got then 1 month ago, and the solution was *JUST* to remove a phpBB website with 80+ users.
I do not believe that the VPS could get this kind of loads.
Funny is that the VPS was "monitored" by them at the same time. They say the load spikes out for times to times in a matter of seconds.
This load is taken from the Parallels Infrastructure Panel or even the Node Panel, not from the VSP itself. Even when I'm logged in.
I've been a client for 6 month, and 2 of the last 3 constantly getting CPU hight usage. Strange is, that I come from a 512mb/25gb PowerVPS server to a 1GB/30GB server, with the *SAME* sites.
Anyway, the prupose of this topic is to:
- check if anyone had this problem (problem is: beeing sure that this load is IMPOSSIBLE to be created from yout service)
- recommend a decent VPS provider besides Future Hosting and PowerVPS.
From time to time my server's loads are going upto 900s.. And it becomes nearly same days each week. I've checked that backups and crons are disabled.
View 14 Replies View RelatedIt has been running fine for almost six months now and now from past few days it's all gone in black zone?
PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
32084 nobody 16 0 73 2:00.34 0.9 162m 75m 8260 R /usr/local/apache/bin/httpd -DSSL
13857 nobody 16 0 50 1:13.53 0.7 147m 59m 7900 R /usr/local/apache/bin/httpd -DSSL
32114 nobody 15 0 36 1:46.67 0.4 117m 30m 8600 S /usr/local/apache/bin/httpd -DSSL
I get equal share from CPU plus it has got 384MB of memory? Why load is so high when I check in VPP......it is going in black and yellow zone in resources all the time?
It shows me following Parameters in QoS alerts
to know the load shown when doing a 'uptime' command is just for my VPS or the entire node?
what is the acceptable average load?
cos for mine, i see most the time is less than 1, but at times, for no particular reason that i know of, it can go up to between 5~10
Due to high IO load server is going crash once a day.
I have optimized the MySQL, Upgraded the kernel but still it's same. The SWAP seems normal.
Now probably it is due to high traffic of http or emails. How should I diagnose and fix it? I am in big trouble.
Its PIV 3.0, 1GB Ram and 450 Websites
i've heart that xen can handle loads better than vz or openvz. is this right?
View 0 Replies View RelatedI have a question regarding load on this cpu.
Current cpu load is around 1.7 - 2.1.
Is this to much, is it time to upgrade cpu or?
Server is running 32bit Centos 5.3.
top - 17:17:21 up 27 days, 16:24, 1 user, load average: 1.59, 1.43, 1.22
Tasks: 159 total, 1 running, 158 sleeping, 0 stopped, 0 zombie
Cpu0 : 9.0%us, 1.0%sy, 0.0%ni, 89.7%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 16.7%us, 1.0%sy, 0.0%ni, 82.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 2.3%us, 0.7%sy, 0.0%ni, 97.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 36.5%us, 2.7%sy, 0.0%ni, 60.5%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 4148576k total, 2738172k used, 1410404k free, 410876k buffers
Swap: 2096440k total, 192k used, 2096248k free, 1413824k cached
Thank you,
s-f-r-j
I want to have a fail over for my server. I was told that load balancing is the way to go.
Could anyone give me some instructions of what I would require. My primary server contains Cpanel.
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.