-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hi.
I have one apache server , and two computers with servlets, and I want
to use load balancing.
Thee's is the configuration :
<IfModule mod_jserv.c>
ApJServManual on
ApJServLogFile /usr/local/apache/logs/jserv.log
ApJServMount /RocoResa balance://set1/RocoResa
ApjServBalance set1 PC1
ApjServBalance set1 PC2
ApJServHost PC2 ajpv11://10.3.0.9:80
ApJServHost PC1 ajpv11://localhost:8007
ApJServRoute JS1 PC1
ApJServRoute JS2 PC2
ApJServShmFile /usr/local/apache/logs/jserv_shm
ApJServSecretKey DISABLED
<Location /jserv/>
SetHandler jserv-status
order deny,allow
deny from all
allow from localhost 10.3.0.20
</Location>
</IfModule>
And when I go on the page http://localhost/jserv/ it tells me :
Server Name altair.dev.roco.net
ApJServManual TRUE (STANDALONE OPERATION)
ApJServProperties ./conf/jserv.properties (IGNORED)
ApJServDefaultProtocol ajpv11 (PORT 8007)
ApJServDefaultHost localhost (ADDR 127.0.0.1)
ApJServDefaultPort 8007
ApJServLogFile /usr/local/apache/logs/jserv.log (DESCRIPTOR 6)
ApJServMountCopy FALSE
MountPoint Server Protocol Host Port
Zone
/RocoResa/ altair.dev.roco.net balance set1 (ADDR 127.0.0.1)
8007 RocoResa
Why set1 is 127.0.0.1 , it should be , if I understood well , set1 =
10.3.0.9 and 10.3.0.20 ( localhost ).
Could I user the jserv-status with load balancing ?
How could I see if the load balancing works ?
Please help me ..
charles vidal.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]