-
Notifications
You must be signed in to change notification settings - Fork 1
/
documentation.html
173 lines (147 loc) · 5.84 KB
/
documentation.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
<!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" />
<link rel="stylesheet" href="css/kestrelhpc.css" type="text/css" media="screen" />
<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="modules.html">Modules</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="Documentation">
<h2 id="Tutorial">Documentation - Installation</h2>
<div id="tabs" class="ui-widget-header" style="margin-bottom:40px">
<ul>
<li><a href="documentation.html#Installation">Installation</a></li>
<li><a href="configuration.html">Configuration</a></li>
<li><a href="tutorial.html">Tutorial</a></li>
<li><a href="man/index.html">Man Pages</a></li>
</ul>
</div>
<h3>Minimum Requirements</h3>
<ul>
<li>
<p>A minimum of 1 computer with Debian or Ubuntu installed to act a the frontend of the Cluster.
This frontend, needs at least 1 Net interface. The tipical case is to have 2 NET interfaces. 1 NET interface for the internal NET and the
other interface to have an exit to the world, Internet.</p>
<p>This frontend will have a DHCP server for the internat NET so an extra care is needed in order not to have problems between the different
DHCP servers</p>
</li>
<li>
<p>The computers that are going to be slave nodes, don't have to be homogeneus (same hardware) don't need
even a HD. They need a NET interface and have the BIOS configured to boot from it.</p>
</li>
</ul>
<h3>Installation</h3>
<ul>
<li><a href="download.html">Download and install</a></li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Edit the KestrelHPC config file
<pre>$ sudo editor /etc/kestrel/kestrel.conf</pre>
<pre class="output"># Frontend's ip
FRONTEND_IP=192.168.30.1
FRONTEND_NETMASK=255.255.255.0
# IP range of the DHCP service
DHCP_STARTING_IP=192.168.30.2
DHCP_ENDING_IP=192.168.30.255</pre>
<p class="note">Note: The frontend's IP should be <b>static</b>.</p>
<ul>
<li>Set up with the <a href="https://help.ubuntu.com/10.10/internet/C/connecting-wired.html">Network Manager</a> (Graphical User Interface) on a Desktop computer</li>
<li>Set up with <a href="https://help.ubuntu.com/10.10/serverguide/C/network-configuration.html">/etc/network/interfaces</a></li>
</ul>
</li>
<li>
<p>Available options : See <a href="configuration.html"><b>Configuration page</b></a></p>
</li>
<li><p>Apply the new configuration</p>
<pre>$ sudo kestrel-reconfigure --all</pre>
</li>
</ul>
<h3>Create a node image</h3>
<ul>
<li>Create an image for the nodes :
<pre>$ sudo kestrel-images --new image1</pre>
<pre class="output">
Detecting host :
[...]
Creating image
[...]
Installing extra software
[...]
Executing install scripts
[...]
Executing configure scripts
[...]
</pre>
</li>
</ul>
<h3>Register users</h3>
<ul>
<li>Add a user to the cluster :
<pre>$ sudo kestrel-users --add-to-cluster jonan</pre>
<pre class="output">Adding user `jonan' to group `kestrel' ...
Adding user jonan to group kestrel
Done.</pre>
</li>
</ul>
<h3>Register nodes</h3>
<ul>
<li>Register some nodes :
<ol>
<li>Turn on the slave nodes that we want to add to this group. </li>
<li>Press control+c to finish</li>
</ol>
<pre>$ sudo kestrel-control --register group1</pre>
<pre class="output">Turn now on the nodes to add them to the group "image1"
Press crtl+c when you are done
The node "kestrel-group1-1" was already registered
mac : 08:00:27:08:f3:b6
ip : 192.168.30.226
The node "kestrel-group1-2" was already registered
mac : 1b:52:27:b6:5c:f3
ip : 192.168.30.227
^C</pre>
<div class="note">Configure the BIOS of each node to boot from PXE.</div>
</li>
</ul>
<p>At this point you should now have a functional Beowulf cluster. You can test it with </p>
<h3>Jump into the <a href="tutorial.html">Tutorial</a> to learn the basics</h3>
</div>
</div>
</body>
</html>