Executing commands on the repository machine via script

Hi everyone,

I’ve finally managed to get our render farm to start up via Deadline and IPMI commands - thanks to several threads in this forum. :slight_smile:
Now I’m trying to solve another issue: Since most of our machines don’t respond to Wake-On-LAN, I wanted to add a slave script to start machines manually via IPMI.
In the “Power Management” dialog in the Deadline Monitor it is possible to define a simple command which is executed via the command line on the repository machine itself, which I’m using to send the IPMI command.
Is there a way to execute a command on the repository machine via scripting?
I know about the “SlaveUtils.SendRemoteCommand()” function, which executes a command on a slave machine.
When I use the standard Python “os.system()” function, the Monitor doesn’t execute the command on the repository machine but on my workstation…
I could also install the IPMI command executable on every single workstation, but it would be easier if I could just execute the command on the repository machine, like it does in the “Power Management” settings.
Best regards,

Dirk

Do you have the Deadline Client installed on the repository machine? If so, you could send commands to it if the Launcher is running on the machine. Just start the slave or pulse once so that it appears in the Monitor, and then you’ll be able to send remote commands to it like you would a slave. Would that work?

Cheers,

  • Ryan