13.0 Running Legion on Windows NT hosts

Version 1.6 includes a beta Windows NT port option. A Windows NT host contains a full implementation of the Legion libraries and most client-side application tools (such as legion_ls and legion_run). These tools can be run from a DOS window or developers can write new Legion applications with Visual C++. Either way, you must follow the same steps as on a Unix platform (i.e., set up the user environment).

You must download Legion binary or source files on to your machine. These files are available on the Legion web site (<http://legion.virginia.edu/download/index.html>).

13.1 Requirements

We must emphasize that the 1.6 release Windows NT port is a beta version. Please read the following requirements and limitations before you proceed.

13.2 Starting a Windows NT host

You can't use a Windows NT machine as a bootstrap host, so you must have a Legion system already running on another platform. You will be adding your NT machine to this system.

First, you must download the Windows NT source files or binary executables. These files can sit on any mounted drive. These files are available on the Legion web site (<http://legion.virginia.edu>).

Open a DOS window, if you haven't already done so, and set up your Legion environment. Move to the directory containing the Legion executables and run the batch script NTLocalStartup.bat:

$ NTLocalStartup.bat

Using your machine's host name, the script creates a host object and vault object, and registers the ImplementationCache and ImplementationObject binaries with Legion. It will also contact your Legion system and add the machine to the system's list of available hosts.

A number of basic system objects are provided: the host object, vault object, UnixImplementationCacheClass, UnixImplementationClass, ContextObjects, BasicFileObjects, TwoDFileObjects, JobProxyObject, and all other major class objects. In order to use these, however, you must execute the batch file InitNTArch:

$ InitNTArch.bat

This script registers the Windows NT implementations of these objects with your Legion system. You should then set your environment variables:

$ legion_context_env.bat

13.3 Using a Windows NT client machine

If you prefer, you can use a Windows NT machine as a client machine. You will need to download the Legion binary files on to your machine and copy the necessary OPR files from another Legion machine's valid OPR. You then must

  1. Set the $LEGION and $LEGION_OPR values, and
  2. Run the legion_env.bat and legion_context_env.bat files.

1. This default path service is replaceable: if you wish to manipuate context space via a DOS-style "\" delimiter you can use the primitive context manipulation routines in the Legion library. back


Back to System Administrator Manual Table of Contents
Directory of Legion 1.6 Manuals