IspConfig 3 load balancing
Although I use howtoforge daily, I have always found answers to my questions in these forums. But now... I just can't get any further :(.
I need to setup load balancing on a server that runs ISPconfig. My setup is as follows: 1x IspConfig server, 2x Webserver, 1x MySQL server.
I have already, succesfully installed ISPconfig on its server and the other servers are configurable on the gui. (Ispconfig is installed on them too, but without the webgui part).
I understand that you can add websites through the gui, but I have to make them on the webservers first, through vhosting, because I have a s***load of websites. So I cannot find anything to add existing websites and make them load balance through server activity.
So, just to make things clear. If my webservers are 192.168.100.101 and 192.168.100.102, They both are replicated with each having the same vhosts and everything. The IspConfig server should redirect all activity through server activity. So if 101 has 15 active sessions and 102 has 16, the next visitor will end up on 101 and vice versa.
My thanks to all of you who took the time to read this.
There is no ispconfig specific tutorial available on that topic as far as I know, but you might want to take a look at this one for a starting point for creating a session aware load balancer:
The template for the vhot files that ispconfig create are in /usr/local/ispconfig/conf/ as you might have to adjust them. Save your modified version in the conf-custom folder, ispconfig will pick it up from there automatically.
Thanks for the quick response!
I indeed have configured the webservers like your tutorial on load balancing.
That works fine, thx! :D
But, I will take a look at that conf file from IspConfig!
Does someone else maybe have an Idea on how to achieve load balancing on IspConfig 3?
I got that load balancer working from that tutorial. But when I visit a page with the vhost's servername, it changes the url to http://[serverip]/[sitedirectory].
Do you know why maybe? I tried applying a proxypassreverse with the servername but that doesn't cut it. has it something to do with my htaccess file? I don't have any idea..
thx in advance! And also thanks again for the tutorial!
|All times are GMT +2. The time now is 15:36.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.