Install NFS Client for Windows


The NFS Client should be installed on any server that is sending qTest data to a Shared Directory. If you are using a distributed server deployment model or if using the load balancing model you will need to install the NFS client BEFORE you install an application node.

You will use the NFS Client to mount to the shared folder, which you have set up in your Shared Server, to a local drive. The local drive will be used to configure qTest Manager/Sessions when you install.

A Shared Directory is used anytime you are deploying qTest applications on more than one server where you have files that may need to be shared among services. These files can be supported by a distributed file system like NFS or SMB. The instructions below include setting up a NFS Client.

Install NFS Client

First, login to the Windows Server where you are going to install either qTest Manager or Sessions.

  1. Open Server Manager, and navigate to the Dashboard.
  2.  Select Add Roles and Features.
  3. Click Next on the 'Before you begin' window.
  4. In Select installation type screen, make sure the option 'Role-based or feature-based installation' is selected, then click Next.
  5. On Select destination server screen, make sure the option 'Select server from the server pool' is selected, and click Next.
  6. In Select server roles screen, click Next.
  7. In Select features screen, select 'Client for NFS', then click Next.
  8. In Confirm installation selections, click Install.
  9. In Installation progress screen, wait for the installation to complete, and click Close.


Automatically Mount Local Drive to the Shared Server Folder upon System Startup

The next step is to automatically mount the shared folder in the Shared Server to your local drive upon system startup.

Create a Script

  1. Create a batch file and put it in C:\mount.bat.
  2. Open the file in a text editor and enter the following command(s) that mounts the sessions-storage or manager-storage folder in the shared server, whose IP address is, This folder is configured when setting up your Shared Server Directory to a local drive name S:
    mount -o fileaccess=777 S:
    mount -o fileaccess=777 S:
  3. Save and close the file when you are done.

Create a Task to Execute the Batch File at System Startup

Next, you will create a task from the Task Scheduler that will execute your batch file at system startup.

  1. Open the Task Scheduler application and select Create Basic Task in the right panel.
  2. In Create a Basic Task screen, enter a name for our task, e.g. "Mount shared storage to S drive", then click Next.
  3. In Task Trigger screen, select option 'When the computer starts', then click Next.
  4. In Action screen, select the option Start a program and click Next.
  5. In Start a Program screen, enter 'C:\mount.bat' to Program/script field then click Next.
  6. In Summary screen, click Finish.

Edit the Task Properties

  1. From Task Scheduler, select Task Scheduler Library folder in the left panel.
  2. Look for your newly created task in the middle panel, and right click on it.
  3. Select Properties in the popup menu.
  4. In the Properties window, perform following actions:
    • Check the checkbox 'Run with highest privileges'
    • Click on 'Change User or Group...'
  5. In the Select User or Group window, do the following:
    • Enter 'system' to the field Enter the object to select
    • Select Check Names
    • Select OK 
  6. The property window now will look like below. Click OK to finish setting up the task property.
Powered by Zendesk