Multiple Plex Servers On Same Network

broken image


Multiple Plex Servers (Sync as many as you want at the same time) Unidirectional Syncing if you want to read from one, and write to another; Multiple Plex Logins if you have different logins; Dry Running - Allowing you to run it and view the results, but not commit them; Precise Mode - Using the Plex API, it will match TV Shows and Movies by their unique Plex GUID - slowly but ensures 100% match. Synology - NAS for Plex Media Server. Synology is known for making some of the best NAS devices.

Multiple Plex Servers On Same Network
  1. Plex Media Server: This is the engine behind everything. It can track, organize and give access to your media files. Plex client: This is installed on the playing device. It connects to the server to see what media files are available, displays a menu, and plays them. Plex Central Server: Stores and maintain your Plex account.
  2. The simplest option is to utilize an older computer, like a laptop or desktop, which can serve as a hub for your media collection and stream it to other devices on the same network.

Running Multiple Plex Servers on a single Nas

Why bother, I can hear at least a few Ninjas shouting

Well, because I can… And while you can segregate a single server, there can only ever be one admin.
So maybe your kids want their own server, maybe you want to delegate some of the work maintaining libraries, as you can now with UNO pin content from different servers, so you could have Movies in one Plex and TV in another… but anyway I digress.

So how do you do it, well that's where docker and macvlan's come into play.

Docker macvlans allow you to create a virtual network interface that you can use for your docker images.

So I have Synology DS1815+ with 4 ethernet ports as a bonded network interface. and my local ip network is 10.0.0.x. My NAS does support Hardware transcoding, so if you have one that does, then sorry I can't help with how to make this available to the Docker Instances. Sorry.

Points of note you can only create 1 macvlan with the same gateway address, so make sure your your network block has enough ip addresses for your requirements.

You can use an ip calculator for this.

First thing to do is create a macvlan… Fs19 john deere 8530 mod.

ssh to your nas and run something like this and enter your password when requested

sudo docker network create -d macvlan –subnet=10.0.0.0/24 –ip-range=10.0.0.115/29 –gateway=10.0.0.1 -o parent=bond0 macvlan1

This should create a new maclan with a few usable ip addresses, in this case from 10.0.0.113 – 10.0.0.118

Create some directories on your nas somewhere for the Plex Docker Data, I suggest one for each install you want eg:

In each of these directories create a config folder and a transcode folder, as we will map the Docker containers to these folders. You will also need to decide which media folder(s) each Plex will have access to, but will come to that later.

Launch docker and Download the Plex Docker Image, I used the one that Plex themselves provide.

Now go to plex.tv/claim and sign in if need be (use the account you want this server to be associated with), you should then be provided with a claim token, copy this as you will need it.

So back to the shell (ssh)

type: id to get your user and group, something like this xx will be a number

Add Server To Plex Account

uid=10**xx**(username) gid=100(users)

Multiple Plex Servers On Same Network In Excel

Then and run a command like this for each Plex server you want, edit as required

If you then look in your Docker GUI on the NAS you should see this NameThatWillAppearInDockerGUI as a container.

In your browser, go to
http://oneofyourmacvlanipaddresses:32400/web

And with any luck you should get to the Plex setup screen. So set up your server.

Multiple Plex Servers 1 Account

(I think the docker run command may still be running in the shell, so in the GUI Turn off your new container and then back on, as you can now use the GUI to start and stop the container.

Multiple Plex Servers One Pc

Rinse and repeat for each Plex server you want to run.

You will probably need to create a task to create the macvlan when you start up your nas, or else your plex servers will not be available after a reboot.

and there you go… multiple plex servers on a single NAS… Enjoy.





broken image