KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: innes on March 24, 2009, 10:13:13 pm

Title: Loadbalance Konakart
Post by: innes on March 24, 2009, 10:13:13 pm
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
Title: Re: Loadbalance Konakart
Post by: trevor on March 25, 2009, 06:26:03 am
QuoteAre there any gotchas with Konakart and load balancing?


No. Many of our customers run that way. Have you implemented sticky sessions ?
Title: Re: Loadbalance Konakart
Post by: innes on April 13, 2009, 03:39:03 pm
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