RE: [mythtv-users] Multiple Backend Setup

2005-02-03 Thread mythtv-users
Tony wrote:

snip

The master backend works. I can record shows and watch tv.

I am trying to setup the slave backend and are having problems getting 
it working right. When I built the slave box and tried to run mythtvsetup
it 
complained about not being able to connect to the database so I setup
mysql on the slave box. Then went into mythtvsetup and told it the ip
address
of my master backend. Then I setup the cards as /dev/video0 and
/dev/video1.

Just a quick note but it is worth making sure that you can connect to the 
mysql database before starting

$ mysql -h xxx.yyy.zzz.2 -u mythtv -pinsert database password here

If you get the 
mysql

Prompt then continue, if you can't then you've done something wrong, change
things
until you can!

I had a bit of grief getting this bit to work but once I did as soon as I
set up the
card on the slave it appeared in the 'status', I then removed it and put it
back in
the master but that's another matter!

You do *NOT* need and (I _think_) you should not have mysqld running on the
slave.

I go to the masterbackend and I run a mythtvsetup but I don't see the 2
cards
from the slave machine listed. 

You won't, what you *can* do is do a mysqldump[1] and read it, the card
setup is
fairly near the top and easy to see how many cards (and where they are).

I can watch TV on the slave but it is coming off of the card from the
master
backend. I can watch recorded shows on the slave also.

When I go to backend status from the web frontend it tells me I only have 1
encoder. 

So where did I go wrong?

I don't know but I _think_ you might have set up the slave as a 'secondary'
master then
told the *frontend* to connect to the 'primary' master IYSWIM.

HTH

Druid

[1] Obviously you can just do a SQL query but I don't want to be blaimed for
anyone loosing their 
database...

Ok then, its simple enough, just don't blaim me if it goes pete tong...

mysql select cardid,hostname from capturecard;
++--+
| cardid | hostname |
++--+
|  1 | pvr  |
|  2 | linux|
++--+
2 rows in set (0.00 sec)

This example shows a master with one card (cardid 1, in a machine named
pvr), and a slave with one card (cardid 2, in a machine named linux).


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Multiple Backend Setup

2005-02-03 Thread Isaac Richards
On Thursday 03 February 2005 03:46 am, Tony Annese wrote:
 I am trying to setup the slave backend and are having problems getting
 it working right. When I built the slave box and tried to run mythtvsetup
 it complained about not being able to connect to the database so I setup
 mysql on the slave box. Then went into mythtvsetup and told it the ip
 address of my master backend. Then I setup the cards as /dev/video0 and
 /dev/video1.

You need to be using the same mysql server for all myth machines.  Fix the 
permissions error, and rerun setup on the slave machine and re-setup the 
tuner cards.

 I go to the masterbackend and I run a mythtvsetup but I don't see the 2
 cards from the slave machine listed.

You won't, even when the slave machine is properly set up - the setup app only 
shows local cards.

Isaac
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users