Tomcat Failover and Load Balancing configuration

Hello Everyone,

Does anyone know of documents available in SAP portal that guide me to setup the Load balancing using Tomcat for Business Objects. I am looking to configure at BI 4.1 SP5 Patch 5, my current environment consist of one Application server ( Tomcat) and 2 Processing server. I have now enabled the tomcat on one of the processing server and trying to establish the fail-over using the tomcat available on the processing server. I had no luck with SAP as they responded back stating this is a consulting services and SAP would not answer these type of technical questions as part of technical support.

It will be really appreciated if you could advise with my below questions ?

  1. Does the tomcat 7 provides the Load balancing capacity ?
  2. Do I required to have any third party application other than tomcat for setting up the Load balancer ?
  3. Are there any reference guide which takes through the step by step configuration steps for Load balancer ?

looksmee :uk: (BOB member since 2006-02-08)

Load balancing, yes. Failover, not so much.

Tomcat itself does support full session failover, meaning that if one node goes down, a surviving node can pick up with no visual indication to the user that anything special happened. But I’ve never been able to get this to work with BI4.1 - if the active node goes down, the session does fail over to the second node but I get HTTP 500 errors. Refreshing the page will then cause a re-logon to occur.

With that said, it was still worth doing, since Tomcat is pretty stable and there was still value for us in doing load balancing.

Some useful links:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80476084-ddec-2e10-3c8d-a53ce287f657?QuickLink=index&overridelayout=true&52828097794660
http://scn.sap.com/docs/DOC-50325

You will need something in front of your Tomcats to do the load balancing. Apache is commonly used for this, since it natively supports Tomcat’s AJP protocol. You could also use a hardware load balancer such as F5, or another software web server.

In our case, we use both – we have an F5 which distributes traffic to three servers. On each server, we run an instance of Apache 2.4 on port 80; Apache is set up as a split installation with Tomcat, so Apache serves the static HTTP content, and invokes Tomcat for dynamic content. Apache uses mod_jk to load balance to a total of six Tomcats, two on each server.

Joe


joepeters :us: (BOB member since 2002-08-29)