Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

nimbusproject/epuharness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ The Nimbus infrastructure project is no longer under development. ⚠️

For more information, please read the news announcement. If you are interested in providing IaaS capabilities to the scientific community, see CHI-in-a-Box, a packaging of the Chameleon testbed, which has been in development since 2014.


EPU Harness

A tool to deploy EPU locally for development.

Refer to https://confluence.oceanobservatories.org/display/syseng/CIAD+CEI+SV+Lightweight+CEI+Launch

Usage

By default, epu-harness will start one Process Dispatcher and one eeagent, and create a configuration for each that had the eeagent announce itself to the PD.

If you would like a different deployment, you can create your own deployment configuration. The default configuration is as follows:

process-dispatchers:
  pd_0:
    logfile: /tmp/pd_0.log
    engines:
      default:
        deployable_type: eeagent
        slots: 4
        base_need: 1
nodes:
  nodeone:
    dt: eeagent
    process-dispatcher: pd_0
    eeagents:
      eeagent_nodeone:
        logfile: /tmp/eeagent_nodeone.log

If you want two nodes, for example, your configuration file would look like:

process-dispatchers:
  pd_0:
    logfile: /tmp/pd_0.log
    engines:
      default:
        deployable_type: eeagent
        slots: 4
        base_need: 1
nodes:
  nodeone:
    dt: eeagent
    process-dispatcher: pd_0
    eeagents:
      eeagent_nodeone:
        logfile: /tmp/eeagent_nodeone.log
  nodetwo:
    dt: eeagent
    process-dispatcher: pd_0
    eeagents:
      eeagent_nodetwo:
        logfile: /tmp/eeagent_nodetwo.log

To use the profile, save it to a yml file, and launch it like so:

$ epu-harness start twonodes.yml

When you're ready to stop the service, you can do so like so:

$ epu-harness stop

Installation

For deployment:

pip install -r requirements.txt

For development of epu-harness itself:

python setup.py develop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages