Project

General

Profile

Ciop-simwf » History » Version 3

Herve Caumont, 2013-09-25 12:14

1 2 Herve Caumont
h1. ciop-simwf
2 3 Herve Caumont
3
{{>toc}}
4
5
h2. Name 
6
7
ciop-simwf -- submits the sample workflow of the application. This is useful to simulate the whole application distribution process.
8
9
h2. Synopsys
10
11
<pre>
12
ciop-simwf  [-h | --help ] [wf-name] [-l | --list ] [-d <job-label>]
13
</pre>
14
15
16
h2. Options
17
18
The following options are available:
19
20
> [-h] display the help page
21
> [-l] lists all previous simulated workflow runs
22
> [-d] delete a specified workflow simulation run
23
24
25
h2. Exit codes
26
27
>0           workflow executed successfully
28
>1           an error occurred during job processing
29
>255         environment is invalid (e.g. invalid working directory) or invalid options are provided
30
>254         output directory does not exist or failed creating it (with -c option)
31
>253         node not found in the application template (/application/application.xml)
32
>252         no input specified
33
34
Any other exit code is from the executable itself.
35
36
h2. Examples
37
38
h3. Example 1 - Run a simulation
39
40
<pre>
41
[user@sb ~]$ ciop-simwf wf-name
42
</pre>
43
44
h3. Example 2 - List the runs
45
46
<pre>
47
[user@sb ~]$ ciop-simwf -l
48
0000009-130906110540779-oozie-oozi-W
49
0000010-130906110540779-oozie-oozi-W
50
0000011-130906110540779-oozie-oozi-W
51
</pre>
52
53
h3. Example 2 - Delete a specified workflow simulation run
54
55
<pre>
56
[user@sb ~]$ ciop-simwf -d 0000009-130906110540779-oozie-oozi-W
57
</pre>