Version 5 (modified by, 7 years ago) (diff)


GIMI Init Script in Exper Mgmt Envir (EME)

1) Goals

The GIMI init script in EME aims to interactively initialize the experiment environment for each user-running experiment.

2) Tasks for Init Script

  • Get experiment name from user, and derive experiment-id
  • Retrieve project_id from omni or CH
  • Get list of slice_ids from omni or CH, select slice_id for this experiment
  • Get sliver_manifests_rspecs from AMs
  • Parse sliver_manifest_rspec to get slice_node_names (fully qualified)
  • Select default GIMI Portal, or override
  • Setup GSAS (iRODS) structure
    • derive defaults for user_irods_home_directory and
    • target(exper)-directory, or override
    • derive and load proj_exper_step_descriptors
    • load template OMF scripts
    • get user_irods_target(exper)_iticket, assigned to selcted GIMI Portal agent
  • Push sliver_manifest_rspecs and exp_descriptors to iRODS
  • Holding user_credentials, config GIMI Portal exper info:
    • user_identity
    • experiment_id,
    • project_id, and slice_id
    • slice_node_names
    • sliver_manifest_rspecs
    • user_irods_home_directory
    • user_irods_target(exper)_directory
    • user_irods_target(exper)_iticket

3) GIMI Init installation

This session describes the installation procedure The script can be obtained from github:

4) How to run

This session describes the running and consequences of gimi_init

5) Experiment descriptor and iRODS

This script sets up an experiment directory within the user's iRODS account. The user and GIMI will store objects associated with this experiment in this directory. In the example below the experiment directory is called “myExperiment” .
Template OMF scripts are also added to the user's iRODS account in their own folder titled “experimentTemplates” the first time a user runs this script.

No image "iRODSMainDirectory.png" attached to EME

Descriptor files are generated which collect metadata about the experiment and objects being pushed into iRODS. These descriptor files are used to help organize and search for data. "project.xml" and “experiment.xml” are descriptor files created in each experiment directory.

No image "iRODSExperimentDirectory.png" attached to EME

The user is asked if he would like the manifest rspecs from his slice to be added to this experiment directory in iRODS. If the user says yes, a new directory is created within the experiment directory. The manifest rspecs are then pushed to this new directory and descriptor files are created. In this example "TwoVMs" and "ThreeVMs" are manifest rspecs and "artifact.xml" and “step.xml” are descriptor files.

No image "iRODSManifestDirectory.png" attached to EME

Attachments (4)

Download all attachments as: .zip