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.