[mythtv-users] Distributing jobs

Michael T. Dean mtdean at thirdcontact.com
Tue May 24 15:28:51 UTC 2011


On 05/24/2011 09:28 AM, Tom Lichti wrote:
> On Tue, May 24, 2011 at 1:25 AM, Dura Zell wrote:
>> Can the fileserver be the master backend without any capture cards? As
>> far is I understand the docs (manual, wiki) the masterbackend has to
>> have at least one capture card wich is not possible in my setup.
>>
>> Maybe I write something myself, kind of perl daemon:
>>
>> 1. transfer file to another machine
>> 2. convert file on this other machine
>> 3. check if mbe is online and
>> 3. a) if so: transfer file back do mbe
>> 3. b) if not: wait until it is and then transfer back to mbe
>> 4. on mbe: replace file with the transcoded one as if the file has been
>> transcoded locally
>>
>> While 1. could easily be done with a userjob and 2-3 are not much more
>> complicated, I'm not sure about the last part, this needs some
>> investigation by me. :)
> I think there has been some work done to make the backend work without
> a tuner, but I don't know what state it's in.

You'll all know when MythTV supports running a master backend alone.  At 
that point, there will be separate binaries for mythmaster and 
mythrecorder (names may change).

>   Could you setup a dummy
> tuner than never gets used?
>
> I know you'd like to shut down the MBE, but is it absolutely
> necessary? If not, then just use mythjobqueue on the file server. Your
> solution seems cumbersome and complicated.

Agreed.  The power usage required for a couple hours of running a master 
backend system each day while your master backend /and/ file server 
mythjobqueue host work on processing a few jobs isn't going to be 
significant.  And, if you have the CPU/IO performance on the file 
server, you can simply run mythjobqueue for a couple hours each day when 
you're normally also recording on the master backend--and, therefore, 
when the master backend needs to be booted, anyway.

See, also, http://www.mythtv.org/wiki/Job_queue_idle.py , as you'll need 
to shut off mythjobqueue to allow the master backend to shut itself down 
when its idle.

Mike


More information about the mythtv-users mailing list