[mythtv-users] Slave backend wake-up

Chris Everest chriseverest at gmail.com
Wed Oct 8 19:18:16 UTC 2008


On Tue, Oct 7, 2008 at 10:49 AM, Jos Hoekstra <joshoekstra at gmx.net> wrote:

snip


> The howto I used is this one:
> https://help.ubuntu.com/community/MythTV/Install/WhatNext/ACPIWake
>
> But if I use that the master backend takes the settings I set on the
> slave backend and then goes down at the time the slave backend should.
>
> Anyone have pointers how to set this correctly?
> Waking the slave up via ACPI timer in bios( or by using echo
> 'wakeuptime' >/proc/acpi/alarm) or by using WOL works. I'm just at a
> loss of how to program it in the master backend.
>
>
I could never figure out how to schedule the master and slave at different
times.... I always just lived with the fact that both BEs would shutdown
simultaneously.   I did however, get pretty good at creating scripts on each
of the BEs and then using ssh (w/key authentication) to control each server
from one another.  It's also a good way to keep them in sync when the Master
BE restarts.

ssh root at slave-backend-host 'service mythbackend restart'

In the settings for shutdown script, you could attempt to only shutdown the
slave BE via script rather than just calling 'shutdown'.  The following
command will call the shutdown command on a remote host.

ssh root at slave-backend-host 'shutdown -h'

If you haven't used ssh with authorized_keys, google it, it's very
convenient.


-- 
Chris Everest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081008/a9832f24/attachment.htm 


More information about the mythtv-users mailing list