Good evening,
First thanks for the great tutorial by Falko "Creating A Session-Aware Loadbalancer Using mod_proxy_balancer".
I have used it and it is running fine coupled with Sharedance for session management.
I have 2 questions:
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?
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?
Thanks in advance
Franck
Recent comments
1 day 13 hours ago
1 day 22 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 3 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 8 hours ago
3 days 5 min ago
3 days 55 min ago