View Single Post
  #2  
Old 8th March 2009, 16:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by Franck View Post
1. In the balancer manager interface one can set up route Redirects in case of failover. However if the Apache load balancer restarts, the settings are lost. Is there any way of making them persistent?
Not sure. Maybe one can add this directly to the Apache configuration?


Quote:
Originally Posted by Franck View Post
2. On the 2 front end servers I have several vhost. Like this:

Server 1:
<VirtualHost *:80>
ServerName 172.18.2.40
...
</VirtualHost>
<VirtualHost *:80>
ServerName www1.example.com
...
</VirtualHost>

Server2:
<VirtualHost *:80>
ServerName 172.18.2.41
...
</VirtualHost>

<VirtualHost *:80>
ServerName www2.example.com
...
</VirtualHost>

I have balanced the 2 vhost associated with the server's local IPs addresses:
BalancerMember http://172.18.2.40:80 route=http1
BalancerMember http://172.18.2.41:80 route=http2
And it works fine. However I now would like to balance (btw still on port 80) www1.example.com and www2.exemple.com

Any suggestions?
You can add this to each vhost that you want to balance.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote