Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 76 lines (57 sloc) 1.776 kB
1655c67 @oldpatricka Basic functionality working.
oldpatricka authored
1 EPU Harness
2 ===========
3
4 A tool to deploy EPU locally for development.
5
35f5b83 @priteau Fix URL to the Lightweight CEI Launch Confluence page
priteau authored
6 Refer to https://confluence.oceanobservatories.org/display/syseng/CIAD+CEI+SV+Lightweight+CEI+Launch
e5a546d @oldpatricka Add README
oldpatricka authored
7
8 Usage
9 -----
10
11 By default, epu-harness will start one Process Dispatcher and one eeagent, and
12 create a configuration for each that had the eeagent announce itself to the PD.
13
14 If you would like a different deployment, you can create your own deployment
15 configuration. The default configuration is as follows:
16
17 process-dispatchers:
18 pd_0:
8d92314 @oldpatricka Clean up logging situation
oldpatricka authored
19 logfile: /tmp/pd_0.log
e5a546d @oldpatricka Add README
oldpatricka authored
20 engines:
21 default:
22 deployable_type: eeagent
23 slots: 4
24 base_need: 1
25 nodes:
26 nodeone:
27 dt: eeagent
8d92314 @oldpatricka Clean up logging situation
oldpatricka authored
28 process-dispatcher: pd_0
e5a546d @oldpatricka Add README
oldpatricka authored
29 eeagents:
30 eeagent_nodeone:
8d92314 @oldpatricka Clean up logging situation
oldpatricka authored
31 logfile: /tmp/eeagent_nodeone.log
e5a546d @oldpatricka Add README
oldpatricka authored
32
33 If you want two nodes, for example, your configuration file would look like:
34
35 process-dispatchers:
36 pd_0:
8d92314 @oldpatricka Clean up logging situation
oldpatricka authored
37 logfile: /tmp/pd_0.log
e5a546d @oldpatricka Add README
oldpatricka authored
38 engines:
39 default:
40 deployable_type: eeagent
41 slots: 4
42 base_need: 1
43 nodes:
44 nodeone:
45 dt: eeagent
8d92314 @oldpatricka Clean up logging situation
oldpatricka authored
46 process-dispatcher: pd_0
e5a546d @oldpatricka Add README
oldpatricka authored
47 eeagents:
48 eeagent_nodeone:
8d92314 @oldpatricka Clean up logging situation
oldpatricka authored
49 logfile: /tmp/eeagent_nodeone.log
e5a546d @oldpatricka Add README
oldpatricka authored
50 nodetwo:
51 dt: eeagent
8d92314 @oldpatricka Clean up logging situation
oldpatricka authored
52 process-dispatcher: pd_0
e5a546d @oldpatricka Add README
oldpatricka authored
53 eeagents:
54 eeagent_nodetwo:
8d92314 @oldpatricka Clean up logging situation
oldpatricka authored
55 logfile: /tmp/eeagent_nodetwo.log
56
e5a546d @oldpatricka Add README
oldpatricka authored
57
58 To use the profile, save it to a yml file, and launch it like so:
59
60 $ epu-harness start twonodes.yml
61
62 When you're ready to stop the service, you can do so like so:
63
64 $ epu-harness stop
65
66 Installation
67 ------------
68
2ba3520 @oldpatricka Add requirements.txt for less error prone deployment
oldpatricka authored
69 For deployment:
70
71 pip install -r requirements.txt
72
73 For development of epu-harness itself:
74
75 python setup.py develop
Something went wrong with that request. Please try again.