#1  
Old 26th March 2013, 08:27
RPGglitchy RPGglitchy is offline
Junior Member
 
Join Date: Mar 2013
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default IspConfig 3 load balancing

Hello forgers!

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.
Excelsior!
Reply With Quote
Sponsored Links
  #2  
Old 26th March 2013, 08:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

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:

http://www.howtoforge.com/load_balan...proxy_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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
RPGglitchy (26th March 2013)
  #3  
Old 26th March 2013, 09:06
RPGglitchy RPGglitchy is offline
Junior Member
 
Join Date: Mar 2013
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for the quick response!

I indeed have configured the webservers like your tutorial on load balancing.
That works fine, thx!
But, I will take a look at that conf file from IspConfig!
Reply With Quote
  #4  
Old 27th March 2013, 08:53
RPGglitchy RPGglitchy is offline
Junior Member
 
Join Date: Mar 2013
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Does someone else maybe have an Idea on how to achieve load balancing on IspConfig 3?
Reply With Quote
  #5  
Old 28th March 2013, 09:29
RPGglitchy RPGglitchy is offline
Junior Member
 
Join Date: Mar 2013
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
you might want to take a look at this one for a starting point for creating a session aware load balancer:

http://www.howtoforge.com/load_balan...proxy_balancer
Hi Till,
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!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain creation problem - OpenVZ DKLeader Installation/Configuration 11 26th October 2012 23:04
ISPConfig 3 - MultiServer Setup - With Dedicated Control Panel - How? SuperJC Installation/Configuration 4 16th October 2012 20:03
ISPConfig Load Balanced SnakeSolidNL Installation/Configuration 3 22nd February 2012 14:19
ispconfig 3 with load balancing iceget Installation/Configuration 1 31st March 2011 17:16
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 10:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.