Page 1 of 1

Shutdown rendernodes based on idle time

Posted: Thu Mar 26, 2020 10:25 am
by Mikas
Hi.
I'm looking how to send a shutdown command to rendernodes based on the idle time. Sa, I wanna leave render overnight, but don't want to have many machines idling when longer frames are finishing on other nodes, so I want to shutdown them earlier, before whole job is done. Any ideas?

Re: Shutdown rendernodes based on idle time

Posted: Thu Mar 26, 2020 11:21 am
by timurhai
Hi.
You can try to use Wake-On-Lan mechanism for it:
http://cgru.info/afanasy/server#wake_on_lan

Re: Shutdown rendernodes based on idle time

Posted: Thu Mar 26, 2020 11:45 am
by Mikas
How do I initialize that based on idle time? I can feel the answer is somewhere near, but cannot grasp it :)

Re: Shutdown rendernodes based on idle time

Posted: Thu Mar 26, 2020 11:52 am
by timurhai
I never used wake-on-lan for something other.
But i definitely know, that some others do.
People use it to shut down remote farm when render has finished.
See http://cgru.info/afanasy/server#wake_on_lan Configuration section.
You can write custom commands and do what you want.

Re: Shutdown rendernodes based on idle time

Posted: Thu Mar 26, 2020 11:53 am
by Mikas
OK, thanks for the pointer. Will try to dig in there.