<div dir="ltr">Thanks Douglas, that's really great to hear. That's just what I'm looking to achieve. I will try and set it up myself, and if it works ok I'll update the wiki. Perhaps the wiki was written before this functionality existing.<div><br></div><div>Thanks everyone for your help,</div><div>Andrew</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 10, 2020 at 10:56 PM Douglas Paul <<a href="mailto:doug@bogon.ca">doug@bogon.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On Tue, Mar 10, 2020 at 09:51:04PM +0000, Andrew Wilkinson wrote:<br>
> Thanks, I wasn't aware of those settings. On the page<br>
> <a href="https://www.mythtv.org/wiki/User_Manual:Setting_Up#Slave_Backend" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/User_Manual:Setting_Up#Slave_Backend</a> it says<br>
> that "The design requires that all backends be powered on whenever any task<br>
> is running. You cannot save power by having some backends powered off even<br>
> if they are idle. Once all backends are idle they can all be powered off."<br>
> Does this mean that all the slave backends can be powered off, or that the<br>
> slaves and master have to be turned off together? I was hoping to keep the<br>
> master running 24/7 so we can watch recordings quickly, but that it would<br>
> turn the slave on and off as needed to do recordings.<br>
<br>
I'm not sure why it would say that.<br>
<br>
If you look here:<br>
<br>
<a href="https://www.mythtv.org/wiki/Setup_General" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Setup_General</a><br>
<br>
Look at the option 'Master backend override'.<br>
<br>
Basically to do what you want, you need a few things:<br>
  * The master backend override option<br>
  * A common directory for recordings for all backends (NFS mounted in<br>
    the same place on each)<br>
  * Under 'Shutdown/Wakeup Options' set the 'Startup before recording'<br>
    option. It has to be long enough for the slave to POST, boot, and<br>
    start the backend. I used to use 300 seconds (5 minutes)<br>
  * The options mentioned before, and on that page under 'Backend Wakeup<br>
    settings'<br>
      -- It seems that documentation is misleading or wrong, unless the<br>
      implementation changed changed I used this. The SleepCommand is run<br>
      on the slave to shut it down -- such as '/sbin/halt -p'. The<br>
      WakeCommand is run on the master backend to wake up the slave<br>
      before a recording. This would be your WoL script for example.<br>
<br>
I ran this way for years, shutting down slaves exactly for the reason <br>
to save power. I had two slaves, and they would only both be on if all<br>
the recorders were needed. I have no tuners on my master backend to this<br>
day. And, I have no problems accessing recordings when the slave is off.<br>
<br>
The only caveat is that storage groups might not interact well with<br>
this. So, you might not want to use them with this.<br>
<br>
-- <br>
Douglas Paul<br>
<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>