• Welcome to KonaKart Community Forum. Please login or sign up.
 

Loadbalance Konakart

Started by innes, March 24, 2009, 10:13:13 pm

Previous topic - Next topic

innes

Hi

I have loadbalanced Konakart (2.2.6.0) using Apache (Apache/2.2.3) & mod_jk talking to 2 tomcats (apache-tomcat-6.0.14) and running on Debian etch.  Both Tomcats are configured to talk to the same MySQL database but with different users.

When I run the instances seperately (Apache-mod_jk-tomcat-MySQL) everything works perfectly.  However, when I run both tomcat instances all the sub-categories disappear from the left hand side.

I can still see the top level categories but when I select one I get the "products.body.there.are.no.products.to.list.in.this.category=There are no products" message.  The log file says I have 10 categories.

The rest of the site seems to work fine.

Are there any gotchas with Konakart and load balancing?

Thanks,
Innes

trevor

QuoteAre there any gotchas with Konakart and load balancing?


No. Many of our customers run that way. Have you implemented sticky sessions ?

innes

Hi

Yes, I have used sticky sessions.  I have read that there are issues with mod_jk and redirects.  Konakart seems to use a lot of redirects for selecting categories, products etc.

Do you have example Apache 2.2 and Tomcat config files, as I have tried with both mod_jk and HTML proxy and the redirects seemt to be causing issues.

Thanks,
Innes