Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kemaren
- roundrobin dns..
- kelemahan.. beban gak bisa diatur
- ip ke cache,..
- ini--
- cluster harus dalam 1 network sama
- besok--
- High_availability
- ---------------------
- pc 1
- <VirtualHost *:80>
- ServerName http1.haha.ok
- DocumentRoot /var/www/http1
- RewriteEngine On
- RewriteRule .* - [CO=BALANCEID:balancer.http1:.haha.ok]
- </VirtualHost>
- pc 2
- <VirtualHost *:80>
- ServerName http2.haha.ok
- DocumentRoot /var/www/http2
- RewriteEngine On
- RewriteRule .* - [CO=BALANCEID:balancer.http2:.haha.ok]
- </VirtualHost>
- pc ser
- <VirtualHost *:80>
- ServerName www.haha.ok
- ServerAlias haha.ok
- DocumentRoot /var/www/html/
- ProxyRequests off
- <Proxy>
- Order deny,allow
- Allow from all
- </Proxy>
- ProxyPass /balancer-manager !
- ProxyPass / balancer://mycluster/ stickysession=BALANCEID nofailover=off
- ProxyPassReverse / http://http1.haha.ok/
- ProxyPassReverse / http://http2.haha.ok/
- ProxyPassReverse / http://http3.haha.ok/
- <Proxy balancer://mycluster>
- BalancerMember http://http1.haha.ok route=http1
- BalancerMember http://http2.haha.ok route=http2
- BalancerMember http://http3.haha.ok route=http3
- ProxySet lbmethod=byrequests
- </Proxy>
- <Location /balancer-manager>
- SetHandler balancer-manager
- Order deny,allow
- Allow from all
- </Location>
- </VirtualHost>
- akses balance manager di ser
- http://server/balancer-manager/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement