Google Search

Wednesday, May 14, 2014

How GTC CSV Recon Scheduled Task in Clustered OIM work with Quartz Environment?

How GTC CSV Recon Scheduled Task in Clustered OIM work with Quartz Environment?
Below are few questions on how Scheduled Tasks work in a clustered environment .

Q) Do the task run on all servers in the cluster, at the scheduled time Or does any one server run the task?


A: The task is running only on one server at a time. However it can be any of the cluster nodes on which the scheduling is enabled


Q) A GTC CSV Recon scheduled task that looks for a CSV file in a particular server folder: Should the file be placed in a shared folder visible to all servers Or should the file be on only one of the servers?

A: The GTC CVS files for the CVS Recon needs to be visible for all cluster nodes running scheduler so it should be placed in a shared folder visible to all servers.


Q) A custom scheduled task that generates a flat file using API calls. Will the file be generated on all servers at the scheduled time?

A: The flat file is generated only on node that was running the task.

Q) Is Quartz automatically setup for clustering when OIM is setup in a clustered environment?


A: One need to set the <clustering> to true in xlconfig.xml for the <Scheduler>. When using clustering the cluster nodes (Quartz) will race to get the lock on QRTZ_LOCK table and the one that gets the lock will execute the scheduled task.ute the scheduled task.

No comments:

Post a Comment