AWS Thinkbox Discussion Forums

"deadlinecommand.exe GetSlave" SlaveStatus is wrong

I am running a couple of commands to get quick feedback of the status of the machines in our farm. First, I am running this command:

deadlinecommand.exe GetSlaveNamesInPool 3d

And then using the list of slave names (comma separated) to pipe into this command:

deadlinecommand.exe GetSlave

Everything works out just fine, but in the end I get about 10 machines that are falsely reported as having an “Idle” status. The machines that come back as idle should actually be reported as “Disabled.” I have not been able to find anything in common with these machines that would cause this behavior. When I look at the slave on the local machine, the slave displays “Disabled” as the status, and so does the Monitor. I’m wondering if anybody knows why I would be getting different status in deadlinecommand.exe than I would from the GUI.

Deadline v6.1.0.54584

There is actually a separate property that shows if a slave is disabled or not. Look for the “Enable” property printed out by GetSlave. If it’s true, the slave is enabled, otherwise it’s disabled. This is because it’s possible for a disabled slave to be in different states (ie: idle, offline, or stalled). Starting in 6.1, the disabled property just controls whether or not the slave can pick up tasks.

Cheers,
Ryan

Rad. I will use that property to get better results. Thanks Russell!

I mean Ryan!

Privacy | Site terms | Cookie preferences