Jump to content

Recommended Posts

Posted

Hi,


I have deployed jasperserver with my web application in the environment like Clustered two Tomcat sharing same database in Microsoft Azure Load Balanced Virtual Machines. But the problem is jasperserver strictly requires session affinity which is not possible in Microsoft Azure Load Balanced Virtual Machines.


1) If you have any other solution/suggestion which is suitable for my environment, please guide me.


2) Which one is best suitable for my environment and why ? on comparing Azure load balanced Virtual Machines and Apache httpd load balancing.


Environment : 1) Jasperserver 5.5 Commercial edition with session replication. 2) Two apache-tomcat-6.0.36 clustered instance sharing same database (Mysql 5.5). 3) Linux Machine - Ubuntu 13.10 Server in Azure load balanced Virtual Machines.


Thanks in advance for reading and answering my question. Every comment/idea is highly appreciated.


  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Posted

I'm not sure about performance comparison since i;m not familiar with Azure load Balancers.

But you are correct, JasperServer needs sticky (pinned) sessions to work in a cluster. You can find info on designing a cluster in the JasperServer Ultimate Guide.

You can use Apache HTTPD with mod_jk in front of your tomcat cluste as a load balancer, remember to set sticky_session=True in your workers configuration. I found this tutorial on clustering Tomcat that explains the setup and is prettly helpful.

 

Posted
Hi Marianol, Thanks for your suggestion. I have configured load balancing using apache httpd and working fine. In Azure also with Kemp load balancer we can achieve session affinity.
Posted
Is there any other hotfix/solution to this problem in jasperserver side in azure load balanced environament ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...