Having talked about how to configure NFS Server on Windows Server in my previous post, this post will focus on how to Create and Configure the Shared Folder on Windows Server. We’re going to create a folder(s) to store data created by multiple application instances in your organization and use NFS to share the folder between them. Create folders for both Manager and Sessions and complete the steps below for each applications storage folder. See other related guides on how to upgrade Windows 10 with an unsupported CPU and TPM 1.0 to Windows 11, Azure virtual networks: how to prepare Azure and on-premises virtual networks using Azure CLI commands, and how to back up an Azure VM from the VM settings
Let’s get started by doing the following:
- Open Fire Explorer and create a folder in C:\ drive. Examples: “temp-storage” and “shared-storage”
- Right-click on the new folder and select Properties.
- On the ‘Properties’ window, select the ‘NFS Sharing‘ tab.
- Select the ‘Manage NFS Sharing…‘ button.
5. In the NFS Advanced Sharing widget, check the ‘Share this folder‘ checkbox, then select Permissions.
6. From the NFS Share Permissions screen, do the following:
- Select ‘Read-Write‘ option in the ‘Type of access:’ field
- Select the checkbox ‘Allow root access.’
7. Select OK, then Close, to complete sharing the newly created folder.
Configure Shared Server’s Firewall
Let’s assume we are running MySQL database application as our internal application. To configure the Firewall on the Shared Server to enable the MySQL database application nodes to access the components installed.
Open the ports of the following components:
- MySQL is running on port 3306 while NFS is running on port 2049.
To do so, we will do the following:
- From the Control Panel, open Windows Defender Firewall.
- Select Advanced settings.
3. On the
Windows Defender Firewall with
Advanced Security window, select Inbound Rules from the left panel.
4. Select New Rule. In the Inbound Rules from the right panel.
5. On the
New Inbound Rule Wizard screen, select the option
'Port' and click
6. On the Protocol and Ports screen, do the following:
Specific local portsoption, and enter the port values of
NFS, separate each value by a comma. For example we have:
Nextwhen you are done.
7. On the Action screen, make sure the option Allow the connection is selected, then click Next.
8. On the
Profile screen, make sure all the options for
Domain, Private and Public are checked, then click
9. On the
Name screen, enter a name for your new rule, e.g. ‘
Shared Ports for MySQL database application', then click
Finally, you’re done setting up the Shared Server.
Please note that you must restart the server for the changes and configurations to take effect!
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.