Connecting to the primary computer using NFS
To use NFS file sharing, you must configure NFS on the primary computer so the /aiw filesystem is accessible to the Windows application server. The share is then mounted on the Windows application server.
- On the application server, verify File Services are installed for the Network File
- Press Windows Key+r to open the Run dialog box and type:appwiz.cpl. This opens the Programs and Features window.
- In the Program and Features window, click Turn Windows Features on or off.
- Follow the instructions in the features wizard to make sure that NFS is installed.
- For Windows Server 2019, install NFS by selecting Features → Client for NFS.
- For Windows 10 Pro or Enterprise, install NFS by selecting Services for NFS → Client for NFS.
- Client for NFS is only available on Windows 10 version 1703 or later.
- Press Windows Key+r to open the Run dialog box and type:
- Add registry entries to configure NFS with the UID and GID used to access files:
- Log in to the primary computer.
- In a command prompt type id <system_user> where <system_user> is your system user ID (default aiw1).
- Note the UID and GID numbers and convert them to hexadecimal format.Note: The UID is the system user ID (default aiw1) and the GID is the system group ID (default aiwgrp1). They are specified in hexadecimal values in the registry, for example, the default UID of 32457 is 0x00007ec9, and the default GID of 32458 is 0x00007eca.
- On the application server, create a file named nfs.reg.Note:
You can create nfs.reg, anywhere on your system.Make sure you have file extensions showing. If you do not display file extensions, the file is created as a text file, not a registry file.
- Edit nfs.reg so it contains the following contents:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default] "AnonymousGID"=dword:<GID_hex> "AnonymousUID"=dword:<UID_hex>
- Replace <GID_hex> with the GID hexadecimal number starting after the 0x. For example, if the GID hexadecimal number is 0x00007eca, replace <GID_hex> with 00007eca.
- Replace <UID_hex> with the UID hexadecimal number starting after the 0x. For example, if the UID hexadecimal number is 0x00007ec9, replace <UID_hex> with 00007ec9.
- Save nfs.reg and close the file.
- Double-click nfs.reg to run the registry file, which adds the UID and GID values to the registry.Note: Make sure that the values in the registry file exactly match the instructions. Incorrect registry modification can damage your operating system.
- Delete nfs.reg from your system.
- Restart the NFS service by typing the following commands into a command prompt:nfsadmin client stopnfsadmin client startIf you receive error messages when stopping or starting the NFS service, restart the application server computer.
- On the application server, map the /aiw filesystem from the primary computer using the Map Network Drive dialog in Windows
and this address for the server:\\<primary_server_hostname>\aiw
- If the connection fails, map the filesystem manually. Open a Command Prompt, and type: mount primary_server_hostname:/aiw drive_letter.
- Test the configuration by creating a file in the <drive_letter>:\aiw1 directory and then deleting it.
- Note the name of the drive for use during the installation process.
- Continue with Installing application servers on Windows computers.