Liferay Portal can serve everything from the smallest to the largest web sites. Out of the box, it’s configured optimally for a single server environment. If one server isn’t sufficient to serve your site’s high traffic needs, Liferay Portal scales to the size you need.
Liferay Portal works well in clusters of multiple machines (horizontal cluster) or in clusters of multiple VMs on a single machine (vertical cluster), or any mixture of the two. Once you have Liferay Portal installed on more than one application server node, there are several optimizations that must be made. At a minimum, Liferay Portal should be configured in the following way for a clustered environment:
Many of these configuration changes can be made by adding or modifying properties in your
portal-ext.properties file. Remember that this file overrides the defaults in the
portal.properties file. It’s a best practice to copy the relevant section you want to modify from
portal.properties into your
portal-ext.properties file, and then modify the values there.
Each step defined above is covered below to give you a step by step process for creating your cluster. Start with making all Nodes point to the same database.