Changes between Version 44 and Version 45 of Check


Ignore:
Timestamp:
Oct 28, 2010, 6:22:10 PM (14 years ago)
Author:
alexandru.olteanu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Check

    v44 v45  
    312312The Self-healing service in the Check framework overlays the self-healing capabilities provided by the stack running on the nodes. The latter continuously ensures a correct topology of the island. The Self-healing service however understands more complex notions, such as constraints.
    313313
     314=== Software Requirements ===
     315
     316 * [http://www.ubuntu.com/ Linux PC (Ubuntu)]
     317 * g++, make
     318 * libboost-dev, libboost-filesystem-dev or directly from [http://www.boost.org/users/download/ site] (minimum recommended version 1.44; in the boost folder: ./bootstrap.sh; ./bjam install)
     319
     320=== Project Organization ===
     321
     322The code for self-healing service can be found in the [https://svn-batch.grid.pub.ro/svn/Sensei-WP5/Check-selfheal /Check-selfheal] folder in the SVN.
     323
     324 * [https://svn-batch.grid.pub.ro/svn/Sensei-WP5/Check-selfheal/config.xml config.xml] sample configuration file
     325
     326=== Compiling the Self-healing service ===
     327
     328Some packages are required to be installed prior to the compilation of the Self-healing service, as the Boost library for C++ is used. At the time of the creation of the code, the Ubuntu repositories hold an older version of the Boost library, which does not contain the Property Tree feature. So the sources of the library should be downloaded and compiled. Download version 1.44.0 from [http://www.boost.org/users/download/ download site].
     329
     330{{{
     331$ tar xjf boost_1_37_0.tar.bz2
     332$ cd boost_1_44_0
     333$ ./bootstrap.sh
     334$ ./bjam install
     335}}}
     336
     337This will compile and completly install the Boost library, and copy the necessary header files in the /usr/local/include/ folder. Now they can be used in the code by simply: #include <boost/filesystem.hpp>
     338
     339To compile the Self-healing service, you need to go in the Check-selfheal folder and:
     340
     341{{{
     342make
     343}}}
     344
     345To clean everything:
     346
     347{{{
     348make clean
     349}}}
     350
     351=== Running the Gateway Watchdog ===
     352
     353The Self-healing service can be run by simply:
     354
     355{{{
     356./check-selfheal
     357}}}
     358
    314359
    315360= Proposed Check Demonstration Sketch =