[mythtv-users] Master+Slave cards HOW???????

Matt Goebel matt at goebelnet.com
Mon Jul 18 02:03:36 EDT 2005


> Did you try starting the mythfrontend on the slave?  It asks a
> question as to where the mysql db is.  After that try running the
> mythsetup again...
>
> On 7/17/05, Matt Goebel <matt at goebelnet.com> wrote:
>> > Matt Goebel wrote:
>> >
>> >>Ok...  I give up!  I'm ready to beat someone here.  This should be simple, but I can't get it to work no matter what I try...  I've read all the
>> >>documentation I can find.  (fedora+myth, Mythtv.org docs, wiki's etc...)  Mythtv in general.. easy to setup, this is a pain.
>> >>
>> >>I have 2x Myth systems:
>> >>
>> >>1. Master (Lastest ATRPMS Myth, 1x PVR-250, fileserver, Analog cable connection, also network server an less used as frontend, mythweb)
>> >>
>> >>2. Slave (Lastest ATRPMS Myth, 1x PVR-250, Digital cable via composite)
>> >>
>> >>I want the following:
>> >>
>> >>1. The lave PVR-250 to be the first (primary) card, so that my recordings are digital quality when available (analog cn be a little grainy here)
>> >>
>> >>2. The master PVR-250 to handle live TV during recordings on the slave, and record if there's a conflict
>> >>
>> >>So to setup I:
>> >>
>> >>1. Load mythtvsetup on the master... change both IP's to the private LAN address, skip defining a card (per advanced setup doc), enter my video
>> >>sources, exit.
>> >>
>> >>2. Change MySQL to allow connections for the Mythtv users from anywhere on my LAN.
>> >>
>> >>3. Start Mythbackend
>> >>
>> >>4. Run mythfilldatabase, let finish
>> >>
>> >>5. Load mythsetup on slave.. define local LAN IP for slave...  master IP for master backend, exit
>> >>
>> >>6. Start Mythbackend on Slave,  I now see a successful connection on both the master and slave...
>> >>
>> >>7. Run mythsetup on slave, add tuner, try to add input source for tuner..  no options besides "none" since video sources haven't be defined on
>> >>slave... exit
>> >>
>> >>8. Check if tuner cardid has been added to DB on master... no luck
>> >>
>> >>9. Restart mythtvsetup on slave... define video source.. assign it to card, exit (Do NOT run mythfilldatabase)...
>> >>
>> >>10. Check if tuner cardid has been added to DB on master... no luck
>> >>
>> >>WTF am I missing?  If I add a source and fill the database on the master I can see use the tuner on the slave...  so that's ok except it makes
>> the
>> >>master's PVR-250 the primary.. and I still can't seem to add the 2nd tuner in the slave?
>> >>
>> >>_______________________________________________
>> >>mythtv-users mailing list
>> >>mythtv-users at mythtv.org
>> >>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>> >>
>> >>
>> >>
>> > Did you do anything to tell the slave machine where the database is?
>> > There should be a mysql.txt to edit IIRC
>> >
>> > Kevin
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users at mythtv.org
>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>> >
>> >
>>
>> What does that file do?  I didn't see any mention of it in documentation.  It looks like it's for a senario where you have one backend and a
>> remote
>> frontend...  In this case I have two backends and two frontends...  Changing the value from localhost to the hostname or IP of the server gives me
>> access denied errors when I try to start the backend on the slave... ???
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>
>
> --
> I have Gmail invites... Email me if you want one!
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>

It works!  I knew it was something simple...

That mysql.txt file was the trick.  Nowhere in the documentation did I see that file specifically mentioned other then the section on setting up
remote front ends. (Which I suppose this is too...)  Even there it doesn't tell you what it's for.  Once I got those access denied error from
editing these files.. (I changed all 3x of them, /.mythtv/msql.txt, and the ones for root, and my myth user)  I looked into it a little further... 
I thought I had allowed access from the slave to the master DB... I didn't have that so I added it, ran mythtvsetup again on the slave, got in fine
this time and was able to add a new card + add the source to it... At first it didn't work.  Once I restart the mythbackend on the master it did... 
so I added the tuner on the master, restarted again.. golden!

I think the documentation needs to be updated to make that whole process more clear.

Thanks guys



More information about the mythtv-users mailing list