SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-26-2010, 04:40 AM
Konig's Avatar
Konig Konig is offline
Sage User
 
Join Date: Apr 2004
Location: Cedar Falls, IA
Posts: 33
Connection options between storage server and SageTV server?

Hypothetical situation: I have separate WHS (or NAS) and SageTV server systems, with most of my media stored (archived) on my WHS (or NAS). How can I ensure that I have fast enough connection between them? I'm concerned about lag when browsing my media from an HD200.

-Could I have a dedicated Gigabit ethernet connection between the two using a crossover cable?
-Could I use firewire networking? Or USB2?
-Could I somehow have an eSATA connection between them?
Reply With Quote
  #2  
Old 03-26-2010, 07:05 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
how about just hook up both servers to the same gigabit switch and see if there is a problem? A saturated gigabit connection should easily be able to handle 15 full bitrate bluray streams (40 Mbps) or 40 full bitrate hdtv streams (19Mbps).
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #3  
Old 03-26-2010, 07:14 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Also, browsing won't be affected, as the browsing is just accessing the database on the sage server. the only time sage will be accessing the storage server, is when it is refreshing the library, or you are actually playing back from it, or recording to it.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #4  
Old 03-26-2010, 08:25 AM
Konig's Avatar
Konig Konig is offline
Sage User
 
Join Date: Apr 2004
Location: Cedar Falls, IA
Posts: 33
Quote:
Originally Posted by Fuzzy View Post
Also, browsing won't be affected, as the browsing is just accessing the database on the sage server. the only time sage will be accessing the storage server, is when it is refreshing the library, or you are actually playing back from it, or recording to it.
Will I see more (anoying) delay when FF and REV'ing if the media is stored on the separate server?

I'm doubtful that I'll ever get anywhere near Gigabit speed thru my cheap d-link router. I also have a lot of slower components hooked into it.

Instead of blowing a lot of money on a more expensive router I figured a cat6 crossover cable and two gig NICs would be cheap and would be a dedicated pipe from server to server. I just don't know how to set up this connection. would it mess up the rest of the network?
Reply With Quote
  #5  
Old 03-26-2010, 08:35 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
As razrsharpe said, try the simplest thing first and see how it performs. But, it's always good to have a backup plan ...

I have a "smart" switch. It's s little more expensive than just a switch, (and amazingly loud--good thing it's in the basement), but no where near the cost of a "managed" switch especially the "refurbished" one I bought. Anyway, the switch has link aggregation or trunking (combining multiple Ethernet wires into one connection), per-port "priority" settings, (give priority to traffic on certain ports), and VLAN, (a separate network).

If I switch to the separate WHS and SageTV setup and have performance problems, my thoughts are to try one or more of the following depending on what the problem seems to be:

1) Set up traffic from SageTV to have top priority.
2) Put a dual-NIC card that supports trunking in the WHS server and trunk it on the switch.
3) Put an extra NIC in each server and dedicate that to communication between SageTV and WHS, (straight connection that may require a cross-over cable--I know I used to need one for this, but not sure if NICs these days can figure that out on their own). If I put dual-NIC cards in each, I could trunk that as well. Also, I could possibly turn on jumbo frames for that link. If I can't do the bonding with a straight connection, then I could do it through the switch and set that channel up as a VLAN.
4) Create a VLAN for SageTV and extenders, and add a separate link on the WHS server to that VLAN.

Anyway, I haven't tried any of these, so take it for what it's worth. I expect that I won't have any issues using the single LAN/single Ethernet set-up, but then our recording/viewing is pretty light and I don't think anyone will be watching TV when the WHS backup stuff kicks in.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #6  
Old 03-26-2010, 09:04 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by Konig View Post
Will I see more (anoying) delay when FF and REV'ing if the media is stored on the separate server?
no idea i dont have separate servers... although ive thought about it

Quote:
I'm doubtful that I'll ever get anywhere near Gigabit speed thru my cheap d-link router. I also have a lot of slower components hooked into it.
I would set up my network so only internet traffic went through the router and all internal network traffice went through a gigabit switch (like this one from hp). ie cable/dsl modem -> router/dhcp server -> gigabit switch -> all internal connected devices. I personally have not used the hp router but here very good things about it... much better then that dlink/linksys/smc consumer nonsense. Consumer routers make crappy switches hence i only use it for internet traffic and as an dhcp server.

Quote:
.. and two gig NICs
go intel nics all the way and if you want to add more bandwith between the servers use the dual nics and they can team/work together as KarylFStein suggested
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #7  
Old 03-26-2010, 10:39 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by Konig View Post
Instead of blowing a lot of money on a more expensive router I figured a cat6 crossover cable and two gig NICs would be cheap and would be a dedicated pipe from server to server. I just don't know how to set up this connection. would it mess up the rest of the network?
Technically the connection will work fine between the servers. The question I have is how to make this work within SageTV and all the available extender options.

I *think* what you'd need to do is assign static IP addresses on the new NICs and put them on a different subnet than the rest of your LAN. Then, you'd need to set up a static route on each box so traffic to the other's LAN IP will go over the private link. You'll want to use UNC paths in SageTV for recording and media directories.

It will look like this:

192.168.0.100 (WHS) ---- LAN ----- 192.168.0.101 Sage TV
192.168.1.100 (WHS) --- XOVER --- 192.168.1.101 SageTV

On the WHS box, set a route for 192.168.0.101 to use gateway 192.168.1.100 and on the SageTV box, set a route for 192.168.0.100 to use gateway 192.168.1.101.

This way, if SageTV tries to write a recording to \\WHS\Recorded TV, it will actually pass that over the private network. However, extenders/clients will hit \\WHS\Recorded TV over the regular LAN IP. You can't do something like set the TV recording directory to \\192.168.1.100\Recorded TV in SageTV because your extenders/clients won't work, (although I think Placeshifter would), unless you put a second router in for the 192.168.1.x network and set up a route to it in your Internet router. But I don't think you want that...

Again, not sure if this will work and I've only done this sort of routing stuff on Linux boxes, so believe at your own risk .
__________________
Home Network: https://karylstein.com/technology.html

Last edited by KarylFStein; 03-26-2010 at 10:43 AM.
Reply With Quote
  #8  
Old 03-26-2010, 05:14 PM
Islander Islander is offline
Sage Advanced User
 
Join Date: Oct 2009
Location: Cayman Islands
Posts: 163
I am using an HP 48x as storage device and the SageTV server is an Atom 330.

My experience:

- The Atom is underpowered so some of this could be related to that fact as I was using it as playback and recording device. Recording directly to the HP over gigabyte connection was not that great even with only one tuner.

- What has worked for me is to record to the Atom local drive and then use SJQ to move the recording automatically when finished. I am currently using this system with 100% success using: two tuners quite frequently recoding at the same time, 5 extenders plus the Atom for viewing content (several of which are quite frequently used to view content at the same time while also recording) and I am at times copying over downloaded content to the HP while this all goes on without a hitch. No fancy setup, a regular giga switch DGS-2208 to where the atom, the extenders, other computers (6), and the router connect to (that is, the only thing connected to the router is the adsl modem).
Reply With Quote
  #9  
Old 03-26-2010, 06:43 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
I'll throw in my 2 cents. I used to have my recordings and imported videos spread over two NAS servers. When drives got a lot cheaper I consolidated everything into the Sage server. I saw no difference in speed or responsiveness of the UI but my electric bill did go down
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #10  
Old 03-26-2010, 06:56 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Really, I think the root here is WHY do you have them on separate servers? What are you gaining from the more complicated setup? I can think of no reason to split them up, and everything from power savings to performance would lead me to believe that a single 24/7 machine is enough for ANYONE's needs. You pretty much have unlimited storage expansion options available on pretty much any OS, so it's not like there is an upper limit on what a single system can do. (Even SATA port multipliers work perfectly well in a sage system, especially if it's for the archived media, as you're only really accessing one or maybe two of the drives at a time anyways).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #11  
Old 03-26-2010, 07:11 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by Islander View Post
- What has worked for me is to record to the Atom local drive and then use SJQ to move the recording automatically when finished.
That is pretty neat; I hadn't seen that feature in SJQ before. So, record to local disk, run commercial skip, then move the recording and EDL files to the NAS for longer-term storage. As a benefit, you can still at least record TV if the NAS is down, (or watch Live TV, but who does that).

