Liferay Portal cluster configuration
In the previous section, we learned about the software load balancer configuration using the Apache Web Server. In this section, we extend the setup by configuring the cluster between Liferay Portal Server nodes. To set up a cluster of Liferay Portal Server nodes, we need to ensure all shared resources are either centralized or replicated. The following list highlights the resources that need to be handled for cluster setup:
Liferay Portal web sessions: For every user conversation, a web session object is created and managed by the Liferay Portal application server. A web session object stores important data related to a specific user conversation. In a clustered environment, it is possible that subsequent user requests are served by different Liferay Portal nodes. So, it is very important to make sure that the same session object is available on all clustered nodes.
Cache replication: Liferay Portal, by default, uses the Ehcache caching framework for caching...