Last active
July 15, 2021 16:41
-
-
Save edharman/2eb2f019131109191c4e626f815d25a0 to your computer and use it in GitHub Desktop.
HowTo run multiple RMS cameras from a single host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a very much WIP - | |
From a default RMS install – | |
Open a terminal | |
$: ‘sudo pip3 install virtualenv-clone’ | |
$: virtualenv-clone vRMS <new env-name> | |
Note: the new env directory must reside at the same directory level as your base RMS install, e.g. | |
If by default you have the initial RMS installed to | |
~/source/RMS | |
then create a new directory for the 2nd one as | |
mkdir ~/source-2 | |
$: cp -r source <source_new-env-name> | |
$: activate <new env-name>/bin/activate | |
$: cd source-<source-new-name>/RMS | |
Then edit | |
.config to reflect - | |
Location | |
2nd camera details, ip address etc | |
RMS_data store directory | |
..and depending on your data directory if as I do, you use a separate directory on a common fileshare for storage then you might want | |
to adjust the max-free amount to reflect the potential doubling of space free required for a successful nights capture | |
(@25fps & 2 cameras I set this to 40Gb) | |
You'll also need to edit any of the 2nd env's scripts you need to use e.g. | |
Scripts/RMS_StartCapture.sh - | |
to reflect new virtual env as opposed to the default (vRMS) and launch the script as follows to background it and detach if you wish to | |
run the capture process headless - | |
nohup ~/source-2/RMS/Scripts/RMS_StartCapture.sh >/dev/null 2>&1 & | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment