A function to deactivate a machine already exist in the Orchestrator in the Licences → manage licences → deactivate a machine however the implementation is not 100% useful because:
- When a job is run on that machine the function report an exception and does not deactivate the machine
- Having the jobs allocated dynamically you need to keep an eye on the processes to see when something that is running is finalised so you can quickly deactivate the machine
- The speed the Orchestrator asign new jobs is higher than a human reaction to deactivate a machine so basically this function can’t be used to stop a machine a do servicing
The only change that need to be done is that the deactivation to be activated even if a job is running - the job should continue until it stop and no other new jobs to be allocated to that machine.