I am trying to find the correct command\script to disable all of our slaves. Sometimes our render farm overheats and when the warning goes off I want to execute a batch or .cmd file triggered by the temperature monitor to disable all slaves. Then when it goes back to a normal temperature to enable the slaves again in a separate script. I went thru the help section to look at deadline command line commands but was unable to find what I needed. Can somebody please help point me in the right direction?
Hi,
We have a number of excellent Power Management features, including Thermal Shutdown. More info on everything Power Management can do:
thinkboxsoftware.com/deadlin … l_Shutdown
Please note, that with the exception of the “Thermal Shutdown”, which is what you are interested in, the other features, require Pulse to be running on your network.
Thermal Shutdown has saved the day more times than I care to mention
Mike
Thanks, it looks like this only works for SNMP though and the sensor we have does not broadcast that. I would still like to be able to create a script which disabled the slaves via a cmd file if our room temperature monitor reaches a certain temperature. Other than the Power Management features, is there a way to use the command line to disable slaves?
Hi,
The power management features are not currently exposed to our Python Scripting API as I think you are the first person to effectively ask for this. We have generally found all the built-in PM features cater for the majority of studio cases. The OID sensors work via SNMP, which is pretty much the industry standard.
I’m intrigued, what sensor/manufacturer are you wanting to use? Could you share a URL for it’s technical spec. It might be something we could add support for in a future release.
You can create a script which will query your sensor (assuming the sensor has support for that) and then tell a slave to shutdown immediately. (There is not much point setting a slave to ‘disabled’ as it will continue to render until the current task has completed, which as this is a mission critical thermal outage, we would want the slave to execute an immediate shutdown).
via DeadlineCommand.exe (assuming your on Windows, otherwise change OS path accordingly):
"C:\Program Files\Thinkbox\Deadline6\bin\deadlinecommand.exe" -RemoteControl MachineName ForceStopSlave
where MachineName is the name of the computer you wish to shutdown slave on. You also wish to use “ShutdownMachine” instead of “ForceStopSlave”. Deadline Launcher needs to be running on the Slave machine to receive this remote command.
Regards,
Mike