Dear all,

In our environment, we are using 1 apache server and load balanced to 2 resin servers (a. 192.168.11.101 and b. 192.168.11.102).

A snippet of our apache httpd.conf:

<VirtualHost external_ip:80>
  RewriteEngine on
  RewriteCond %{SERVER_PORT}   ^80$
  RewriteCond %{HTTP_HOST}   ^some\.domainname\.com$
  RewriteRule ^/(.*)         https://some.domainname.com/$1 [L,R]
  DocumentRoot /www/app01
  ServerName svr01
  DirectoryIndex index.jsp
  ResinConfigServer 192.168.11.101 6802
  ResinConfigServer 192.168.11.102 6802
  CauchoStatus yes

  # do not remove, otherwise apache will serve the jsp source code once resin is down
  AddHandler caucho-request .jsp
</VirtualHost>

and our resin.conf:
....
    <cluster>
      <srun id="a" host="192.168.11.101" port="6802" index="1"/>
      <srun id="b" host="192.168.11.102" port="6802" index="2"/>
    </cluster>

How can i configure one server to serve more than the other?
Say for example, server a (70%) and server b (30%)?

Please advice.
Thanks.
-- 
Warm regards,
Jacky Wong




_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to