|
Sun Grid Engine Information Center
Installing Sun Grid Engine
Index
Microsoft Services for UNIX
Overview
Microsoft Windows Services for UNIX (SFU) makes it possible to integrate some Windows operating systems into existing UNIX environments. SFU provides components that simplify network administration and user management across the UNIX and Windows platforms. You can use SFU to do the following:
- Integrate Windows hosts into Grid Engine clusters. This means that the execution and client environment of Grid Engine can be used on Microsoft Windows hosts. You must use Grid Engine in combination with SFU for this to occur.
- Access the network file system (NFS). This makes it possible for you to share files between the UNIX and Windows environments.
- Possibly access account and password services on UNIX and Windows systems (PCNFS, NIS) using the user mapping service.
- Synchronize passwords and map authentication credentials between the UNIX and Windows operating systems. You can use the "single sign-on" capability for Windows and UNIX environments.
- Execute UNIX shell scripts and applications to run on Windows platform-based computers in full-featured UNIX environments.
Interix, SFU's UNIX environment subsystem, offers the following features:
- A complete, high-performance UNIX environment. You can use the csh shell or the ksh shell.
- Several hundred tools and utilities.
- A complete set of development tools and libraries that make it possible to port your UNIX-based applications to the Interix sub-system.
Unsupported Grid Engine Functionality
The following Grid Engine components are not supported in a Microsoft Windows environment and cannot be used on Windows Hosts even though they are standard to a Grid Engine installation:
- Master and Scheduler (sge_qmaster and sge_shadowd)
- Graphical User Interface (qmon)
- DRMAA
- qsh client command
System Requirements
The following system requirements apply to the SFU installation:
- You must install at least Version 5.0 of Internet Explorer, before running the SFU setup.
- You cannot install SFU on a system running Microsoft Services for Network File System. For example, Microsoft Services for NFS is a component of Windows Storage Server 2003.
- You must install the latest Windows service pack before installing SFU and Grid Engine. Then, you can install additional Windows service packs as they become available.
- The hard disk requirements for an SFU installation depend on which components you need to install. The following installation parameters apply:
- The minimum disk space required is 20 MB.
- The maximum disk space requirement is 360 MB.
- SFU must be installed on a partition that is formatted with the NTFS file system.
- You must disable Data Execution Prevention (DEP). DEP is not compatible with some parts of SFU and might cause segmentation faults. See http://support.microsoft.com/kb/875352 for more information about DEP. To disable DEP, see Disabling DEP.
You can find more details concerning SFU requirements at http://www.microsoft.com/windows/sfu/.
Services for UNIX Installation
Microsoft's SFU is required to install Grid Engine successfully. You can download SFU from Microsoft. Search the site for "Windows Services for Unix" to find the current download information.
- Get the SFU distribution media.
- Execute the application to unzip the files into a directory.
This directory must be located on a file system that has at least 480 MBytes free space.
- Log in to the Windows system with the Administrator account.
- Start the setup.exe application that you unpacked previously.
- Enter your User name and Organization.
- Accept the license agreement for SFU.
- Choose the standard installation (recommended) or the custom installation.
If disk space is limited, you might want to choose the custom installation. Make sure that you install at least the following components:
- Utilities -> Base Utilities
- Interix GNU components -> Interix GNU utilities
- Remote connectivity components -> Telnet Server and Windows Remote Shell
- If you intend to use NFS shared file systems, you also need Authentication tools for NFS -> User Mapping and Server for NFS Authentication.
- Depending on the Windows operating system, you might be presented with the following two options concerning SFU security settings, shown in the dialog box below:
If you need further information, consult Microsoft's SFU documentation.
- Configure User Name Mapping.
 | Note User Name Mapping is part of SFU and not part of Sun Grid Engine. Consult Microsoft documentation and support to set up user mapping correctly. |
Your selection in the dialog box, shown below, depends on the hosts and services that are currently provided in your Windows and UNIX environments. If there is no Remote User Mapping server in your environment, then you should select Local User Name Mapping Server.

 | Note You should install SFU and enable the User Name Mapping service on your host that acts as a Domain Controller for your windows environment. All other hosts should contact that Remote User Name Mapping Server. If you choose Local User Name Mapping Server, then you might either select Network Information Services (NIS) to access your passwd and group NIS-maps. Otherwise, select l if you can provide the files yourself. |
See Configuring User Name Mapping for further details.
- Depending on your previous selections, you can either enter the NIS Domain name and NIS Server name or the path of the passwd and group files.

Below is an example of the files that have the standard UNIX format. This means that you can also use your /etc/passwd and /etc/group files from your UNIX environment.
 | Note Some NIS maps do not contain an entry for the root user. If this is the case, follow these steps to map Administrator to root:
- First create a password file containing the root entry.
- If the SFU installation is finished, start the Services for UNIX Administration application and create the mapping: Administrator <-> root.
- Switch to NIS mapping.
- Use simple mapping or add manual mappings.
At this point the installation starts installing components. Wait until all components are installed.
|
- When the installation process finishes, you might need to reboot the machine, depending on the version of Windows that you are using.
- Make sure that the Interix Subsystem Startup starts during boot time.
If you intend to use NFS shares and user mapping, then also start Client for NFS and User Name Mapping.
Depending on the installation options and your version of the Windows operating system, one or more of these services are disabled by default.
Post SFU Installation Tasks
There are several steps you should follow after you install the SFU software.
- Before you start using SFU and install Grid Engine, check that the user mapping is working correctly by following these steps:
- Open an Interix shell locally on the Interix host.
- Use the login command to switch to a known user that is not the Administrator.
- Verify the access permissions for NFS shares that should be accessible to that user.
- Try to access these network resources. If a user cannot access a Network drive, most likely the User Name Mapping is not working correctly.
- Check users' home directories.
To enable the automounting of the users' home directories, use the following series of menus:
Control Panel -> Administrative Tools -> Computer Management -> Users -> Properties -> Profile
Click connect to, select a drive letter, and enter the path of the user's home directory in UNC notation: \\<server>\<share>\<user home>.
Within the Interix subsystem, you might access all NFS shares through the special directory: /net/server/share.
You might also create links to these directories to access the shares directly, for example, ln -s /net/myserver/export/share00/home/home.
- Enable Administrator names on your machines.
Make sure that the administrator accounts on all machines that are enabled as execution hosts for Grid Engine use the same account name, such as Administrator.
Also make sure that this user has manager privileges in your Sun Grid Engine cluster. If this is not the case, add the privileges using qconf -am administrator before the installation of the execution daemon.
- Set the CLI commands.
This starts an editor. Make sure to set the EDITOR environment variable to vi, or your preferred UNIX editor, within the Interix subsystem before you start using UNIX commands.
- Mount NFS shares.
There are two ways to mount NFS shares to the Interix host:
- Configure the users' home directories.
If the users' home directories are located on an NFS server, follow these steps to configure the users' home directories in Windows:
- In the Profile tab of the users properties dialog box, select Connect.
- Select a free drive letter.
- Enter the path to the user's home directory in the UNC notation \\<server>\<share>\<directory>, for example, \\myserver\home\Peter.
Troubleshooting SFU
The following section describes some common problems that users may encounter when installing and using Grid Engine in a Services for UNIX environment on a Windows system.
|
Comments (2)
Aug 20, 2008
Dean_Stanton says:
http://www.microsoft.com/windows/sfu/default.asp doesn't work for me, but http:/...http://www.microsoft.com/windows/sfu/default.asp doesn't work for me, but
http://www.microsoft.com/downloads/details.aspx?familyid=896C9688-601B-44F1-81A4-02878FF11778&displaylang=en
is info about the latest version of MS SFU. A key point is that it is not supported on Vista.
I infer that SGE therefore does not currently support Vista hosts (at all). BTW,
http://www.microsoft.com/windows/sfu/ seems to invoke
http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx
but that page doesn't have the useful info that the long URL above does.
http://wikis.sun.com/download/attachments/11634188/security%20settings.gif
shows the panel with some answers checked, but doesn't say if those answers
are required for use of SFU with SGE or not.
Oct 13, 2008
surajp says:
Comment# 1: This URL http://www.microsoft.com/windows/sfu/default.asp is wrong....Comment# 1:
This URL http://www.microsoft.com/windows/sfu/default.asp is wrong. The correct URL for Windows SFU info is http://www.microsoft.com/windows/sfu/. I have updated the doc.
Comment# 2:
We will be fixing this in the current release of SGE.
Thanks for the comments.