-
Notifications
You must be signed in to change notification settings - Fork 1
/
development.html
253 lines (236 loc) · 9.38 KB
/
development.html
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>KestrelHPC</title>
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.6.custom.css" rel="stylesheet" />
<link rel="stylesheet" href="css/slimbox2.css" type="text/css" media="screen" />
<style type="text/css">
html {
background:#f2e9db;
font: 13px 'Trebuchet MS', Tahoma, Verdana, Arial, sans-serif;
line-height: 18px;
}
.title {
margin:0px;
}
.title a {
border:none;
display:block;
width: 900px; height: 88px;
background: url("css/header.png");
text-indent: -9999px;
}
body {
width:900px;
background: #f2e9db url(css/background.png) repeat-y center center;
padding:0px 19px;
margin:0px auto;
}
/* Links
**********/
a, a:visited, .ui-widget-content a, .ui-widget-content a:visited {
color:#1C94C4;
text-decoration:none;
}
a {
border-bottom:1px solid #0C4474;
}
a:hover, .ui-widget-content a:hover {
color:#B60;
border-color:#1C94C4;
}
/* accordion's links should not have a border */
h3 > a, h4 > a {
border-bottom:0px;
}
/* tabs
*********/
#tabs {
height:26px;
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
}
#tabs ul {
margin:2px;
padding:0px;
}
#tabs a {
background: #F6F6F6 url(css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png) repeat-x 50% 50%;
border: 1px solid #becce2;
float: left;
padding: 0.5em 1em;
text-decoration: none;
color: #0C4474;
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
font: 14px 'Trebuchet MS', Tahoma, Verdana, Arial, sans-serif;
}
#tabs a:hover {
background: #FEE;
color: #B60;
border-color:#597eb6;
}
#tabs li {
margin-bottom: 0px;
padding-bottom: 1px;
border-bottom: 0px !important;
float: left;
list-style: none;
margin: 0px 0.2em 1px 0px;
padding: 0px;
position: relative;
top: 1px;
white-space: nowrap;
background: url(css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png) repeat-x 50% 50%;
border: 1px solid #6ba6ff;
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
}
/* ui-lightness customizations
*******************************/
.section {
padding:10px 18px;
}
#sections > div:first-child {
padding-top:13px;
}
.ui-widget-header, .ui-state-active, .ui-widget-content .ui-state-active {
border-color:#597eb6;
}
.ui-widget-content .ui-state-active a{
color:#0C4474;
}
.ui-widget-content .ui-state-hover {
border-color:#597eb6;
}
.ui-widget, .ui-widget h3 {
font-size:12px;
}
ul > li {
list-style-image: url(css/bullet.gif);
list-style-type: circle;
}
pre {
background: #FEE;
border: 1px solid #597eb6;
color: #B60;
margin-bottom: 1em;
padding: 0.5em;
}
.note {
background: #FCC;
background: #FFD9D9;
border: 1px solid #597eb6;
border: 1px solid #599ee6;
color: #830;
margin-bottom: 1em;
padding: 0.5em;
margin:1em 0em;
}
#screenshots li {
display:block;
}
#screenshots a {
display:block;
float:left;
margin:10px;
border:0px;
box-shadow:black 1px 1px 5px;
-webkit-box-shadow:black 1px 1px 3px;
-moz-box-shadow:black 1px 1px 3px;
}
#screenshots img {
display: block;
border:0px;
}
</style>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.6.custom.min.js"></script>
<script type="text/javascript" src="js/slimbox2.js"></script>
<script type="text/javascript">
$(function(){
$( "#accordion" ).accordion({ autoHeight: false, icons: false});
$( "#Features ul" ).accordion({header:'> li > :first-child'});
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20486350-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<h1 class="title"><a href="index.html">KestrelHPC</a></h1>
<div id="tabs" class="ui-widget-header">
<ul>
<li><a href="index.html#About">About</a></li>
<li><a href="index.html#News">News</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="screenshots.html">Screenshots</a></li>
<li><a href="development.html">Development</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div id="sections">
<div class="section ui-widget-content" id="Development">
<h2>Development</h2>
<h4>Mailing list:</h4>
<ul>
<li><a href="https://lists.sourceforge.net/lists/listinfo/kestrelhpc-developers">Development</a></li>
</ul>
<h3>Subversion</h3>
<ul>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/">Browse code online</a>
<li>Download code :
<pre>svn co https://kestrelhpc.svn.sourceforge.net/svnroot/kestrelhpc kestrelhpc</pre>
</li>
</ul>
<h3>Internals</h3>
<ul>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/README?content-type=text/plain">README</a> (needs to be updated)</li>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/TODO?content-type=text/plain">ToDo List</a></li>
</ul>
<h4>RPC and Daemon</h4>
<ul>
<li>KestrelHPC uses a <a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/rpc/kestrel_rpc.py?content-type=text/plain">rpc server</a> written in python for event handling. Each event is passed to <a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/kestrel-daemon?content-type=text/plain">kestrel-daemon</a> through a FIFO.</li>
<li>KestrelHPC <a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/kestrel-daemon?content-type=text/plain">daemon</a> is written in bash script, reads events and their parameters from the FIFO and calls <a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/event.d/">event.d scripts</a> using the function run_register_scripts located in <a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/kestrel-lib?content-type=text/plain">kestrel-lib</a>.</li>
<li><a <a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/kestrel-lib?content-type=text/plain">KestrelHPC's library</a> (kestrel-lib). Most of the functionality is implemented here.</a></li>
</ul>
<h4>Configuration variables</h4>
<p>Variables get their <i>default value</i> form these configuration files located at : </p>
<ul>
<li> Default config file : <a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/default.conf?revision=189&view=markup">/usr/share/kestrel/default.conf</a></b></li>
<li> Default config file of each module : <a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/default.d/">/usr/share/kestrel/default.d/*</a> </li>
</ul>
<p class="note">/usr/share/kestrel/* should not be modified by a user because they will be overriden when a package is updated. They should modify /etc/kestrel/kestrel.conf instead.</p>
<h4>Event scripts</h4>
<ul>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/node/register.d/">Event scripts</a>. There scripts are executed when an event ocurrs (register/unregister/connect/disconnect).
</ul>
<h4>Node scripts</h4>
<ul>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/node/install.d/">Node install scripts</a>. These scripts are executed when an image is created or deleted.</li>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/node/packages.d/">Node packages</a>. Packages to install on the images.</li>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/node/post-install.d/">Node post-install scripts</a>. These scripts are executed when an image is created or deleted, after installing the packages.</li>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/node/configure.d/">Node configure scripts</a>. These scripts are executed when the user reconfigures the system.
</li>
</ul>
<div class="note">If the script contains the word "chroot" then it is executed on the image under a chroot jail.</div>
<h4>Frontend scripts</h4>
<ul>
<li><a href="http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/src/share/frontend/configure.d/">Frontend configure scripts</a>. These scripts are executed when the user reconfigures the system.</li></li>
</ul>
</div>
</div>
</body>
</html>