Setting up NFS under Windows

All documents from the original Software Support Library (SSL)

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

Setting up NFS under Windows

Postby John Richard Procter » Thu May 05, 2011 11:06 am

Please Note: NFS is a Windows application, therefore, it is 3rd party software. NFS is not a Datatex application and must be maintained by the company's IT department.

Since Version 1.6.4.10 an option to use normal Windows Sharing is now available. Windows 2008 Server has made it very difficult to implement NFS in larger organizations with all the requirements and changes to existing systems.

Overview
NOTE: Please leave the all other settings that are not listed here unchanged.
Microsoft provides an application suite called Services For Unix. It consists of Unix applications and utilities which have been modified to run under Windows. Included with Services for Unix is a NFS server. Services For Unix will be referred to as SFU in this document.

Run the SFU35SEL_EN.exe and extract the Install files to a temporary folder. We recommend that you use C:\Temp\SFU, instead of the default temporary folder. Go to the C:\Temp\SFU folder and run SfuSetup.msi OR Setup.exe.

Installation
Follow the prompts until you get to "Installation Options".

  • Under Installation Options
  • Click on "Custom".
  • Click on the "Next" button.
  • Click on "NFS", and select "Entire feature (including all subfeatures if any) will be installed on local hard drive". Click on "Authentication Tools for NFS", and select "Entire feature (including all subfeatures if any) will be installed on local hard drive".
    Follow the prompts using the default settings until you get to "User Name Mapping".

Under User Name Mapping
  • Choose Password and group files at the bottom.
  • Click Next.

a) If you're using Windows 2000:
Under "Password file path and name" enter
Code: Select all
C:\WinNT\system32\drivers\etc\passwd

Under "Group file path and name" enter
Code: Select all
C:\WinNT\system32\drivers\etc\group


OR

b) If you're using Windows XP/2003:
Under "Password file path and name" enter
Code: Select all
C:\Windows\system32\drivers\etc\passwd

Under "Group file path and name" enter
Code: Select all
C:\Windows\system32\drivers\etc\group




The passwd and group files
If the files doesn't exist, create them. Make sure it doesn't have extensions.
(It must not have a notepad icon.)
Create a file called passwd, with the following line:
Code: Select all
root::0:0:root::

and set "Password file path and name" to the location of the
newly-created passwd file.
Create a file called group, with the following line:
Code: Select all
root::0:root

and set "Group file path and name" to the location of the newly-created group file.


Default settings
Windows domain name will have the Computer Name. Leave it as is.
Click on the "Next" button.

Under Installation Location
Install to C:\SFU
Click on the "Next" button and let the installation complete.

Once the installation is done:


Server Hostname
Get the Amethyst's host name from the network screen on the Amethyst Webadmin.
Try and ping the host name from the server where the NFS is configured and make sure it works.
If you can't ping the host name, add the hostname and IP address to the host file in the
Code: Select all
[Windows folder]\system32\drivers\etc\hosts
file. The format of the file
is as follows:
Code: Select all
192.168.0.200   amethyst


Now you should be able to ping the hostname.


Setting up the share
  • Right-click on the folder you want to share. You will see a new
    tab called "NFS Sharing".
  • Click on the tab, and then click on "Share this folder".
  • Click on the "Permissions" button.
  • Click on the "Add" button
  • Under "Add Names", enter the host name of your Amethyst server (i.e. gem or amethyst).
  • Select "Read-Write" under "Type of Access".
  • Make sure that root access is allowed.
  • Click on the "OK" button.


Setting up the user name mapping
You need to map the Amethyst user (root) to a local user.
  • Click on Start, Programs, Windows Services for Unix,
    Services for Unix Administration.
  • On the Services for Unix Administration screen, click on "User Name Mapping" on the left.
  • Now click on the "Maps" tab at the top.
  • Uncheck "Simple Maps".
  • Click on "Show User Maps".
  • Click on the "List Windows Users" button.
    Note:There is also a list Windows Groups button.
  • The local USER is needed. Not the group.
  • Click on the "List Unix Users" button.
  • Choose "Administrator" under Windows users.
  • Choose "root" under Unix users.
  • Click the "Add" button, and then click "Ok" for the two messages that pop up.
  • Click "Apply".

Amethyst should now be able to do Archives

Note:

The 'NFS Directory' in webadmin is the shared name of the NFS directory that has been setup under Windows. No slashes at all. Just the folder name.

The user mapping must be the local administrator of the pc and must have a password.

Folder permissions
If you have permission errors the files system security settings is probably wrong.
Setting up the local administrator to have write access to the NFS shared folder:
  • Select the folder and "Right click" and select "Properties"
  • Select the "Security" tab.
  • Click on "Add"
  • Click "Locations" and select the local pc name and OK
  • Enter "Administrator" in the text box and OK again.
  • Give the Administrator user full rights to this folder.
    Click OK



Amethyst configuration
  • Login to the Amethyst Webadmin
  • Go to the "Configure Archive" screen.
  • Make sure that DUAL mode or NFS is select to enable NFS archiving.
  • Enter the IP address of the NFS server, the username and password for local administrator on the NFS server that was mapped to the root user.
  • Just enter the share name without any slashes.
NOTE: The share name is case sensative!



Troubleshooting:
If you click on the very top most item in the Services for Unix (SFU) Administrator,
then click on the Settings option, The Computer name configured here must be "localhost".
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm

Re: Setting up NFS under Windows

Postby Therlow » Tue May 17, 2011 10:32 am

System Requirements

--------------------------------------------------------------------------------
•Supported Operating Systems:Windows 2000;Windows 2000 Service Pack 3;Windows 2000 Service Pack 4;Windows Server 2003;Windows XP
•The minimum system requirements for installing Windows Services for UNIX depends on which components you are installing and the file system of the disk where the components will be installed.


•The maximum disk space required to install all Windows Services for UNIX components is approximately 275 MB. The minimum disk space required is 19 MB.



Note: The product will not install on Windows 9x or Windows XP Home Edition or Windows Vista. The product should not be installed on Windows Server 2003 R2. This is an unsupported configuration.
Therlow
 
Posts: 21
Joined: Tue Jan 11, 2011 7:11 am


Return to Support Archive's (Amethyst)

Who is online

Users browsing this forum: No registered users and 1 guest

cron