Skip to content

Add wake-on-lan so that a sleeping node could be used when more transcodering power is required. #68

@nydave69

Description

@nydave69

Add wake-on-lan so that a sleeping node could be used when more
transcodering power is required.

The command to WOL is;

wakeonlan -i 192.168.44.255 00:0e:c4:d4:d1:c6

command (-i interface) mac address of the node
The interface is determined by using the broadcast address of the sleeping node
and the mac address of the sleeping node. Would be nice to gather when setting
up the node as a slave and storing with its IP address.

if I issue the command from a terminal it takes about 5 seconds for the node to wake and
become stable.

Sleeping nodes just need to be setup, I set mine to watch port 22 for inactivity
and to wait 10 minutes before going to sleep, other settings maybe needed depending
on performance, they are set on each slave independently.

When to send the WOL command?
Processing power of the current active nodes is greater the 80%, not sure what
numbers should be used, something testing will tell.
But the power savings when not in use will be the biggest benefit as a node would
only power up when needed. Add sleep as transcoderings complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions