The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Load Balancing, Apache, Debian, mod_proxy_balancer for Wordpress, vBulletin & vBSEO
Hello,
ive 1 forum with atm not so much traffic to load balance it, but i know it would be better for the next years, so i bought a 2. server to load balance all vhosts i have on them. Thats my configuration: server1.worldofglider.de Intel? Core? i7-920 Quad-Core inkl. Hyper-Threading-Technologie Arbeitsspeicher 8 GB DDR3 RAM Festplatten 2 x 750 GB SATA-II HDD (Software-RAID 1) Netzwerkkarte 1 GBit OnBoard mit 100 MBit-Anbindung Backup Space100 GB Traffic Unlimited server2.worldofglider.de Intel? Core? i7-920 Quad-Core inkl. Hyper-Threading-Technologie Arbeitsspeicher 8 GB DDR3 RAM Festplatten 2 x 750 GB SATA-II HDD (Software-RAID 1) Netzwerkkarte 1 GBit OnBoard mit 100 MBit-Anbindung Backup Space100 GB Traffic Unlimited Because i just have 2 server to load balance some of the servers need to do the apache thing + load balancer. My idea was installing load balancer on server1 on port 80 and http on port 81. Is that possible? Now i have one problem, the load balancer dont seem to pass (the right?) vhost to http server1 or 2. Thats my load balancer config: Code:
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /home/load-balancer ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /LB ! ProxyPass / balancer://mycluster/ stickysession=1 nofailover=On ProxyPassReverse / http://server1.worldofglider.de/ ProxyPassReverse / http://server2.worldofglider.de:81/ <Proxy balancer://mycluster> BalancerMember http://server1.worldofglider.de route=server1 BalancerMember http://server2.worldofglider.de:81 route=server2 ProxySet lbmethod=byrequests </Proxy> <Location /LB> SetHandler balancer-manager Order deny,allow Allow from all </Location> </VirtualHost> Code:
<VirtualHost *:81> RewriteEngine On RewriteRule .* - [CO=BALANCEID:balancer.server2:.worldofglider.de] ServerAdmin webmaster@localhost ServerName www.fairplay-bot.de ServerAlias fairplay-bot.de DocumentRoot /home/ftp/fairplay-bot.de/ </VirtualHost> Maybe i could get some help from the big board owners, if i posted in the wrong section im really sorry. Thanks for any help! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|