Load balancing among the EJB nodes in a cluster is done based on the Load balancing algorithm of the application server. Most of the application servers use round-robin algorithm for load balancing. For more information on how load balancing is achieved, refer your Application server administration guide.
Portal
Load balancing among the web nodes in a cluster is done based on the Load balancing algorithm of the proxy server.
To verify that load balancing takes place for portal:
1. Set a different theme for one of the nodes in the cluster by modifying the bpmportal.theme parameter in the bpmportal.conf file present under <OEBPS_HOME>/conf folder.
2. Access the portal via proxy server. For every new browser session created, due to the change in theme of one of the nodes, you can easily observe that some requests are directed to one node and some to the other nodes.
3. Reset the theme on the node after verifying the load balancing so that it is consistent on all nodes.