informatique:reseau:apache:loadbalancing

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
informatique:reseau:apache:loadbalancing [2011/01/11 12:07] nicoinformatique:reseau:apache:loadbalancing [2012/02/03 14:42] bn8
Ligne 1: Ligne 1:
 +====== Load balancing ======
 +
 +
 +Modules apache à activer :
 +
 +  proxy*
 +
 Vhost pour le balancer : Vhost pour le balancer :
  
Ligne 27: Ligne 34:
   Allow from all   Allow from all
   </Location>   </Location>
 +  
   </VirtualHost>   </VirtualHost>
 +  
 +Vhost pour la node01 :
 +
 +  <VirtualHost *:80>
 +  ServerName node01.lineis.fr
 +  DocumentRoot /var/www
 +  RewriteEngine On
 +  RewriteRule .* - [CO=BALANCEID:balancer.node01:.lineis.fr]
 +  </VirtualHost>
 +  
 +Vhost pour la node02 :
 +
 +  <VirtualHost *:80>
 +  ServerName node02.lineis.fr
 +  DocumentRoot /var/www
 +  RewriteEngine On
 +  RewriteRule .* - [CO=BALANCEID:balancer.node02:.lineis.fr]
 +  </VirtualHost>
 +
 +
                  
  
  • informatique/reseau/apache/loadbalancing.txt
  • Dernière modification : 2012/02/03 14:45
  • de bn8