[Debian Wiki] Update of "BOINC/ServerGuide/AppDeployment" by SteffenMoeller

Debian Wiki debian-www at lists.debian.org
Sat Jul 9 11:19:01 UTC 2011


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "BOINC/ServerGuide/AppDeployment" page has been changed by SteffenMoeller:
http://wiki.debian.org/BOINC/ServerGuide/AppDeployment?action=diff&rev1=16&rev2=17

Comment:
smallish rearrangements, correction for DB access

  
  = Inform local database of available binaries =
  
+ == Craft the project's project.xml file ==
  
  Now add following lines to project.xml in the project root
  
@@ -137, +138 @@

  
  The file ''project.xml'' is not touched.
  
- 
- The database has now seen the application and platforms:
- 
- {{{
- 
- $ echo "select * from app" | mysql -u root -p $dbprojectname
- Enter password: 
- id      create_time     name    min_version     deprecated      user_friendly_name      homogeneous_redundancy  weight  beta    target_nresults min_avg_pfc     host_scale_check
- 1       1308465648      upper_case      0       0       upperCASE       0       1       0       0       1       0
- 
- 
- $ echo "select * from platform;"| mysql -u root -p test
- Enter password: 
- id      create_time     name    user_friendly_name      deprecated
- 1       1308465648      i686-pc-linux-gnu       Linux running on an Intel x86-compatible CPU    0
- 2       1308465648      x86_64-pc-linux-gnu     Linux running on an AMD x86_64 or Intel EM64T CPU       0
- 
- }}}
- 
- = Sign the application binary =
+ == Sign the application binary ==
  
  BOINC need to sign the application binaries before dispatch for security reasons.
  
@@ -193, +175 @@

  Done
  }}}
  
+ == Inspection of the database (optional) ==
+ 
+ The database has now seen the application and platforms:
+ 
+ {{{
+ 
+ $ echo "select * from app" | mysql -u boincadm -p$pw $dbprojectname
+ Enter password: 
+ id      create_time     name    min_version     deprecated      user_friendly_name      homogeneous_redundancy  weight  beta    target_nresults min_avg_pfc     host_scale_check
+ 1       1308465648      upper_case      0       0       upperCASE       0       1       0       0       1       0
+ 
+ 
+ $ echo "select * from platform;"| mysql -u boincadm -p$pw $dbprojectname
+ Enter password: 
+ id      create_time     name    user_friendly_name      deprecated
+ 1       1308465648      i686-pc-linux-gnu       Linux running on an Intel x86-compatible CPU    0
+ 2       1308465648      x86_64-pc-linux-gnu     Linux running on an AMD x86_64 or Intel EM64T CPU       0
+ 
+ }}}
+ 
+ When you have the leisure, don't shy away from inspecting the database more. Except for app, app_version and platform, all tables are empty at this stage. Easy to learn.
+ 
  = Add a Work Unit =
  A work unit is the portion of data that the project should be analyzed, a work unit has following parts,
   * Input file(s)



More information about the pkg-boinc-commits mailing list