Shutdown rendernodes based on idle time

Installation and configuration.
Post Reply
Mikas
Posts: 15
Joined: Thu Oct 10, 2019 8:52 am

Shutdown rendernodes based on idle time

Post by Mikas » Thu Mar 26, 2020 10:25 am

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?
Mikas
Renderfarm - Ubuntu 18.04 LTS
Clients - mixed Windows and Linux

User avatar
timurhai
Site Admin
Posts: 553
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Shutdown rendernodes based on idle time

Post by timurhai » Thu Mar 26, 2020 11:21 am

Hi.
You can try to use Wake-On-Lan mechanism for it:
http://cgru.info/afanasy/server#wake_on_lan
Timur Hairulin
CGRU 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

Mikas
Posts: 15
Joined: Thu Oct 10, 2019 8:52 am

Re: Shutdown rendernodes based on idle time

Post by Mikas » Thu Mar 26, 2020 11:45 am

How do I initialize that based on idle time? I can feel the answer is somewhere near, but cannot grasp it :)
Mikas
Renderfarm - Ubuntu 18.04 LTS
Clients - mixed Windows and Linux

User avatar
timurhai
Site Admin
Posts: 553
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Shutdown rendernodes based on idle time

Post by timurhai » Thu Mar 26, 2020 11:52 am

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.
Timur Hairulin
CGRU 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

Mikas
Posts: 15
Joined: Thu Oct 10, 2019 8:52 am

Re: Shutdown rendernodes based on idle time

Post by Mikas » Thu Mar 26, 2020 11:53 am

OK, thanks for the pointer. Will try to dig in there.
Mikas
Renderfarm - Ubuntu 18.04 LTS
Clients - mixed Windows and Linux

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest