SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-04-2012, 10:44 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Can you have two Sage servers use the same wiz.bin file?

I have a server running Sage and a separate server running WHS. I have a second Sage license for the WHS box but this box doesn't have any tuners. Assuming that I use the same UNC paths for all media files (ie \\server1\videos, \\server1\tv ) could I reinstall Sage on the WHS server and copy over my wiz.bin from server1?

Could I then continue to update the wiz.bin on a daily basis and have all media files available?

Or is there a better way to accomplish this?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #2  
Old 01-05-2012, 12:30 AM
fidget's Avatar
fidget fidget is offline
Sage Icon
 
Join Date: Jun 2003
Location: Cedar Rapids, Iowa, USA
Posts: 1,186
You should be able to start with the same wiz.bin file, but there really isn't a way to keep them in sync. As far as I know, they are only written when the server shuts down. It may be written at ore times, but I doubt you could predict when.
__________________
Server: i5-2405S (4 core @ 2.5 GHz), 8GB RAM, NORCO RPC-4220 4U case
Tuners: 2 SiliconDust HDHomeRun , 2 Hauppauge HD-PVR Connected to 1 Pace700X and 1 TiVo Series 4
DVD Storage: 24 TB
TV Storage: 11 TB (4x1.5TB for recording, 5TB for archive)
Clients: 3
SageTV Extenders:5
Reply With Quote
  #3  
Old 01-05-2012, 08:52 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by wayner View Post
I have a server running Sage and a separate server running WHS. I have a second Sage license for the WHS box but this box doesn't have any tuners. Assuming that I use the same UNC paths for all media files (ie \\server1\videos, \\server1\tv ) could I reinstall Sage on the WHS server and copy over my wiz.bin from server1?

Could I then continue to update the wiz.bin on a daily basis and have all media files available?

Or is there a better way to accomplish this?
Why not just start SageTV with the client switch and connect to the one with the tuners? A regular SageTV install can be used as a client.

Read your PDF Doc.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #4  
Old 01-05-2012, 09:03 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I am aware of that and I use that functionality but there are at least two reasons to do ths:
  1. Have redundant systems so that if Server1 goes down then Server2 has all of the content and you can switch to it in 30 secs with a reboot of an Extender
  2. Sage doesn't scale well as the JVM starts to die at around 6-7 extenders. If you had two identical systems you could run 5 extenders off of Server1 and 5 extenders off of Server2.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #5  
Old 01-05-2012, 11:25 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
You might be able to get away with it since one server has no tuners... if You put the wiz.bin on a seperate share then change the Sage properties to reflect the location.,, central folder

This way the watch Statuses will be updated.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-05-2012 at 11:28 AM.
Reply With Quote
  #6  
Old 01-05-2012, 11:36 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
What I would recommend in this situation:

Run the server with the tuners as the 'primary' sagetv server. It will handle all the recording, etc.
Run the WHS server as the 'secondary' sagetv server. It would not do any recording, but it could handle playback on a few of your extenders (ones perhaps not used as often). If you set the secondary server's Media Center Import paths to point to the primary server's Recording folders, it will bring in those recordings. SageTV v7 embeds metadata in the recordings, so they will appear the same to the secondary server connected extenders, just needing a library refresh on the secondary server to pick up any new recordings on the primary.

An even better solution, though, would be to just send me a couple of those extra extenders, so you don't have to be burdened with running two separate servers..
__________________
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
  #7  
Old 01-05-2012, 11:45 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
What about reading in the initial metadata for video files that are either Sage V6 recordings or video files not from Sage - what is the best way to do that? Some of the data was manually entered - can I deal with this by having PrimaryServer create .properties files? Will the secondary server then load metdata by reading the .properties files when it scans the folders for the first time? Maybe that is a better idea that screwing around with the wiz.bin files.

I currently use UNC paths on the primary server so the folder names will be the same on both servers - ie \\PrimaryServer\Media\TV , \\PrimaryServer\Media\Videos so all of the file properties should be identical on both servers, assuming that they use the same AiringID and ShowID.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #8  
Old 01-05-2012, 12:16 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
yes, properties files should work. the AiringID won't be of much use on the secondary server, as it won't necessarily have and guide data... that's another thing, you won't have guide data, or tuners, and as such, won't have livetv.

