Installation notes

This document should give an short overview about the applications which can be build from the files contained in the w2000 directory and some necessary steps to be done before they can be used with SGE and an implementation of a standard remote shell daemon for W2000.

W2000 Security Settings:

Following access rights are necessary for the W2000 admin_user who will start the shepherd process ("Start"->"Settings"->"Control Panel"->"Administartive Tools"->"Local Security Policy"):



Each user who should be able to start SGE-Jobs on a W2000-host has to have following access rights:


W2000 Applikationen/Scripts:

Shepherd.exe


Shepherd process for Windows 2000. First Argument of the binary is an absolute path. The shepherd will procces the 'config' and 'environment' file contained in this directory. Before it terminates it will create a 'usage' file there. The second argument is a command string.


command string

function

start

The main thread will create a W2000- JobObject and load the UserProfile of the target user into the registry. The job id will be written into the 'osjobid' file. After that it starts StarterMethoid.exe and wait for the termination of all Processes part of the W2000-JobObjects. Then the application creates a usage file an terminates.

terminate

Terminates all processes/threads part of the job whose id is stored in 'osjobid'

suspend

Suspends all processes/threads part of the job whose id is stored in 'osjobid'

resume

Resumes all processes/threads part of the job whose id is stored in 'osjobid'


StarterMethod.exe


Is the first process in the target users W2000 job environment. Instances of this application will be started by Shepherd.exe. This process has full access to registry entries of the target user. Therefore all environment variables are visible for this application. StarterMethod.exe adds all environment variables contained in the 'environment' file and starts the interpreter application which will execute the users job script. The application will terminate with the interpreters exit status.


W2000_Helper.js


This is a JavaScript file. It is used to transfer files between UNIX nodes and W2000 hosts. It will also used to start applications on the W2000 host via UNIX rsh.

UNIX Scripts:

w2000.sh


The script can be used as 'shell' parameter in the SGE queue configuration. All jobs assigned to this queue will be transfer to an W2000 host via rsh.