Installation and configuration.
Post Reply
Posts: 6
Joined: Mon Jan 30, 2017 9:14 pm


Post by thomascheng » Thu Mar 23, 2017 6:23 pm


I've install afanasy server and render on a small ubuntu 16.04 render farm. I was able to get everything to work correctly, except for wakeonlan magic packet to wake up a computer from sleep.

I've already manually put a client computer to sleep and was able to wake it up using a terminal command from another computer:
sudo wakeonlan -i [ipaddress] [hardware address]

I'm pretty sure the bios and ubuntu is already configured for wakeonlan to work, but I'm not sure what I need to configure on afanasy to make it work. If you can point me in the right direction, much would be appreciated. Thanks.

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

Re: wakeonlan

Post by timurhai » Fri Mar 24, 2017 11:30 am

Wake-on-lan states:
1. Free for enough time, ("free" and "time" are configured in a farm setup).
2. Server adds a wakeonlan task in a system job.
3. System job task goes on a ready afrender, puts render node to WOL Falling state, this state you can see in GUI.
4. Afrender constructs and run command.
5. Command finishes success (command exist and permissions are enough to run it).
6. Machine sleeps.
7. Afrender stops to send resources to server.
8. Afserver did not received any messages from a machine for ZOMBIETIME.
9. If render node "Online" it became "Offline", if render node is "WOL Falling" it became "Sleeping", state change should be shown in GUI.

You should find out what stage does not works for you?
I see "sudo" in your sleeping command, default linux afrender runs under "render" user, does it exist in sudo group?
User that afrender run under, should have enough rights to execute sleep command.
Timur Hairulin
CGRU 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

Posts: 6
Joined: Mon Jan 30, 2017 9:14 pm

Re: wakeonlan

Post by thomascheng » Mon Mar 27, 2017 6:23 pm

Thank you. I might have found the problem.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest