Download presentation
Presentation is loading. Please wait.
Published byLionel Wood Modified over 8 years ago
1
Session 2: Creating a BOINC project
2
The BOINC database (MySQL) ● Application ● Application version ● Platform ● Workunit ● Result ● Host ● User ● Trickle messages ● Profiles, message boards, etc.
3
Project directory structure ● bin/ ● cgi-bin/ ● download/ (hierarchical) ● upload/ (hierarchical) ● html/ – user/, ops/, inc/ ● log_* ● keys
4
config.xml 6 /home/boincadm/projects/alpha/upload alpha http://isaac.ssl.berkeley.edu/alpha/... db_dump -d 2 -dump_spec../db_dump_spec.xml db_dump.out 24 hours... feeder -d 2...
5
Compiling BOINC software ● Get via CVS cvs -d :pserver:anonymous:@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout boinc ● Prerequisites: – MySQL, Apache, Python, PHP, etc. ● Build: _autosetup configure make
6
make_project script ● Creates project directory hierarchy ● Copies all needed files ● Generates config.xml ● Generates encryption keys ● Creates and initializes MySQL DB ● Prints Apache config entry ● Prints cron entry
7
Adding platforms and apps ● bin/xadd ● project.xml: i686-pc-linux-gnu Linux/x86... setiathome SETI@home...
8
Adding application versions ● bin/update_versions ● Single-file apps apps/ appname/ uppercase_4.01_i686-pc-linux-gnu ● Multiple-file apps apps/ appname/ uppercase_4.01_i686-pc-linux-gnu/ uppercase_4.01_i686-pc-linux-gnu logo.jpg...
9
Project control ● bin/start – Starts daemons, enables scheduler ● bin/stop – Stop daemons, disables scheduler ● bin/status
10
Project security ● Standard server security ● Firewall ● MySQL security ● Application security ● Code-signing – Use a separate disconnected machine – Delete private key from other machines
11
Upgrading server software ● Check out, compile latest BOINC software cd source/tools upgrade project_name ● Recopies all files ● Database updates: html/ops/db_update.php
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.