Installing the Vita Nuova grid software
5 May 2005
1. Package contents
The installation CD contains software for both grid client and the server (scheduler), in separate directories in the root directory of the CD: client and server.
2. Client software
The grid client software will be installed on Windows NT4/2000/XP machines, in the directory (folder) C:\VNClient.
1. On a Windows machine with the CD loaded, use Windows Explorer (or equivalent) to move to the directory named \client\install on the CD.
2. Double-click setup.exe in that directory. It will display a new window that prompts for a destination directory. The directory need not exist but if it does, it should be empty. The default should be C:\VNClient. You can change the name if required (eg, because C: lacks space), but you will then need to edit several files, as discussed below, and make appropriate changes to the instructions below. Hit the ENTER key to start installation. The program will prompt for permission to create the directory if it does not already exist. It will then populate it with all files required by the client.
3. Move in Explorer to the directory C:\VNClient\grid\slave. Check that the file schedaddr contains the right address for your scheduler machine. If you changed the drive letter, you must also change the four .bat files in the directory to replace the C: drive letter by the one you used.
4. You can now add the grid client as a Windows service by running the appropriate .bat file on the client. Use
install_service.bat for Windows 2000 and Windows XP
OR install_service_nt4.bat for Windows NT4
Just double-clicking in Explorer on the chosen name should install the service.
Once installed as a service the client software will start automatically when the client machine next boots. You can start it manually using the Windows Services Manager in the usual way. There are two .bat files to remove the service (when desired): remove_service.bat for 2000/XP and remove_service_nt4.bat for NT4.
The manual page scheduler-intro(1) in the PDF file \scheduler.pdf on the CD gives more details on running and configuring the client software. The manual page scheduler-monitor(1) in the same PDF file describes the use of the Client Monitor software.
On Windows machines you can remove the directory C:\VNClient\Linux to reduce the space required on Windows clients.
3. Server software
The grid server software will be installed on Linux (Redhat 8 or 9), in the directory /grid/inferno, which should either not exist or be empty.
Linux will usually mount the CD at /mnt/cdrom.
1. In a shell (‘New Terminal’) window, type the following command:
Assuming it has permission to do so, it will populate /grid/inferno with the Inferno distribution, including the grid scheduler components.
2. The file /mnt/cdrom/server/install/gridsched.sh contains a Bourne shell script that can be copied to an appropriate place on your system, or used as the basis for one of your own, to simplify starting the scheduler. In particular it sets the right bin directory in PATH to find Inferno’s emu, and starts emu with the right parameters to find the /grid/inferno directory and start the scheduler in the right environment.
Now check that /grid/inferno/grid/master/config contains the right network address for your scheduler. The manual pages scheduler-intro(1) and scheduler(1) in scheduler.pdf on the CD give more details on invoking the scheduler in different ways.