From cc1387a0932ca393a6adca9f77b72244ee0909dd Mon Sep 17 00:00:00 2001 From: CaptAngryPants <49005408+CaptAngryPants@users.noreply.github.com> Date: Wed, 27 Mar 2019 18:38:33 -0400 Subject: [PATCH] Created Running Multiple Instances on Windows. (markdown) --- Running-Multiple-Instances-on-Windows..md | 90 +++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Running-Multiple-Instances-on-Windows..md diff --git a/Running-Multiple-Instances-on-Windows..md b/Running-Multiple-Instances-on-Windows..md new file mode 100644 index 0000000..5e2725a --- /dev/null +++ b/Running-Multiple-Instances-on-Windows..md @@ -0,0 +1,90 @@ +How to get multiple instances running on Windows. + +# Prerequisites +Working base install of Radarr installed as a service. (Windows Installer: [https://radarr.video](https://radarr.video)) + +NSSM ([https://nssm.cc/](https://nssm.cc/)) + +# Steps: +![](https://i.imgur.com/NxsE6dw.png) +1. Open Services and stop the existing Radarr Service (Run services.msc from a CMD window or Run command, double click on Radarr, hit stop and in the drop down set start up to be disabled.) + +2. Unpack the NSSM exe to somewhere easy to get to and make sure you are using the right version for your OS (32 or 64 bit) + +![](https://i.imgur.com/1aErMx4.png) + +3. Open an explorer window to the directory of C:\ProgramData\. Find Radarr and I suggest backing up this directory. + +4. Make a new Radarr directory for how ever many instances you need. (My case I made a Radarr-HD and Radarr-4K as I wanted to keep my 4K downloads from overwriting my 1080p) + +4. Open two CMD windows with admin rights and navigate to where you have the NSSM saved. + +5. In the first window issue the command + + nssm edit radarr + +![](https://i.imgur.com/wHzE0TG.png) + +This first NSSM window is meant for a point of reference so you can look back for info for the next two steps. + +6. In the other CMD window, issue the command + + nssm install Radarr-HD + +![](https://i.imgur.com/mzUgsMa.png) + +7. In path place or browse to + + C:\ProgramData\Radarr\bin\Radarr.Console.exe + +Confirm Start up directory is + + C:\ProgramData\Radarr\bin + +And here is the key to the multiple instance, place in arguments + + -data=C:\ProgramData\Radarr-HD + +![](https://i.imgur.com/kN8kY92.png) + +8. Now confirm with the NSSM window from Step 5, that you have matching info in the Details, Log on, and Dependencies Tabs. + +9. Click Install Service + +10. Now start the second one with + + nssm install Radarr-4K + +11. Now repeat steps 7 through 9 with only changing the argument line and matching the other 3 tabs again. + + C:\ProgramData\Radarr\bin\Radarr.Console.exe + + C:\ProgramData\Radarr\bin + + -data=C:\ProgramData\Radarr-4K + +12. Go ahead and start one of the services. (In my case, the 4K one) + +![](https://i.imgur.com/RrtUsEi.png) + +13. Open up the directory associated to the service you choose and find the config.xml + +![](https://i.imgur.com/WEIqIuK.png) + +14. Edit the Config file and change the port numbers. (I just added one more to each port number) + +15. Stop this current service. + +16. Start the other service. If you have more than two or if you just want to change the port repeat 13 and 14. + +17. Restart the first service again. + +# Conclusion + +This should leave you with 2 working instances of Radarr with different databases. You will need to config each one separately. (though if you are adapting this from a working install, you can copy across the other files in C:\ProgramData\Radarr to copy the setup, just leave the BIN directory behind.) + +Remember to open up firewall ports for the new ports you chose too. + +Thank you to JDIacobbo for giving me a starting point with this ([https://github.com/Radarr/Radarr/wiki/Multiple-Instances-on-Windows](https://github.com/Radarr/Radarr/wiki/Multiple-Instances-on-Windows)) + +I mostly wrote this for my future self when I need to redo this and I don't really want to have to relearn that one bit of process I am going to forget.