Hi,

Im about to test the same setup (mod_jk load-balancing, no cluster, sticky sessions, 
jetty) would you mind sharing your config files
and other usefull stuff for this setup? :-)

Thanks...
Torsten


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Andrew May
> Sent: 25. november 2003 11:05
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] apache + mod_jk + jboss*2 = no load balancing.
>
>
> We use a very similar mod_jk set-up and it seems to work. We don't have the cachesize
> setting though (what does that do?), and we have both lbfactor's set to 10 (for no
> particular reason - I'd expect 1 on both to behave the same).
>
> What we did find when we were testing this is by hand is that it did seem go to the 
> same
> server most of the time, but now that it's got a significant load it seems to balance
> things properly - I'm not sure how it does the balancing, but it's not a simple 
> round-robin.
>
> What may be different is that we're not using a cluster (just sticky sessions) and 
> we're
> using Jetty (4.2.11).
>
> -Andrew
>
> Mike Lindsey wrote:
>
> > I've got apache talking to a clustered jboss setup, using mod_jk, but I
> > cannot get the load balacing to work.  I can force connections to a
> > specific app server, but no matter what I do, I can't get the initial
> > connection to hit a 'random' server.
> >
> > my workers.properties:
> >
> > worker.list=node1,node2,loadbalancer
> >
> > worker.node1.port=8009
> > worker.node1.host=app01
> > worker.node1.type=ajp13
> > worker.node1.lbfactor=1
> > # worker.node1.local_worker=1
> > worker.node1.cachesize=10
> >
> > worker.node2.port=8009
> > worker.node2.host=app02
> > worker.node2.type=ajp13
> > worker.node2.lbfactor=1
> > # worker.node2.local_worker=1
> > worker.node2.cachesize=10
> >
> > worker.loadbalancer.type=lb
> > worker.loadbalancer.balanced_workers=node1,node2
> > # worker.loadbalancer.sticky_session=1
> > # worker.loadbalancer.local_worker_only=1
> >
> > --
> > Mike Lindsey
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to