SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-20-2017, 06:37 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Can you run multiple SageTV Dockers on one unRAID server?

As long as you are careful to use a different docker name, different ports, and different appdata folders, can you run multiple SageTV server docker instances on the same server? This could be useful to try out configuration changes, new versions, etc without having to bring down the system for the rest of the family.
__________________
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 06-20-2017, 07:41 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wayner View Post
As long as you are careful to use a different docker name, different ports, and different appdata folders, can you run multiple SageTV server docker instances on the same server? This could be useful to try out configuration changes, new versions, etc without having to bring down the system for the rest of the family.
You can, but it will be challenging. You will need to reconfigure all the internal ports, which I think will be a bit of work.
Reply With Quote
  #3  
Old 06-20-2017, 10:10 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
You can, but it will be challenging. You will need to reconfigure all the internal ports, which I think will be a bit of work.
I believe unRAID 6.4 (in beta currently) uses macvlan for the docker interfaces, allowing individual containers to have their own IP address on the network if desired, in which case, each of the 'servers' can be their own 'system', thus preventing port issues. You would still need different appdata folders for each though.
__________________
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 06-20-2017, 10:20 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by Fuzzy View Post
I believe unRAID 6.4 (in beta currently) uses macvlan for the docker interfaces, allowing individual containers to have their own IP address on the network if desired, in which case, each of the 'servers' can be their own 'system', thus preventing port issues. You would still need different appdata folders for each though.
You're right Fuzzy it does - I have been following some of the threads on the unRAID forums. That will make this a lot easier. I think I will use that feature by default in the future as I find it easier to keep track of IP addresses then to be using all kinds of funky port numbers.
__________________
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 06-20-2017, 11:25 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Which ports do I need to be worried about?

Would it be all of the ones in the Docker start command, as in:

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="stuckless-sagetv-server-java8" --net="host" --privileged="true" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "VERSION"="latest" -e "JAVA_MEM_MB"="3072" -e "LICENCE_DATA"="" -e "TCP_PORT_7070"="7070" -e "TCP_PORT_42024"="42024" -e "TCP_PORT_7818"="7818" -e "UDP_PORT_8270"="8270" -e "UDP_PORT_31100"="31100" -e "TCP_PORT_31099"="31099" -e "UDP_PORT_16867"="16867" -e "UDP_PORT_16869"="16869" -e "TCP_PORT_16881"="16881" -e "OPT_GENTUNER"="Y" -e "OPT_COMMANDIR"="N" -e "OPT_COMSKIP"="Y" -e "OPT_SETPERMS"="Y" -e "OPT_LIRC"="N" -v "/mnt/user/appdata/sagetv/":"/opt/sagetv":rw -v "/mnt/user/media/":"/var/media":rw -v "/mnt/user/media2/videos/":"/var/mediaext":rw -v "/mnt/user":"/unraid":rw stuckless/sagetv-server-java8
__________________
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
  #6  
Old 06-20-2017, 10:16 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Those are, for the most part, the ports that sage uses. The issue is that anything that connects to those ports - network encoders, clients, placeshifter, etc - all ALSO need to know what ports you change them too. So much so, that it really is not likely worth it, and if you genuinely want to run a second server for some reason, it might be wise to separate it to a different IP instead. Whether that's running it in a VM that has a different IP address, or upgrading to the prerelease 6.4.x of unRAID to get the new network stack for docker that would allow it to - Or wait for 6.4 to be brought to release.
__________________
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
Multiple instances of the SageTV unRAID Docker? alfi33 SageTV for unRAID/Docker 11 01-18-2020 12:46 PM
SageTV on Unraid server JonL SageTV Linux 11 10-27-2019 02:48 PM
Run Sagetv Client on unRaid server box? willieb SageTV for unRAID/Docker 15 03-11-2017 07:26 PM
SageTV Server Linux with Comskip for Docker (and unRAID) Support Thread stuckless SageTV for unRAID/Docker 409 10-10-2016 07:22 AM
New Server - SageTV+unRAID under ESXi 4.1 stanger89 Hardware Support 211 01-07-2012 10:38 PM


All times are GMT -6. The time now is 12:35 PM.


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