• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Settings when running two servers using the same media folder

     
    • 0 Vote(s) - 0 Average

    Settings when running two servers using the same media folder

    What settings should I choose or avoid when running two Jellyfin servers that use the same (synched) media folder?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,173
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #10
    2024-01-23, 10:17 PM (This post was last modified: 2024-01-23, 10:24 PM by Efficient_Good_5784. Edited 2 times in total.)
    Is there a specific purpose for running the secondary server? Do you intend to keep it as a backup, or do you intend to use it along with your main server?
    Also, are both servers running the exact same hardware?

    You could do what I'm doing. I have a two servers. On both, Jellyfin runs in a container with the media and Jellyfin config folders outside of the containers.
    Daily, my main server copies the media and config folders onto the secondary server (using an rsync task). Since the Jellyfin config folder is relatively small, this can be transferred to the 2nd server within a minute.
    Before the transfer, I have a script run to turn off the Jellyfin container on the 2nd server, then a second script run to turn it back on around 10 minutes later. I figured leaving around 10 minutes of time is more than enough time to allow for the config folder to be copied to the destination in its entirety on a 1Gbps network link.

    So when my 2nd server starts Jellyfin up, that Jellyfin instance will have an exact copy of my main server. If I make changes on it, it will only hold for a day. The rsync task I use is set to delete anything that's not on the main server (basically an exact copy after each transfer). Each day, it will get updated with whatever is on my main Jellyfin server.

    Also, since both my servers have different hardware, I edited one of the xml files for playback to modify which settings to use for transcoding, then made a script replace that exact xml file on the 2nd server so that after each daily rsync task, the 2nd server will still have its necessary playback settings. I also did something similar with some of the scheduled task files so that the 2nd server doesn't run any background tasks (since the main server does all that work).
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Settings when running two servers using the same media folder - by Maxi2b - 2024-01-23, 09:55 AM
    RE: Settings when running two servers using the same media folder - by Mel_Gibson_Real - 2024-01-23, 02:04 PM
    RE: Settings when running two servers using the same media folder - by Maxi2b - 2024-01-23, 07:40 PM
    RE: Settings when running two servers using the same media folder - by tmsrxzar - 2024-01-23, 02:12 PM
    RE: Settings when running two servers using the same media folder - by Maxi2b - 2024-01-23, 07:17 PM
    RE: Settings when running two servers using the same media folder - by tmsrxzar - 2024-01-23, 07:23 PM
    RE: Settings when running two servers using the same media folder - by Maxi2b - 2024-01-23, 08:07 PM
    RE: Settings when running two servers using the same media folder - by tmsrxzar - 2024-01-23, 08:20 PM
    RE: Settings when running two servers using the same media folder - by Mel_Gibson_Real - 2024-01-23, 09:58 PM
    RE: Settings when running two servers using the same media folder - by Efficient_Good_5784 - 2024-01-23, 10:17 PM
    RE: Settings when running two servers using the same media folder - by Maxi2b - 2024-01-24, 09:38 AM
    RE: Settings when running two servers using the same media folder - by Efficient_Good_5784 - 2024-01-24, 02:54 PM
    RE: Settings when running two servers using the same media folder - by abpjf - 2024-02-08, 06:18 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode