Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Hi team, I need to restart QDS(Qlikview Distribution service) through a batch file.

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.

Labels (2)
6 Replies
awhitfield
Partner - Champion
Partner - Champion

Some thing like:

NET STOP QlikViewDistributionService

NET START QlikViewDistributionService

HTH

Andy

stabben23
Partner - Master
Partner - Master

Anonymous
Not applicable
Author

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.

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

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.

peter_turner
Partner - Specialist
Partner - Specialist

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.

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

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