Table of Contents
|
|
$ . ~legion/setup.sh
or
$ source ~legion/setup.cshThe following style conventions are used in these tutorials:
| Introduction |
| Hosts and vaults and their objects |
Figure 1: Simple Legion system![]() |
A host is a physical machine (workstation, PC, etc.) that contains at least one processor and can contain active Legion objects.
A vault stores inactive Legion objects: it is a persistant storage space that manages the persistent storage space of inert (i.e., inactive) Legion objects and is the virtual representation of a persistent storage space on a processor. A vault can a file system, database system, tape drive, CD-rom, etc.
A host object is a Legion object that represents and can run a physical host or collection of hosts in the Legion system. The host object guards the host's resources, and can activate or deactivate other Legion objects. In figure 1, Host Object1 represents Host1.
A vault object is a Legion object that represents and runs the vault. Like the host object, vault objects guard a vault's resources. They do not, however, activate or deactivate the objects that they manage. In figure 1, Vault ObjectA represents VaultA.
| The bootstrap host and vault |
| Creating objects on a new host | Creating new host objects ![]() Creating new vault objects ![]() |
The full syntax of this command is:
legion_create_object
{-l <class loid> | -c <legion space path>}
<context path for new object>
[-h <host on which to place new object>]
[-v <vault on which to place new object>]
[-H <context path of preferred host class>]
[-V <context path of preferred vault class>]
[-Ch <context containing list of preferred hosts>]
[-Cv <context containing list of preferred vaults>]The example below creates an instance of the BasicFileClass on aNewHost and assigns it the context name file.
$ legion_create_object -c class/BasicFileClass file -h hosts/aNewHost 1.01.66000000.01000000.000001fc0b0eec4e02... $
$ legion_get_host -c file 1.01.07.3eb53908.000001fc0d9b155044fb5... $
| Controlling instance placement on hosts and vaults |
Other relevant on-line documents:
Last modified: Thu Jun 15 16:35:59 2000
|
[Testbeds] [Et Cetera] [Map/Search]
legion@Virginia.edu
|