View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: MBE/SBE Setup Questions
PostPosted: Tue Aug 14, 2007 10:20 am 
Offline
Joined: Thu May 05, 2005 2:12 pm
Posts: 152
Location: Raleigh, NC
I'm migrating to a master/slave backend setup because I've ran out of space in my front/back for capture cards. I've read through the wiki and the linhes documentation and I think I get all of it.

MBE
1. Edit hosts
2. Edit exports (export /myth)
3. Edit /etc/mysql/my.cnf (on master)
4. Create a /mnt/sbe directory (edit fstab to mount this using nfs)

SBE
1. Edit hosts
2. Edit exports
3. Edit /etc/mythtv/mysql.txt (to direct it to MBE)
4. Create a /mnt/mbe directory (edit fstab to mount this using nfs)

Now, the part where I get hung up is the fact that the instructions state to make a directory in /mnt on each machine. After creating those directories we'll mount the /myth directory from the other machine to it. So we have the following:
Code:
MBE:
/mnt/sbe -> this is mounted in fstab as SBE:/myth

SBE
/mnt/mbe -> this is mounted in fstab as MBE:/myth

After that the instructions say to create symbolic links on the SBE from /mnt/mbe/tv to /mnt/tv and then record things there. This makes sense so that any new recordings will be recorded and saved on the MBE. But, if I do this then the hard disk space on the SBE will not be utilized.

The setup that I want to run is:
Code:
MBE:
PVR-150
HD3000 (QAM hd)
2 x 200gb (lvm)

SBE:
PVR-500 (mbe motherboard doesn't support it)
Air2PC 0.2 (two of these for OTA hd)
40gb + 80gb + 60gb drives (lvm)

What I want to do is to utilize the hard disk space in the slave and record the HD stream there; while also recording HD on my MBE. Then I'd like to use the master backend (which is also my frontend for playback) to watch recordings off of both boxen. Can I do this or am I stuck keeping all of the storage in the master and then just using the slave for holding extra capture cards?

How would I change the nfs mounts to accomplish this?

Thanks,
IK632


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 14, 2007 10:27 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
Remove the NFS exports & mounts completely. The MBE will record stuff in its /myth/tv, and the SBE will record its stuff in its local /myth/tv.

When you watch stuff that was recorded on the SBE, the recorded table will have the SBE hostname in it, so your frontend will contact the SBE's backend to stream the recording to your frontend.

The only problems with this setup are:

1) You need to keep both boxes on if you want to be able to watch all of your recordings, and

2) if your disk recording usage isn't balanced, SBE /myth/tv drives could be full (and thus will need to delete old recordings to make way for new ones), while the MBE isn't. In this situation, 'Delete Recordings' will not show 100%. You will need to occasionally look at the 'Machine Status' page.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 6:16 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
NFS mounts are required to share /myht/music and /myth/video

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 8:48 am 
Offline
Joined: Thu May 05, 2005 2:12 pm
Posts: 152
Location: Raleigh, NC
Thanks for the info guys. I think I'm going to push down the road of having each box store it's own recordings and then see how to optimize the space as things progress. For now the MBE will have the majority of storage space and the SBE will have the smaller storage amount.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 9:15 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
ik632 wrote:
Thanks for the info guys. I think I'm going to push down the road of having each box store it's own recordings and then see how to optimize the space as things progress. For now the MBE will have the majority of storage space and the SBE will have the smaller storage amount.
You may be interested in the work the MythTV devs are doing with Storage Groups - http://svn.mythtv.org/trac/changeset/12151 ...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 5:10 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
khrusher wrote:
NFS mounts are required to share /myht/music and /myth/video

Usually, but in this situation, the frontend is on the MBE (i.e.the SBE doesn't need anything except somewhere to record its TV to)

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 5:18 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
slowtolearn wrote:
You may be interested in the work the MythTV devs are doing with Storage Group


Yes. With a more recent frontend/backend, you can specify a list of volumes.
I haven't tried it with NFS cross mounts/shares from different machines, though.

The thought of what happens at boot or restart time scares me
:lol:

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 8:06 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
nigelpearson wrote:
slowtolearn wrote:
You may be interested in the work the MythTV devs are doing with Storage Group


Yes. With a more recent frontend/backend, you can specify a list of volumes.
I haven't tried it with NFS cross mounts/shares from different machines, though.

The thought of what happens at boot or restart time scares me
:lol:
I haven't braved it yet either (still running R5D1 + 0.20). I suspect the directories defined in a Storage Group will be used when available, but I have no hands-on experience with it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 11:49 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Storage groups only works w/ SVN, not 0.20.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 16, 2007 6:35 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
cecil wrote:
Storage groups only works w/ SVN, not 0.20.
Understood, was pointing out why I had not played with Storage Groups yet (still running 0.20)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu