Changing NX Witness database file locations from default - Windows
AnsweredHi All,
We are preparing to build some new NX Witness servers for a mid-sized (~30 camera) deployment. The servers are Dell PowerEdge R750 boxes running Windows Server 2022 and have the following drives available:
2 x 460GB SSD RAID1 - no writeback cache support
2 x 1.7TB SSD RAID1 - battery-backed writeback cache support
12 x 20TB HDD (either RAID6 or standone JDOB)
We'll be using the big slow spinning disks for the storage disks, and would normally install the OS on the smaller 460GB SSD volume, and ideally install the NX Witness server onto the 1.7TB SSD volume as it has better write performance than the OS volume due to the battery-backed write cache, which should benefit the DB IO patterns used for the various DBs the server uses.
However from what I can read in the support KB here the system, server and smart motion DB files all default to being stored under:
C:\Windows\System32\config\systemprofile\AppData\Local\Network Optix
Is it possible to change this location either during install or afterwards so we can host these on the faster non-OS SSD volume?
https://support.networkoptix.com/hc/en-us/articles/115013837268-Nx-Server-Database-Files
Thanks!
-
Hi Jacob Luebbers,
Nx Witness now does not support to change the path during the installation or run-time. But you would be able to move the installation folder, including the motion index and the database files afterward.
Here are the steps:
1) Install the Nx Witness as usual.
2) Stop the mediaserver service.
3) Copy the folder :C:\Windows\System32\config\systemprofile\AppData\Local\Network Optix
4) Paste the whole folder to the new path you would like to have, ex:
C:\New Path
5) Execute regedit, then find the server config. Add a new string value : dataDir.
The registry key is :Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Network Optix\Network Optix Media Server
6) Double click the dataDir, then paste the path from step 4) with the postfix, ex:
C:\New Path\Network Optix\Network Optix Media Server
7) Restart the mediaserver, then you should see the database file and motion index will be read/stored from the new path.
Please sign in to leave a comment.
Comments
2 comments