Try our conversational search powered by Generative AI!

Run scheduled jobs for multi server scenario only once

Vote:
 

We have a site on prem in load balancer environment and since the upgrade we have an issue with scheduled jobs running multiple times once for each server in the load balancer. 

Based on the documentation https://docs.developers.optimizely.com/content-management-system/docs/scheduled-jobs#multi-server-scenario it looks that on multi server scenarios the scheduled jobs will run on all servers (that is if the scheduler is active). That is if we have 6 servers and we schedule a job per day the job will ran 6 times. 

In the old old version Optimizely 11 that was not the case the jobs only ran once. 

A solution would be enable the scheduler on only one server but we would like to find a solution for the jobs to run exactly 1 time and to not be constrained to 1 server for performance reasons and also in case some servers are removed or added. 

We were thinking that this could be caused by missing Remote event provider - but we implemented an Azure Service Bus that works (as described https://docs.developers.optimizely.com/content-management-system/docs/event-management) for but this scenario is probably not handled somehow. And jobs run multiple times. 

Do you know if there is some missing settings that I can't find in the documentation or if have any suggestions on how to fix this issue? 

Thanks, 

Sergiu

#319249
Mar 20, 2024 13:01
Vote:
 

a long shot in the dark but this might relate https://world.optimizely.com/support/Bug-list/bug/CMS-30651

#319305
Mar 21, 2024 8:09
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.