Does the location that the file gets moved to have to be listed as a "recording directory" and do the shows still show up under Recorded TV? What happens when someone's watching a recording when SJQ decides to move it to the NAS?
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #12  
Old 03-26-2010, 07:18 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by Fuzzy View Post
Really, I think the root here is WHY do you have them on separate servers? What are you gaining from the more complicated setup? I can think of no reason to split them up, and everything from power savings to performance would lead me to believe that a single 24/7 machine is enough for ANYONE's needs. You pretty much have unlimited storage expansion options available on pretty much any OS, so it's not like there is an upper limit on what a single system can do. (Even SATA port multipliers work perfectly well in a sage system, especially if it's for the archived media, as you're only really accessing one or maybe two of the drives at a time anyways).
The reason I've been kicking it around is so I could have WHS pretty much stock for faster restores and be able to image my SageTV/Web/Email/etc. server, which I'd move to the second box. Of course, I could get rid of WHS, but I really do like the pool and the client backups...
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #13  
Old 03-26-2010, 08:27 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
While I don't really see MUCH need for the pool... it doesn't do much for sage itself, as it can span multiple volumes perfectly fine, and most other things I'm keeping (photos and docs) are small enough that they don't need to span multiple volumes.. The system backup of other systems seems of SOME use.. still, as that's not really something that would require a FULL OS, I'd think about running WHS in a virtualPC on your sage server. This would allow you to have WHS's backup features, but not really require a separate system, while also eliminating some of the drier issues that arrise from trying to run Sage directly on WHS.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #14  
Old 03-27-2010, 10:52 AM
Islander Islander is offline
Sage Advanced User
 
Join Date: Oct 2009
Location: Cayman Islands
Posts: 163
Quote:
Originally Posted by KarylFStein View Post
That is pretty neat; I hadn't seen that feature in SJQ before. So, record to local disk, run commercial skip, then move the recording and EDL files to the NAS for longer-term storage. As a benefit, you can still at least record TV if the NAS is down, (or watch Live TV, but who does that).

Does the location that the file gets moved to have to be listed as a "recording directory" and do the shows still show up under Recorded TV? What happens when someone's watching a recording when SJQ decides to move it to the NAS?
What you describe in the first paragraph is about it. I do not use com skip yet but it should be no problem adding that step.

Yes, both the local Atom and the "NAS" location have to be listed as recording directories. Not to worry, the system will never record to the NAS provided that you amend your properties file to force each tuner to record to the local drive. As an example this is what mine looks like:

mmc/encoders/-1341936237/forced_video_storage_path_prefix=C\:\\

mmc/encoders/1499460733/forced_video_storage_path_prefix=C\:\\

As to your last question I am not entirely sure so it is best to ask in the SJQ thread. This is what the log from a move looks like:

Sat Mar 27 08:01:27 GMT-05:00 2010
Source: C:\MyVideos\MeetDave-655076-0.mpg
Target: \\HPSERVER1\Recorded TV
Renaming source file... DONE!
Copying source file to target directory... DONE!
Deleting source media object in SageTV... DONE!
Renaming target file... DONE!
Creating SageTV media object for target file... DONE!
Relinking target file to SageTV airing... DONE!
Deleting source file... DONE!
Copying artifacts... DONE!
Archive operation completed SUCCESSFULLY!
Sat Mar 27 08:20:35 GMT-05:00 2010
Reply With Quote
  #15  
Old 02-22-2011, 04:47 PM
Robert Wise's Avatar
Robert Wise Robert Wise is offline
Sage User
 
Join Date: Aug 2010
Location: Toronto
Posts: 62
Question

Quote:
Originally Posted by KarylFStein View Post
Technically the connection will work fine between the servers. The question I have is how to make this work within SageTV and all the available extender options.

I *think* what you'd need to do is assign static IP addresses on the new NICs and put them on a different subnet than the rest of your LAN. Then, you'd need to set up a static route on each box so traffic to the other's LAN IP will go over the private link. You'll want to use UNC paths in SageTV for recording and media directories.

It will look like this:

192.168.0.100 (WHS) ---- LAN ----- 192.168.0.101 Sage TV
192.168.1.100 (WHS) --- XOVER --- 192.168.1.101 SageTV

On the WHS box, set a route for 192.168.0.101 to use gateway 192.168.1.100 and on the SageTV box, set a route for 192.168.0.100 to use gateway 192.168.1.101.

This way, if SageTV tries to write a recording to \\WHS\Recorded TV, it will actually pass that over the private network. However, extenders/clients will hit \\WHS\Recorded TV over the regular LAN IP. You can't do something like set the TV recording directory to \\192.168.1.100\Recorded TV in SageTV because your extenders/clients won't work, (although I think Placeshifter would), unless you put a second router in for the 192.168.1.x network and set up a route to it in your Internet router. But I don't think you want that...

Again, not sure if this will work and I've only done this sort of routing stuff on Linux boxes, so believe at your own risk .
I believe you, but why won't the below work? If Sage knows about the recording UNC and I'm accessing Sage through 192.168.0.101 as the default NIC in my Sage box, where's the weak link?

You can't do something like set the TV recording directory to \\192.168.1.100\Recorded TV in SageTV because your extenders/clients won't work

I was going to try something like this with ZFS, but I wondered about Sage liking it.
Reply With Quote
  #16  
Old 02-22-2011, 05:11 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Robert Wise View Post
You can't do something like set the TV recording directory to \\192.168.1.100\Recorded TV in SageTV because your extenders/clients won't work
Extenders/clients don't need to have direct access to the media files, they only need to communicate to the server. Clients will, initially, try to access the files directly, but if they cannot get access, they will be proxied through the server.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #17  
Old 02-22-2011, 05:30 PM
Robert Wise's Avatar
Robert Wise Robert Wise is offline
Sage User
 
Join Date: Aug 2010
Location: Toronto
Posts: 62
Quote:
Originally Posted by Fuzzy View Post
Extenders/clients don't need to have direct access to the media files, they only need to communicate to the server. Clients will, initially, try to access the files directly, but if they cannot get access, they will be proxied through the server.
Translation, it should work?
Reply With Quote
  #18  
Old 02-22-2011, 05:37 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Robert Wise View Post
Translation, it should work?
Not sure specifically waht you are trying to acomplish, as you had responded to a year old thread. I was merely correctng the wrong assumption that the extenders/clients need direct access to the media files. They only need access to the server, and only the server needs access to the media itself.

This is for playback. Other items may need access to the media location, such as ComSkip playback (which the clients would need access to the .EDL files).

Also, the location the files are moved to doesn't need to be a recording directory, in fact, I'd recommend NOT setting it as a recording folder, unless you want to record there. Moving a recording to an import folder keeps it as a recording. The only REAL difference, as far as sage is concerned, between an import folder, and a recording folder, is whether it will record to it. Files found in either are treated the same, and since it will recognize the file as a recording, it will still be treated as such.

Personally, I'm still in the camp that there is no compelling reason to move recordings, and just keep everything in my sage server.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #19  
Old 02-22-2011, 05:49 PM
Robert Wise's Avatar
Robert Wise Robert Wise is offline
Sage User
 
Join Date: Aug 2010
Location: Toronto
Posts: 62
Quote:
Originally Posted by Fuzzy View Post
Not sure specifically waht you are trying to acomplish, as you had responded to a year old thread. I was merely correctng the wrong assumption that the extenders/clients need direct access to the media files. They only need access to the server, and only the server needs access to the media itself.

This is for playback. Other items may need access to the media location, such as ComSkip playback (which the clients would need access to the .EDL files).

Also, the location the files are moved to doesn't need to be a recording directory, in fact, I'd recommend NOT setting it as a recording folder, unless you want to record there. Moving a recording to an import folder keeps it as a recording. The only REAL difference, as far as sage is concerned, between an import folder, and a recording folder, is whether it will record to it. Files found in either are treated the same, and since it will recognize the file as a recording, it will still be treated as such.

Personally, I'm still in the camp that there is no compelling reason to move recordings, and just keep everything in my sage server.
I tried it with Unraid (single NIC) and it was OK, except when other things were happening on the UnRaid box. I'm moving to ZFS for other reasons, so I'd like to keep the Sage/Video activities in one pool and the important stuff in another pool. I should be able to saturate Gig-E with ZFS, so that's why the dual NIC crossover idea. Good to know about the import folder, in case I have to go that route and use the SJQ mover script.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New to SageTV - Best setup for server and storage questions gilbreen Hardware Support 3 09-25-2009 04:10 PM
Connection to server lost when server busy Dekard SageTV Linux 2 04-20-2006 06:43 AM
connection options for DSL/router, Server, & MVP JUC Hardware Support 2 02-28-2006 01:58 PM
The Connection to the SageTV Server has been Lost dvd_maniac SageTV Software 2 10-18-2005 04:40 AM
storage server davey_fl Hardware Support 6 06-28-2004 11:14 PM


All times are GMT -6. The time now is 04:16 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.