Deadlinecommand.exe, RemoteControl

HI,

I have been trying to start/stop/“execute commandline” machines remote via the Deadlinecommand.exe, but I can’t get it to work, is there something I have misunderstood, very likely :slight_smile:
I have tried things like DeadlineCommand.exe -RemoteControl Render3 -StartSlave without any luck…

From the documentation:
RemoteControl Send the remote command to the Deadline Launcher running on the specified machine(s)
[Machine Name(s)] The machine name, or a list of machine names separated by commas
[Remote Command] The remote command
[Argument]

Try the following:

DeadlineCommand.exe -RemoteControl Render3 LaunchSlave
DeadlineCommand.exe -RemoteControl Render3 StopSlave

We really should better document what the available commands are. :blush:

Thanks for the, as always, fast respond

Would it be possible to see all the available commands?
or can I look them up somewhere?

Here are the standards:

StopLauncher
LaunchMonitor
LaunchNetworkConfig
LaunchJobMonitor
LaunchSlave
LaunchSlaveDelay
StopSlave
RelaunchSlave
ForceStopSlave
ForceRelaunchSlave
LaunchPulse
StopPulse
RestartPulse
StopMonitor
StopJobMonitor
StopConfig

I think they’re pretty self explanatory, but if you have any questions about specific commands, let us know!

That was fast :astonished:

What about “execute command”?, is that possible

Oops, missed that one. Here are the commands:

Execute
ExecuteNoWait

For example:

DeadlineCommand.exe -RemoteControl Render3 Execute "c:\path\to\application.exe"

I should note that currently cmd /C commands will not work. This is a bug we found in 3.0 that will be fixed in the 3.1 release in March.

Cheers,

  • Ryan

thanks :wink:

What about restart/wake-on-lan/shutdown/etc machines…
Please let it be possible?

RestartMachine
StartMachine
ShutdownMachine

hahahaha… the list goes on and on and on! :slight_smile:

What about scan for viruses? :wink:

Hello Ryan,

Any options to restart machine after job completion?

thx

Yup, forgot to mention these:

DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete Continue
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete StopSlave
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete RestartSlave
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete ShutdownMachine
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete RestartMachine

Cheers,

  • Ryan