2003-08-19 06:44:58 +00:00
|
|
|
<?
|
|
|
|
require_once("docutil.php");
|
2004-02-09 05:11:05 +00:00
|
|
|
page_head("What is a project?");
|
2003-08-19 06:44:58 +00:00
|
|
|
echo "
|
2002-09-10 17:04:05 +00:00
|
|
|
|
|
|
|
<p>
|
2004-02-15 19:22:01 +00:00
|
|
|
A BOINC project consists of the following components:
|
2002-09-10 17:04:05 +00:00
|
|
|
<ul>
|
2004-02-09 05:11:05 +00:00
|
|
|
<li> A <a href=database.php>database</a>
|
|
|
|
<li> A <a href=server_dirs.php>directory structure</a>
|
2004-02-10 07:04:27 +00:00
|
|
|
<li> A <a href=backend_programs.php>set of daemon processes</a>
|
2004-02-15 19:22:01 +00:00
|
|
|
<li> A <a href=configuration.php>configuration file</a>
|
2002-09-10 17:04:05 +00:00
|
|
|
</ul>
|
2002-10-22 01:26:21 +00:00
|
|
|
|
|
|
|
<p>
|
2004-02-15 19:22:01 +00:00
|
|
|
Multiple BOINC projects can exist on the same host.
|
|
|
|
This can be handy for creating separate projects for testing and debugging.
|
|
|
|
|
2004-02-09 05:11:05 +00:00
|
|
|
<p>
|
2004-02-15 19:22:01 +00:00
|
|
|
The easiest way to create a project
|
|
|
|
is with the <a href=make_project.php>make_project</a> script,
|
|
|
|
which creates skeletal versions of the above components.
|
2004-02-09 05:11:05 +00:00
|
|
|
<p>
|
|
|
|
A project must be <b>stopped</b> when maintenance activities
|
|
|
|
(e.g. changing the configuration file or database) are being performed.
|
2004-02-15 19:22:01 +00:00
|
|
|
This is done using
|
2004-02-10 07:04:27 +00:00
|
|
|
<a href=tool_start.php>project control scripts</a>.
|
2004-02-09 05:11:05 +00:00
|
|
|
|
|
|
|
<h3>The master URL</h3>
|
|
|
|
<p>
|
|
|
|
Each project is publicly identified by a <b>master URL</b>.
|
|
|
|
The <b>master page</b> at this URL has two functions.
|
|
|
|
<ul>
|
|
|
|
<li> It is the home page of the project; when viewed in a browser it
|
|
|
|
describes the project and contains links for registering and for
|
|
|
|
downloading the core client.
|
|
|
|
<li> It contains XML elements of the form
|
|
|
|
<pre>
|
|
|
|
";
|
|
|
|
echo htmlspecialchars("
|
|
|
|
<scheduler>http://host.domain.edu/cgi/scheduler</scheduler>
|
|
|
|
<scheduler>http://host2.domain.edu/cgi/scheduler</scheduler>
|
|
|
|
");
|
|
|
|
echo"
|
|
|
|
</pre>
|
|
|
|
that give the URLs of the project's scheduling servers.
|
|
|
|
These tags can be embedded within HTML comments.
|
|
|
|
The BOINC core client reads
|
|
|
|
and parses the master page to locate scheduling servers.
|
|
|
|
If at any point it is unable to
|
|
|
|
connect to any scheduling server for a project,
|
|
|
|
it rereads the master page.
|
2004-02-15 19:22:01 +00:00
|
|
|
This mechanism lets a project move or add scheduling servers.
|
2004-02-09 05:11:05 +00:00
|
|
|
</ul>
|
|
|
|
<p>
|
|
|
|
<b>make_project</b>
|
|
|
|
creates a master page in project/html/user/index.php.
|
|
|
|
This file includes the file 'schedulers.txt',
|
|
|
|
which contains the list of ", htmlspecialchars("<scheduler>"), "elements.
|
2003-08-19 06:44:58 +00:00
|
|
|
";
|
|
|
|
page_tail();
|
|
|
|
?>
|