Aside from that, the only other options if you are looking to have THAT many viewing locations, is to go to PC clients... PC clients don't take up much server memory if any at all.
__________________
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
  #9  
Old 01-05-2012, 12:27 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
I did some quick testing on my test machine and laptop.

I shared the SAGETV folder that contains the WIZ.bin

\\TESTSERVER\SageTV


I then installed SageTV on my laptop and changed the properties file... no tuner on laptop. Default directories. No changes. Did not even point to the server recording directories.

wizard/db_backup_file=\\\\TESTSERVER\\SageTV\\Wiz.bak
wizard/db_file=\\\\TESTSERVER\\SageTV\\Wiz.bin.

Conclusion.

1.Saw all recordings when I connect to laptop.
2. Could not view any shows currently recording... get message no encoder to tune.
3. Was able to watch any show with all the metadata including the imports... without defining them in the secondary server. Could mark shows watched and delete them with no problem.
4. No liveTV when connected to secondary server. (No Tuners)
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-05-2012 at 12:30 PM.
Reply With Quote
  #10  
Old 01-05-2012, 12:40 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
This is partially an issue of too many extenders but I also want to have my backup system in a state where it is "good to go" if something happens to my main system.

I am going to post this in the BMT forum as that could be useful in this exercise as well.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #11  
Old 01-05-2012, 12:46 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by nyplayer View Post
1.Saw all recordings when I connect to laptop.
2. Could not view any shows currently recording... get message no encoder to tune.
3. Was able to watch any show with all the metadata including the imports... without defining them in the secondary server. Could mark shows watched and delete them with no problem.
4. No liveTV when connected to secondary server. (No Tuners)
Very cool, thanks. I will try that tonight. I like the result which is that as long as I have a good wiz.bin file then I can move it to another Sage server. The only problem is that if Sage is down then there is a good probabilty that you may not be able to access video files on that Sage server as the reason that Sage is down (corrupt hard drive, hardware failure, etc) will cause the network mapped drives to also be unavailable.

I guess this is a good reason to use a NAS or something similar for at least some of your content if you want your setup to be as fault tolerant as possible- maybe not Recently Recorded TV but for archived TV and other video files.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #12  
Old 01-05-2012, 03:19 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
If you want scaling to large numbers of clients you should be using SageTV Client instead of extenders. The software Client is designed to offload UI processing and JVM overhead from the server; extenders aren't.

For redundancy I would say image your server daily and have backup hardware handy that you can restore an image to as needed. At most you'd lose a few hours of downtime this way. But trying to keep two systems continuously in sync and ready to go on a moment's notice is probably more trouble than it's worth in my opinion.
__________________
-- Greg
Reply With Quote
  #13  
Old 01-05-2012, 03:29 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
The first point is moot unless Sage unlocks client licenses. The backup server already has Sage running and the machine is performing regular WHS duties. Why not have it ready to go so that I can restore Sage service in about one minute rather than a few hours?

It is available now as a backup but I don't have all of the media libraries configured. But my wife has used it when the primary server failed for one reason or another and I wasn't home.

Happy wife = Happy life
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #14  
Old 01-05-2012, 05:09 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Well, for starters, you already HAVE a second server license you aren't using (except for this excersise) so that can be used as a client - that's one less extender in your setup - PM me for the address to send the extra extender... Secondly, you don't NEED to use multiple licenses for this if all you are looking for is the backup capabilities. In that case, all you really need to deal with is keeping the files backed up. You won't be using both servers at the same time, and therefore, are not violating the EULA by using the same license on each.
__________________
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
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
Using two Sage Servers gandalf SageTV Software 10 02-28-2010 01:56 PM
Good Solution for two Sage Servers? silkshadow SageTV Software 9 04-20-2005 12:04 AM
Sage Servers Down? m0ng00se30 SageTV EPG Service 13 12-21-2004 06:30 AM
Multiple Sage Servers and cross-connecting Orthogonite General Discussion 3 03-12-2004 11:49 AM


All times are GMT -6. The time now is 07:49 AM.


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