|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
2 sagetv servers is it possible?
I was wondering if I could set up to sagetv servers in my house and be able to view the content from each of them from each of them
|
#2
|
||||
|
||||
If they are separate servers, then each one will see the other's recordings as imported videos. You might be better off using a single server plus client(s) so that all the recordings appear as regular SageTV recordings on all systems. If you need to have encoders on other systems, you could set up network encoders that the server would control.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#3
|
||||
|
||||
I was considering this a little while ago. I think it would only work if both servers were run in service mode.
The biggest problem would be keeping the wiz.bin database in sync on both servers. If both servers were very active, then by the end of the day, they would be quite out of sync per watched shows and deleted files. Next, you have to deal with which server wins the synchronization. Then, you have to schedule a service stop of SageTV on both servers so you can copy the wiz.bin from the winner server to the loser server. Lastly, schedule the services to start again. Another problem is the video directories. It's theoretically possible you could use 2 video directories, one on each box, and setup your .properties files so that the local folder on server 1 is writeable and the remote folder on server 2 is only readable, and then vice versa the setup on server 2. This would keep each SageTV server from trying to record over the network. Or, use only 1 video folder for all recordings, but then you are recording over the network for at least one of the servers. I wish I had the hardware to attempt this, it does sound intriguing. P.S. I have no idea how to handle the SageTV archived files folder(s) in a dual server setup. |
#4
|
||||
|
||||
Korben: Wiz.bin syncing is not possible... The recordings made on the 'losing' server would be lost because the internal IDs (in the filename) are internal to the wiz.bin. [EDIT] actually, if the EPG is never updated on the 'loser', and it gets it's EPG updated by syncing the wiz.bin from the master, this will not be true... But you would get both servers trying to record the same shows, and the master would not know about shows watched on the slave.
The ony way to get it to work would be like Opus4 said: Either have 1 server and 1 network encoder (if there is a problem with the number of tuners that fit in a box) Or have 2 independant servers, with each one having it's own video directory, and reading [Edit: was weeing?!] the other's video directory as an import library. .. This would mean that the recordings on one server would show up (with wierd filenames) on the others video library, each server would not know what you have seen on the other, and there would be no automatic conflict resolution between the 2 servers... In short, a mess Basically, you would be better off with 1 server and a client (and a network encoder (slaved SageTV or Sage Recorder instance) if required) Last edited by nielm; 01-29-2005 at 02:11 AM. |
#5
|
||||
|
||||
if your computers are networked, I'm curious on what scenario would you need to setup and run two servers? I just can't come up of a situation where that is needed when the computers are networked.
__________________
Mayamaniac - SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme. - SageTV HD300 - HDMI 1080p Samsung 75" LED. |
#6
|
|||
|
|||
I actually working on something similar to this at present but for import of lost shows (corrupt wiz.bin). What I see as the main proplems (after import) that can go wrong are favorite related.
If all the SageTV machines can see the same libraries (non imported) then they will all be able to delete the shows. If all machines aren't setup with the same favorites then the delete algorithm on each machine will want to delete things in a different order causing a problem. Of course if you have all the favorites set up on each machine then they will all try and record the same shows which isn't a good thing. So there are other issues besides just loading the "other" system's files. |
#7
|
|||
|
|||
mayamaniac, here are a few reason you could want to do this:
1) Room mate has a SageTV system and you wish to share shows. 2) You have many tuners and would prefer to run a full SageTV server instead of using SageRecorder. 3) You have multiple clients in use a lot and want to have a "connection" server and a "recording" server to help distribute the load. 4) Similar to #3 you want to build out a distributed environment where you could have near unlimited amount of recorders and clients. 5) You have a couple of lower end machines that aren't quite fast enough to handle the load properly of your environment. Splitting up things would help you scale the environment. 6) Multiple client connect points 7) Redundancy ETC, ETC, ETC. |
#8
|
|||||||||
|
|||||||||
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
Click here for Pic's & spec's of my SageTV Server & HTPC Client Last edited by mdmint; 01-29-2005 at 12:52 PM. |
#9
|
|||||
|
|||||
I'd have to agree with mdmint on this one
Quote:
Quote:
Quote:
Quote:
Quote:
|
#10
|
||||
|
||||
As mdmint and stanger89 pointed out, with current Server and Client configurations, you can achieve many possibilities without the need to run multiple servers. Don't get me wrong, I'm all for giving the users options, but in this case, I still fail to see the benefit.
__________________
Mayamaniac - SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme. - SageTV HD300 - HDMI 1080p Samsung 75" LED. |
#11
|
|||
|
|||
Hey guy, I didn't say some of this stuff can't be done now via work arounds. The question was why someone "may" want to do it.
I'm also disapointed in some of the answers. 1) Using library import directories on one machine to point to another machine is a bandaid. You won't have any show information. No watched, don't like status, no deletion based on... PVR500s arenn't a good choice for many people like myself who REQUIRE CC. So that means no USB2s (4 of these sitting on the shelf) either, but only 250/350s which require one slot per card. 2) 5 PCI slot motherboards aren't very common these days. Typical machines have 3 slots these days. I agree you can BUILD a high end machine but it would ALSO be nice to have 3 or 4 sub-par machines acting as a server too. SageRecord/SageTV (as a recorder) - I got about a dozen tuners myself and have had close to that number of tuners here for building machines for people. I had close to 20 tuners trying to record at the same time and it just doesn't work very well in it's current form. In the current implementation 8 is about optimal. SageTV just became to sluggish and the 2 or 3 clients were not usable. Using SageTV as a glorified SageRecorder isn't really what I'd like to see long term. It's a good start but still isn't the best approach IMHO. All the smarts are still based on one machine being the server and controlling things. 3) Actualy not a great reason as breaking up recording and client servers isn't that big a deal and can be done now anyway with a little trick with the wiz.bin file. As far as the bottleneck statements. I'm going to assume neither of you guys have ever tried more then 8 tuners/clients or you wouldn't say this. SageTV gets taxed. This wasn't as much an issue in 2.0 but 2.1 (and later) just doesn't scale no where as well! 4) I agree about the storage subsystem being the bottle neck at some point. This is why multiple servers would alleviate this. Each server could have it's own subsystem(s) if needed. Not entirely true. SageTV itself is more of a bottle neck then the subsystem. Take a somewhat simple system with 3 hard drives in it. If SageTV were smart it could "know" it's doing 3 recordings and distribute the load accordingly so each drive is receiving one recording. As it is now, it's quite possible/likely, that one drive will be recieving multiple shows while another is free. This of course isn't a big deal with only a couple tuners BUT it does start making a difference as more and more tuners/clients are added to the system. You yourself bring up this short coming too. stanger89, no you can't do this already. 5) True, but as the tuners/clients add up the little ineffeciencies in SageTV DO start to mount up big time. 6) Again, this depends on how many tuners and clients you're talking about. 7) Redundancy, not in the way you were thinking. I was thinking more on the lines that an Intelligent system would be able to shift shows for recording. Say for example if machine 1 was supposed to record CSI but the machine was offline for some reason. Machine 2 or 3 would record CSI. This type of thing was what I was talking about. I'd love to be able to take a machine down and have another pick up the slack. It would make updates a whole lot easier to do. As it is now I have to wait until the wee hours of the morning to not interrupt recording schedules. OVERALL: the main issue I see for massive build-out is that SageTV isn't built to work in a distributed environment. I know you can have recorders in other machines but this is more "off-loaded" and not "distributed". Don't get me wrong, it's very good at what it does, but I'm a "pusher" and would like to see it evolve even further. |
#12
|
||||
|
||||
I wanted to build a video server system at the college where I work, which would eliminate the need for us to record ~175hrs of classes/week and send the VHS tapes to the library.
Unfortunately the system was not approved by the bean counters, but I wanted to use sage, four tuners (A/V inputs), some kind of semester long schedule that I would write myself, and a bunch of (10-12) MVPs. I think I would have needed a minimum of 500gb storage to have two week retention of classes. I originally wanted to have one server and all the MVPs connect from the Library to the TV studio building, but I was deciding upon a remote server in the library which would hold the archived classes and just use the server to encode classes. The only problem is I would need to manually move the files from the encoder to the mvp server. If sage could move the files internally, I think it would be beneficial in this specific instance. Last edited by Menehune; 01-30-2005 at 10:08 PM. |
#13
|
||||
|
||||
The more I think about this, the more I am suspecting that you would be breaking "fair use" laws by sharing video between two or more servers.
For instance, it wouldn't be too difficult to setup a wireless network with your neighbors. If they have satellite and you have digital cable, then you are in a whole mess of legal trouble by the two SageTV server synchronizing, because the residences would be receiving the other's programming "free". |
#14
|
|||
|
|||
Umm, you can pretty much give access to your storage drives now via the LAN over a wireless network to your neighbors so I'm not sure what this would have to do with anything.
|
#15
|
||||
|
||||
By sharing files, you are just sharing files. But two independent SageTV servers sync'ing with each other would be sharing EPG data. Big no no!
|
#16
|
|||
|
|||
Getting around the file locking on the database would be an interesting challenge to 'sharing servers'.
I, like a few of you, see the value in seperate (1 or more) tuner controller systems. Though I don't see the value in syncing will other complete systems. But that's my bias |
#17
|
||||
|
||||
I started a rant
Nice answerws guys I haven't been online for a while and i just got around to reading the replies to my post. Sorry about the mix up I was only asking because 1: I am on the betatesters list and wasn't going to get the beta system because I would have to servers and was wondering what could be done with the 2 of them. And 2: I totally forgot about the network encoder setup, its been a while since I even heard of anyone using the net encoder in sage
|
#18
|
||||
|
||||
Ok Cayars, I got to agree with you. But like many other members, the idea of running 8 to 12 tuners at the same time never ocurred to me. But if you are in a situation, let say a large housewhole or somehow with a lot of people watching TV, then yeah, you would need to find an alternative solution to make SageTV handle such heavy tasks. And running two servers or more and having them talk to each other is a possible solution.
But something happened today that made me realized there's another legitimate reason to run two servers, which is to run a second server as a backup. My SageTV machine froze tonight for unkown reason, my guess is it's PVR-350 related. But it also corrupted the wiz.bin, although Jeff/Narflex said that 2.2x versions shouldn't have wiz.bin corruptions anymore. Well, he's dead wrong. And there's nothing more terrifying then launching SageTV and looking at your SageTV Recordings and discovered its completely emptied. But luckily I replaced the wiz.bin with a backup (Read second link in my sig for backup instructions). A few of my favorite shows were not recorded because I was away from home when SageTV froze. Now if I had a second SageTV server as backup, and it realized that the primary server is not responding, it could kick in and record what was scheduled. I think that would put my mind at ease knowing that I will never miss a show due to computer lock ups.
__________________
Mayamaniac - SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme. - SageTV HD300 - HDMI 1080p Samsung 75" LED. Last edited by mayamaniac; 02-10-2005 at 03:38 AM. |
#19
|
||||
|
||||
What is the maximum number of tuners it is feasible to run on one PC? For a normal PC, I would think the hard drive read/write would be the limiting factor. But if a person setup a monster SageTV server with 6 or more tuners, he'd probably have a RAID set for storage. What's the maximum number of PCI slots? I don't think I've ever seen more than 5 or 6 in any computer. Add to that USB 2.0 tuners. How many external tuners would it take to max out the USB 2.0 bandwidth?
Seems like (this is just a guess) that around 10 PCI+USB tuners simultaneously recording would be pushing the PCI bus. I think it'd be a pretty special setup, cause with that many tuners, you'd have a whole bunch of set top boxes requiring channel changes, and I haven't heard of anyone getting channel changing working on more than 5 set top boxes.
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#20
|
||||
|
||||
Quote:
__________________
Mayamaniac - SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme. - SageTV HD300 - HDMI 1080p Samsung 75" LED. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|