This document provides configuration instructions for setting up Windows recorders that are configured to store video data on Network Attached Storage (NAS) mounted shares.
As a security precaution, NAS mounted shares are only visible to the processes that run under the context of a single user. For many VMS applications that are using NAS shares, they dynamically mount these partitions when they launch. For Viakoo Reader Agents (ViakooRAs) to view and monitor these shares, the system must be configured to mount these shares on the agent’s behalf whenever it runs.
This document provides instructions on how to setup a recorder such that these NAS shares are mounted for the ViakooRA processes when they run. This setup is necessary for Viakoo to calculate retention, retention compliance, storage utilization and motion % measures in the Viakoo service.
Note: NAS share support requires Windows 2012 or later AND Viakoo Agents version 4510 and later. Contact your Viakoo support representative to make sure you are running the correct Viakoo agents for this capability.
Summary of the Process
- Determine the login credentials for the account associated with your VMS recording process (service).
- Set the ViakooRA service to use the same login as your VMS recording service.
- Determine the NFS mount point(s) used by the VMS recording process
- Configure Windows to mount the NAS partition and local path on behalf of the associated account.
1. Determine recording process system login credentials
Launch Microsoft Windows’ Service Manager program. It will list the currently running services on this machine.
Look for the recording process of your VMS (refer to your VMS’ documentation to determine which process is the recording process).
The process will be running under the context of a specific Windows user account, listed under the “Log On As” column in the display. By selecting this program in the list, you can view information in detail (See illustration below):
2. Configure the ViakooRA to use the same log on
Find the ViakooRA service in the list and bring up the details on it. Set the ViakooRA service to use the same login credentials as the VMS recording service in the “Log On” tab.
3. Determine the NAS mount used by the VMS recording service.
Mount the VMS recording path as a network share under the same username/password, check auto reconnect at sign in.
Log into the management console for your VMS. It should have a storage configuration display. From this view, you can identify the storage path(s) used for your video recording. Below is an example of the view from a Milestone recorder:
4. Mount partitions automatically for the associated account
Now, configure the system to automatically mount partition(s) for this user on different drive letters than ones already in use. To do this, bring up Windows Explorer and navigate to “Computer” (local system). In the banner, click on the “Map Network Drive” to bring up the wizard to establish a network share to connect whenever this user logs onto this system. This share should have the format as follows:
\\<ip address of the NAS system>\<file folder path>
In this example, the NAS share would be \\10.102.199.106\MilestoneClusterShare” as a drive letter.
This will follow with a pop-up to having you provide a network log-on username and password to associate with this share so that it will be mounted when the ViakooRA runs on this system. Provide the same username and password associated with the VMS Recording service that we set as the “Log On” for the ViakooRA in step 2 above.
Completing this setup will then allow the ViakooRA to examine NAS storage and storage performance associated with your VMS recording to these NAS shares.
Assigning a persistent volume letter to a NAS share
In some instances Viakoo may require that a NAS share be assigned a persistent volume letter that continues to service the NAS share after the user logs out.
- Download https://docs.microsoft.com/en-us/sysinternals/downloads/psexec, this is a Microsoft utility, we will use this utility to mount NAS share. You can remove this utility after configuration
- Unzip PStools.zip, you will see psexe.exe
- Run elevated cmd window (As an administrator)
- Cd to the directory where psexe.exe located, and run the follow command from CMD window:
- psexec -i -s cmd.exe
- Find out the NAS archive path from Milestone management interface, should be something like \\it-xprot-sap-c1\ps-xprot-app-09$, where userxxx is the username and passwordyyy is the password for the user to get access to NAS share
- The following example uses volume letter R: as a volume designator. Any unused volume designator can be used.
- net use R: \\it-xprot-sap-c1\ps-xprot-app-09$ /persistent:yes /user:userxxx passwordyyy
- Should see R: drive mounted from this computer
- Remove PStool is you want
If you have any questions, comments, bug reports, or suggestions, please reach out to us through the live-chat feature or contact us at email@example.com.
We love hearing from you!
1 (855) 585-3400