6.0 Summary of commands

6.1 Starting a new system

  1. Set the following environment variables: $LEGION_HOME, $LEGION_OPR, $OPENSSL_LIB, and $OPENSSL_INC.
  2. Run the legion_profile.[c]sh script (page 14)
  3. Start and initialize the system (page 15):

    $ LEGION_HOST_BIN=PCDUnixHost

    [If using a PCD host as bootstrap]

    $ legion_setup_state
    $ legion_startup
    $ legion_initialize

  4. If desired, start security (page 19). You must login in as admin after running legion_init_security:

    $ legion_init_security
    $ legion_login /users/admin

  5. Start other packages, as necessary (page 21):

    $ legion_init_HPC
    $ legion_init_Extra
    $ legion_init_Apps

6.2 Start working in a running system

  1. If the Legion environment has not yet been set, run the setup.[c]sh script:

    $ $LEGION_OPR/setup.[c]sh

    OR

    Set the following four environment variables and run the legion_profile.[c]sh script:

    $LEGION_HOME
    $LEGION_OPR
    $OPENSSL_LIB
    $OPENSSL_INC
    $LEGION/bin/legion_profile.[c]sh

  2. Login if necessary.

    $ legion_login /users/<user id>

6.3 Shutdown

  1. Run the shutdown command (page 26):

    $ legion_shutdown

  2. If security was enabled, you'll have to clean up some objects by hand.

6.4 Restart

If your system shut down successfully

  1. Run the startup command (page 27):
  2. $ legion_startup

  3. Run the setup.[c]sh script, which may be as simple as:
  4. $ setup.[c]sh

    OR

    Set the following four environment variables and run the legion_profile.[c]sh script:

    $LEGION_HOME
    $LEGION_OPR
    $OPENSSL_LIB
    $OPENSSL_INC
    $LEGION/bin/legion_profile.[c]sh

  5. Login if necessary.

    $ legion_login /users/<user id>

If your system did not shut down successfully

  1. Kill any lingering Legion processes and remove the $LEGION_OPR directory.
  2. You must start again from scratch. Repeat the steps outlined in section 6.1 above.

Directory of Legion 1.8 Manuals
[Home] [General] [Documentation] [Software]
[Testbeds] [Et Cetera] [Map/Search]

Free JavaScripts provided by The JavaScript Source

legion@Virginia.edu
http://legion.virginia.edu/