Databases Reference
In-Depth Information
Let's learn how to configure the Quartz scheduler to run in the clustered environment.
1.
Stop both the Liferay Portal servers if they are running.
2.
Add the following property to the portal-ext.properties file of both the
Liferay Portal nodes:
org.quartz.jobStore.isClustered=true
3.
From the lportal database, drop all the tables starting with QUARTZ_ . This
step is required if Liferay tables are already created.
4.
Now restart both the Liferay Portal servers.
We just added a property to let the Quartz scheduler know that we are running
multiple instances of the Quartz scheduler connected to a single database. By
enabling this property, the Quartz scheduler will make sure that each job is executed
only once.
Summary
We have learned how to configure Liferay Portal in the clustered environment.
We also learned how to configure the software load balancer using the Apache
Web Server. We talked about various options and best practices related to load
balancing and clustering configuration. We covered how to configure Media Library,
search engine, cache, and scheduler to work in the clustered environment. With
this knowledge, we can decide the best options to configure a load balanced and
clustered environment.
Let's get ready to learn various configuration best practices to set up a high-
performing Liferay Portal.
 
Search WWH ::




Custom Search