Changes between Version 4 and Version 5 of OTM-PlanetLabInstall


Ignore:
Timestamp:
11/17/10 16:05:40 (13 years ago)
Author:
zhu.249@osu.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OTM-PlanetLabInstall

    v4 v5  
    4545=== 2.3 Software Installation ===
    4646
    47 Login using SSH to '''each of the servers''', and install the following packages which might not have come pre-installed on a Fedora Core 8 (default OS for !PlanetLab)
     47Download the latest OnTimeMeasure release package at http://ontime.oar.net/download/OnTimeMeasure_latest.php.
    4848
    49 '''Note:''' In order to install any software using yum, use --nogpgcheck, otherwise installation will fail on !PlanetLab nodes.
     49Once you have downloaded the tar file, untar/unzip to see that it contains:
    5050
    51 Install make and gcc
    52 {{{
    53 yum --nogpgcheck install make
    54 yum --nogpgcheck install gcc
    55 }}}
     51    * NodeBeacon.tar.gz
     52    * RootBeacon.tar.gz
     53    * README.txt
     54
     55Next, login using SSH to each of the servers, copy the appropriate tar files over, and run the following commands to install the measurement service:
    5656
    5757__'''''On the Root Beacon:'''''__
     
    5959__Software installation__
    6060{{{
    61 wget http://ontime.oar.net/download/OnTimeMeasure-v1.0.tar.gz
    62 tar xzf OnTimeMeasure-v1.0.tar.gz
    6361tar xzf RootBeacon.tar.gz
    6462cd RootBeacon/InstallScript
    6563chmod +x ontime_software_install.sh
    66 }}}
    67 Edit “ontime_software_install.sh” and add --nogpgcheck in all occurrences of “yum install” statements. Your yum install statements should look like this:[[BR]]
    68 yum --nogpgcheck install packagename
    69 {{{
    7064./ontime_software_install.sh
    71 }}}
    72 
    73 If some perl module fails to install, force install the module using CPAN, otherwise you may receive errors while trying to run file_server.pl and node_scheduler.pl later.
    74 
    75 {{{
    76 sudo perl –MCPAN –e shell
    77 cpan> force install modulename
    78 }}}
    79 
    80 __MySQL Initialization__
    81 
    82 {{{
    83 mysqladmin -u root password '<new-password>'
    8465}}}
    8566
     
    8869__Software installation__
    8970{{{
    90 wget http://ontime.oar.net/download/OnTimeMeasure-v1.0.tar.gz
    91 tar xzf OnTimeMeasure-v1.0.tar.gz
    9271tar xzf NodeBeacon.tar.gz
    9372cd NodeBeacon/InstallScript
    9473chmod +x ontime_software_install.sh
    95 }}}
    96 Edit ontime_graphite_install.sh to add --nogpgcheck in all the “yum install” statements
    97 {{{
    9874./ontime_software_install.sh
    9975}}}
    10076
    101 If some perl module fails to install, force install the module using CPAN as explained earlier.
    10277
    10378=== 2.4 Software Configuration ===
     
    126101'''Note 2:''' If remote access to MySQL on the Root Beacon is disabled, please open the port TCP/3306 and follow the tutorial at http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html
    127102
    128 __Graphite Configuration__
    129 
    130 Initialize the graphite:
    131 {{{
    132 cd /opt/graphite/webapp/graphite/
    133 sudo python manage.py syncdb
    134 }}}
    135 
    136 '''Note:''' For the first time execution, you will be prompted for creating a 'root' user.
    137 
    138 Run the graphite and carbon daemons
     103__Invocation options configuration__
    139104
    140105{{{
    141 cd /opt/graphite/
    142 python bin/carbon-cache.py start
    143 sudo chmod -R 777 /opt/graphite/storage
    144 nohup /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite &
    145 }}}
    146 
    147 '''Note:'''For some reason screen fails to work on !PlanetLab
    148 
    149 Then open <root_beacon_ip_address>:17280 in browser. No Error message should be received in order to proceed.
    150 
    151 __Root Beacon invocation options configuration__
    152 
    153 {{{
    154 cd RootBeacon/InstallScript
    155106perl config_wizard.pl
    156107}}}
     
    159110__'''''On a Node Beacon:'''''__
    160111
    161 __Node Beacon invocation options configuration__
     112__Invocation options configuration__
    162113
    163114{{{
    164 cd NodeBeacon/InstallScript
    165115perl config_wizard.pl
    166116}}}
    167117Follow the steps as directed by the wizard script.
     118
     119'''Note:''' If you want to customize the parameters on invoking measurement tools, you can manually modify the "runtool.conf" which locates in the "NodeBeacon/etc" folder.
    168120
    169121__'''''On the Web-portal:'''''__
     
    183135Then, go to "../!RootScheduler/"
    184136{{{
     137nohup /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite &
    185138nohup perl file_server.pl &
    186139nohup perl action_script.pl &
    187140}}}
    188 No error should be reported. If you see errors while trying to run any of the scripts, it is likely that the depend perl modules are not installed correctly. A good way to check if the above scripts work is to run them without nohup to see the output and after making sure they work correctly, the scripts can be stopped and re-run using nohup. In case, an error occurs, you can install the missing modules (module name will appear in the error message) using procedure explained in the beginning.
    189141
    190142__'''''On a Node Beacon:'''''__