Clustering Liferay Portal
Liferay supports clustering out-of-the-box in the Community Edition (CE) version as well as the Enterprise Edition (EE) version. It is designed to build scalable systems that can be used by large companies with a huge amount of data, so it allows us to run several portal instances on parallel servers. In order to build Liferay clusters, you need to know which components are sensitive to clustering. The clustering process has a huge impact on the following components:
Databases, where Liferay instances keep their data
Documents and media as a folder on the hard drive
Lucene search engine files
Liferay caches
This recipe will go through each point and show you how to cluster Liferay correctly.
Getting ready…
This recipe is not a tutorial on how to correctly run clustered environments, such as Apache server, load balancers, and so on. Instead, our goal is to show you how to correctly configure Liferay so that it works with a parallel environment. Let's assume that you have...