Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Marcin Dąbrowski
Quartz Clustering
December 5, 2012 8:47 AM
Answer

Marcin Dąbrowski

Rank: New Member

Posts: 2

Join Date: December 5, 2012

Recent Posts

In my Liferay instalation I've created portlet which have defined scheduler-entry in liferay-portlet.xml.
This kind of triggers are not stored in persisted scheduler, but in memory scheduler.
At this page http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/quar-1 this property is present:

1
2memory.cluster.scheduler.lock.cache.enabled=false


Could anyoune tell me, what this property mean. Should I set it to true?
I want to have only one instance of this trigger acros whole cluster.

Regards,
Marcin Dąbrowski
Prakash Khanchandani
RE: Quartz Clustering
June 17, 2013 2:50 AM
Answer

Prakash Khanchandani

Rank: Expert

Posts: 329

Join Date: February 10, 2011

Recent Posts

Did you find what is the meaning of this property?
Marcin Dąbrowski
RE: Quartz Clustering
June 17, 2013 3:12 AM
Answer

Marcin Dąbrowski

Rank: New Member

Posts: 2

Join Date: December 5, 2012

Recent Posts

No, but I found that there is a bug when I create cluster with 3 nodes.

http://issues.liferay.com/browse/LPS-31531
suresh R
RE: Quartz Clustering
June 17, 2013 9:30 PM
Answer

suresh R

Rank: New Member

Posts: 18

Join Date: June 13, 2013

Recent Posts

Hi Marcin,

Clustering Scheduler

The portal has added cluster support for scheduler.It adds memory scheduler to handle the non-permanent jobs,including singleton jobs that schedule once in the whole cluster and non-singleton jobs that schedule in each instance.it also adds cluster support for the memory sucheduler.Also,it migrates the non permanent jobs to the memory scheduler,modifies the interfaces to supoort both memory scheduler and permanent scheduler.

Especially,the portal added a propery to cluster the scheduler in portal.properties as follow:

memory.cluster.scheduler.lock.cache.enabled=false.

in addition,you would see other properties starting with memory.scheduler.org.quartz.* and persisted.scheduler.org.quartz.* for scheduler memory settings and scheduler persistence, respectively.

i hope it will gives the information to you.

Thanks,
Suresh