Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
@fachto76 perhaps you could schedule a stop of the Scheduler Service?
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