blob: d0c57297969b0be5c195e8631bde54cd7b192388 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
; semicolon starts a comment in INI files
; If your data value contains a ";" make sure there is no space before it
; There is a section for each [machinename]. In that section, you
; should define
; run=some command to run scripts
; It is a list of argv values to run the command. In each item of
; the list, you can use %(n)s to replace with various values:
; %(script)s -
; %(host)s -
; %(table)s -
; %(cmd)s -
; %(foo)s - if you include a foo= line
;
; definitions common to various operating system environments
[all]
local=[ 'sh', '-c', '%(script)s' ]
maxproc=2
[linux:csh]
hostname=no_such_machine
run=[ 'ssh', '-q', '%(hostname)s', 'source .steuermann.%(hostname)s; cd %(workdir)s; hostname; %(script)s ' ]
like=all
[mac:csh]
like=linux:csh
[windows:cmd]
hostname=no_such_machine
run=[ 'python', '-m', 'steuermann.windows_comm', '%(hostname)s', '%(script)s' ]
like=all
; machines defined named after each OS
[rhe4-32]
like=herbert
[rhe4-64]
like=thor
[rhe5-64]
like=arzach
[leopard]
like=bond
[snow-leopard]
like=cadeau
; actual machines
[herbert]
hostname=herbert
like=linux:csh
workdir=/herbert/data1/sienkiew/steuermann
maxproc=4
[thor]
hostname=thor
like=linux:csh
workdir=/thor/data2/sienkiew/steuermann
maxproc=4
[arzach]
hostname=arzach
like=linux:csh
workdir=/arzach/data1/sienkiew/steuermann
maxproc=4
[bond]
hostname=bond
like=mac:csh
workdir=/Users/sienkiew/work/steuermann
maxproc=8
[cadeau]
hostname=cadeau
like=mac:csh
workdir=/Users/sienkiew/work/steuermann
maxproc=8
[banana]
hostname=banana
like=mac:csh
workdir=/Users/sienkiew/work/steuermann
maxproc=4
; There is a section [ALL] that is used with every machine name
[ALL]
|