Dear all,

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

A snippet of our apache httpd.conf:

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

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

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

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

Please advice.
Warm regards,
Jacky Wong

resin-interest mailing list

Reply via email to