|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Is unRAID/Docker the right OS for me?
Sorry for the long post, but lots of questions...
I have been playing with SageTV on unRAID/docker and I really like it, I just want to make sure that my expectations are reasonable and that I am not making a mistake using unRAID as my Sage server as opposed to a regular Linux OS like Ubuntu or Windows. My current setup is that I have a Win7 machine dedicated to Sage. It also runs Plex, PlayON and AirVideo HD server but those are used rarely, often to facilitate playback on iOS devices or for remote playback. I also have a WHS 2011 server that backs up all PCs on my LAN and also has a SageTV license. It is my backup – if there is an issue with my main server I can easily switch an extender to the backup server. The backup server does not have any tuners other than the HDHR OTA tuner that is on the LAN. I use SyncToy to sync all files between the Sage server and the WHS server – with the exception of recorded TV. Any TV files that I plan to keep I archive to a Videos area that does get synced. These files are also synced to the cloud using Backblaze – I have 5.2TB on Backblaze which took months. I also have many of these files synced to an external HD. I have eight TVs in my house (nine in summer with the pool cabana) that all have extenders – 2XHD300 plus a bunch of HD200s. But we rarely run more than 3-4 simultaneously – plus the server UI instance. My main motivation for change is the limitation of 32 bit JVM. After several days I will start running out of JVM and eventually SageTV will die or the PC itself may crash. Recently I have been running some of the extenders off of the backup server and that makes the system much more stable. Being able to use 2GB or more for JVM heap size will be awesome if it means that I never have JVM heap issues. I may even leave the extenders on permanently so that you can start watching as soon as the TV powers on. My current thinking is as follows – build an unRAID system. On this system I would install, via Docker, SageTV, Plex, AirVideoHD, an Ubuntu VM and a WHS2011 VM to continue to backup my Windows PCs. I would also install SageTV v9 on another system and keep the media folders in sync (other than TV) so this would allow me to continue to have a hot backup that can be used in one minute with an extender reboot. (I actually have a third SageTV install up and running on a PC that is also my Occulus Rift workstation) 1. Is SageTV on unRAID/Docker suitable for me in a system that will be driving a lot of extenders running a demanding UI like Gemstone? 2. Are there any performance downsides to running on unRAID as opposed to the alternatives? 3. How much does CPU speed matter for the unRAID CPU? It will be running some stuff like Comskip and perhaps Handbrake if I can figure out how to do this on unRAID. 4. If I want to be able to hold 8TB of content how big of a parity drive will I need? Should I buy a big 8TB drive to use for parity? 5. Am I better off using more smaller drives or just a couple of big (8TB) drives? I have a bunch of drives from my current Sage server that I could move to this system - 3x2TB plus a 2TB drive. 6. How much memory should I put in this system? I could see using as much as 3-4GB for the JVM heap since currently my experience is that you need at least 250MB per UI. Does 16GB make sense or is that overkill? 7. Any options for backing up Windows PCs other than running WHS2011 in a VM? 8. If I want a web server on the Docker would I use a docker version of Apache2 or should I just run Apache2 under Ubuntu? 9. How would I configure hard drives on unRAID to maximize performance using an SSD as a cache drive? 10. Anything else to keep in mind?
__________________
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 |
#2
|
||||||||||
|
||||||||||
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
"Keep your goals away from the trolls" |
#3
|
|||
|
|||
Quote:
That question that you don't understand relates to the following - when I changed my SageTV system drive from a mechanical hard drive to an SSD a few years I saw a dramatic pickup in performance - there are threads on this from a few years ago. Presumably this is because stuff like metadata, file lists, etc are quicker to access on an SSD than on a mechanical drive. How do you ensure that you keep the stuff that is accessed most frequently on an SSD rather than having unRAID hit a slower hard drive for this info? Especially if unRAID is having to go through some sort of a virtualization layer to hit the hardware.
__________________
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 |
#4
|
|||
|
|||
Quote:
__________________
"Keep your goals away from the trolls" |
#5
|
|||
|
|||
So then I guess you want your appdata share on the cache drive. How do you do that?
__________________
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 |
#6
|
|||
|
|||
I forced it to that location in setting in unRAID. In settings turn on Advanced view and change "Default appdata storage location:" to what you want it to be mine is: "/mnt/cache/appdata/". I also went against unRAID advice and set it up to be Cache ONLY. I didn't ever want it to end up on the array at the expense of possible down time due to cache drive failures. That is why I setup a cache drive pool so that at least a drive failure is protected with the RAID 1 protection of the cache pool. That doesn't affect file system errors so if you are really wanting to protect it you can use the Community Applications plugin backup feature. I don't because I tend to record things all hours of the day and don't have a consistent window for backups. The backup feature in Community Applications stops dockers before doing the backup and I didn't want that happening while a recording is going on. I need to setup something in SageTV and unRAID that would fire off a backup when a recording window opens up. Just don't have time to even research if that is even possible let alone implement it.
__________________
"Keep your goals away from the trolls" |
#7
|
||||
|
||||
Quote:
So let's say your largest data drive is 4TB, then your parity drive has to be 4tb or larger. And you can only add 4TB or lower data drives until you get a larger parity drive. So with a 4TB parity drive, and lets say 1x4TB and 1x2TB and 2x1TB drives, you would have 8TB capacity |
#8
|
||||
|
||||
unRAID also does use free memory for caching data, just like any other modern OS does. For instance, my unRAID server currently has 16GB. a look right now shows that I'm only actually 'using' 6.5GB of that, and the other 9.5GB of that is being used for cache. Another 'quickness improvement' I've made was to install the Dynamix Cache Dirs plugin, which keeps the entire file system directory in memory, so when something needs just a list of files (something that seems to happen quite a lot), it is pulled very quickly, and doesn't need to spin up drives to do so.
__________________
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 |
#9
|
||||
|
||||
Regarding backup, I have seen a lot of discussion on the unRAID forums about using Crashplan. There is a docker for crashplan in the Community Applications, and I did install it just to get a first look, and it looks very easy to deal with. A free account can backup to another computer, including the ability to backup to a friends computer as well. Crashplan automatically detects other computers you've logged into, making it very easy to install it on your desktop, and set your unraid server as a backup destination (and vice versa, for things like your sagetv server folder on the tower to target your desktop).
__________________
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 |
#10
|
|||
|
|||
I need something that allows you to do a bare metal restore and it doesn't appear that Crashplan allows you to do that.
__________________
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 |
#11
|
||||
|
||||
True. Crashplan is about multisite backup of valuable data, not rapid restoration of a specific system. To me, those are completely different things, and honestly, I tend to treat system and data differently. 'Bare metal system restoration' is really only a time saver. It's the documents and such that are important to me.
__________________
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 |
#12
|
||||
|
||||
Quote:
I still don't really understand what's so special about WHS's backup, but then again I've never used it. |
#13
|
|||
|
|||
It is not something you do a lot but boy is it useful when you need it. I have used it several times for my Sage server, once when switching from a mechanical drive to an SSD and again when the original SSD failed. I have about 5-6 PCs in the house so it is something that I end up doing at least once per year.
edit - It appears that Win 8 and above have this functionality built in and you can do the backup to a network drive - so that is one option. But I don't know if it is exactly the same as what you have in WHS.
__________________
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 Last edited by wayner; 01-09-2017 at 09:06 AM. |
#14
|
||||
|
||||
Quote:
__________________
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 |
#15
|
|||
|
|||
That isn't always the case - even a fresh Win install and then running all updates which will likely require multiple reboots will likely take an hour. And even taking ninite it takes a while to install all of the software that you want and then you always forget a few things as well. And then there may be stuff where you can't find license keys, etc.
It was especially useful for restoring my SageTV server. I tend to keep an extra SSD around so if the system is down I can switch the extenders to my backup server, do a restore and be up and running usually within an hour or so.
__________________
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 |
#16
|
||||
|
||||
FYI.... The "Community Applications" pluigin (hopefully you have it installed) adds a simple backup/restore to the "Settings" / "Community Applications" tab/section.
This is not a full blown backup, but since unRAID provides some fault tolerance in drive failure, this basically schedules a back to backup stuff in the "appdata" share. It also backs up the USB drive as well. This is really just a superficial backup in the event that you need to quickly restore the appdata based on some other accidental event. The docker.img never needs to be backuped up... it is likely easier to just recreate the docker images using the "my-xxx" templates... I did this recentlly because of a corrupted docker.img and it took a few minutes to completely restore about 4 docker isntances.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#17
|
|||
|
|||
Understood that once I move Sage to unRAID then I won't have to worry about backing up my Sage install. However I may want to occasionally back up the Sage folder in case I want to roll back to an old sage.properties or wiz.bin for some reason - that has happened in the past. I know these are both backed up automatically by Sage but I like to keep a few more versions around in case you need to go back to a file from a week ago for some reason.
__________________
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 |
#18
|
|||
|
|||
To add another unRAID question into the mix, would it be best to set up a user share as the SageTV recording directory, and a separate user share as the SageTV media import directory? Or is there a better way to do that?
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#19
|
||||
|
||||
The SageTV docker container already sets up shares as needed by Sage. Simplest to just lump things into them.
__________________
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 |
#20
|
||||
|
||||
Quote:
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Docker Image for unRaid | ChaOConnor | SageTV Linux | 73 | 05-28-2017 11:57 AM |
SageTV - unRAID docker HW requirments? | SomeWhatLost | Hardware Support | 21 | 01-10-2017 05:02 PM |
SageTV Server Linux with Comskip for Docker (and unRAID) Support Thread | stuckless | SageTV for unRAID/Docker | 409 | 10-10-2016 07:22 AM |
SageTV Docker/unRAID now has a sub-forum | stuckless | SageTV for unRAID/Docker | 0 | 10-10-2016 07:20 AM |
Docker container | coppit | SageTV Github Development | 20 | 09-06-2015 06:26 PM |