Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add README

  • Loading branch information...
commit e5a546d51293a7b9cf23008cf61b1731c5f79b7c 1 parent 1655c67
@oldpatricka oldpatricka authored
Showing with 58 additions and 0 deletions.
  1. +58 −0 README.md
View
58 README.md
@@ -4,3 +4,61 @@ EPU Harness
A tool to deploy EPU locally for development.
Refer to https://confluence.oceanobservatories.org/display/CIDev/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:
+ engines:
+ default:
+ deployable_type: eeagent
+ slots: 4
+ base_need: 1
+ nodes:
+ nodeone:
+ dt: eeagent
+ eeagents:
+ eeagent_nodeone:
+ process-dispatcher: pd_0
+
+If you want two nodes, for example, your configuration file would look like:
+
+
+ process-dispatchers:
+ pd_0:
+ engines:
+ default:
+ deployable_type: eeagent
+ slots: 4
+ base_need: 1
+ nodes:
+ nodeone:
+ dt: eeagent
+ eeagents:
+ eeagent_nodeone:
+ process-dispatcher: pd_0
+ nodetwo:
+ dt: eeagent
+ eeagents:
+ eeagent_nodetwo:
+ process-dispatcher: pd_0
+
+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
+------------
+
+ python setup.py install
Please sign in to comment.
Something went wrong with that request. Please try again.