<div dir="ltr">On Tue, Oct 7, 2008 at 10:49 AM, Jos Hoekstra <span dir="ltr"><<a href="mailto:joshoekstra@gmx.net">joshoekstra@gmx.net</a>></span> wrote:<br><div class="gmail_quote"><div><br>snip<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The howto I used is this one:<br>
<a href="https://help.ubuntu.com/community/MythTV/Install/WhatNext/ACPIWake" target="_blank">https://help.ubuntu.com/community/MythTV/Install/WhatNext/ACPIWake</a><br>
<br>
But if I use that the master backend takes the settings I set on the<br>
slave backend and then goes down at the time the slave backend should.<br>
<br>
Anyone have pointers how to set this correctly?<br>
Waking the slave up via ACPI timer in bios( or by using echo<br>
'wakeuptime' >/proc/acpi/alarm) or by using WOL works. I'm just at a<br>
loss of how to program it in the master backend.<br>
<br>
</blockquote><div><br>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.<br>
<br><div style="margin-left: 40px;">ssh root@slave-backend-host 'service mythbackend restart'</div><br>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.<br>
<br><div style="margin-left: 40px;">ssh root@slave-backend-host 'shutdown -h'<br></div></div></div><br>If you haven't used ssh with authorized_keys, google it, it's very convenient.<br><br clear="all"><br>
-- <br>Chris Everest<br><br>
</div>