Question
Accenture Singapore
SG
Last activity: 24 Jul 2020 7:01 EDT
Job Sheduler on Multi Node System
I have created a job scheduler to perform one action and my application is hosted on multi node system.
Let's say Node 1 and Node 2 and I would like Job Scheduler to be run on only Node 1.
In the Job Scheduler configuration, I have selected the Runs on as "Any one associated node" (see attached).
Here my question is, in which node my Job Scheduler would run?? Node 1 or Node 2??
Kindly let me know how to restrict a Job Scheduler to be run only on Node 1.
Regards,
Yuvaraj
***Edited by Moderator: Pallavi to move from Pega Academy to Product***
Hi Yuvaraj,
The job scheduler will execute randomly on Node 1 or Node 2 at every moment of time. From Pega 8 you can't assign job scheduler to a specific node, only to node type. So, if you want the job to be executed in Node 1 only, you need to make this Node of some specific type (let's say Custom 1) and then choose the same node type in Job Scheduler configuration. The node type is assigned at java starting parameters when a node fires up.
Hope it helps.