Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fachto76
Contributor II
Contributor II

Enable/Disable Scheduler on Consumer Node

Hi,

Current Setup:

QS On Prem November 2023

1 Central Node/ 1 Scheduler (Failover)/ 2 Consumer Nodes

During 3am and 7am, I would like to activate the 2 Consumer nodes to become Schedulers in order to have 2 more nodes processing the data. Using a combination of Windows Task Scheduler and Qlik-Cli I manage to activate the nodes to become schedulers.

 

Connect-Qlik -Computername XXX.YYYY.com -UseDefaultCredentials

Update-QlikNode -id 12345678-abcd-1234-abcd-1234567890ab -schedulerEnabled

 

 

Now I am struggling to find a way to disable scheduler on consumer nodes using a script. Currently I am just going into QMC to untick the boxes. 

Any suggestions on how to do the disable part?

 

Many Thanks

 

Labels (1)
2 Replies
David_Friend
Support
Support

@fachto76 perhaps you could schedule a stop of the Scheduler Service?

rzenere_avvale
Partner - Specialist II
Partner - Specialist II

Hey there @fachto76 ,
Have you tried using the same Update instruction, without that specific parameter?
I haven't been able to try it, but I would say that using

Update-QlikNode -id 12345678-abcd-1234-abcd-1234567890ab

 or

Update-QlikNode -id 12345678-abcd-1234-abcd-1234567890ab -engineEnabled <-all other services apart from scheduler>

 should do the trick

Riccardo