Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi team,
I need to restart QDS(Qlikview Distribution service) through a batch file. Anybody is having the script for the same.
Thanks in advance.
Some thing like:
NET STOP QlikViewDistributionService
NET START QlikViewDistributionService
HTH
Andy
Have a look here QlikTip #29: Restarting/Stopping/Starting services in QlikView 10
While writing it make sure to kill the unclosed process after issuing stop command, Also you have to run the entire kill if stop is failed.
Andrew's script is spot on, you just want to be careful not to STOP services when there are tasks actually running. If you have a window in your execution to be able to do that then great, just go for it.
There is also a new feature in the latest QV12.10 for a graceful shutdown of the QDS, which will stop new tasks from starting and allow current running tasks to finish before the service is stopped.
But this would need to be triggered manually from the QMC.
Where there is a way through the QMC there should be a way of triggering that remotely - but it may need someone to update the PowerTools to expose the interface to the command line.
Good to know it is there in the QMC though - we are about to upgrade our first clients to 12.10 in the new year.
Steve