Changes between Version 3 and Version 4 of OTM-PlanetLabInstall


Ignore:
Timestamp:
08/18/10 17:31:52 (14 years ago)
Author:
zhu.249@osu.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OTM-PlanetLabInstall

    v3 v4  
    11= !OnTimeMeasure Installation Procedure on !PlanetLab =
    22'''Prasad Calyam, Rohit Patali, Kunpeng Zhu'''[[BR]]
    3 '''Aug 13, 2010'''[[BR]]
     3'''Aug 18, 2010'''[[BR]]
    44
    55''For questions regarding this document, please contact - Rohit Patali rpatali@oar.net''
     
    2626The !OnTimeMeasure software package has the following requirements:
    2727
    28 A. ''Operating System:'' Fedora 8[[BR]]
     28A. ''Operating System:'' Fedora 8
    2929
    30 B. ''Pre-requisite Software:'' MySQL, Graphite, Perl, Python, Iperf, Ruby, Bwctl-server, Bwctl-client, Cairo, Python_Twisted, Python_Piddle, perl-CPAN[[BR]]
     30B. ''Pre-requisite Software:'' MySQL, Graphite, Perl, Python, Iperf, Ruby, Bwctl-server, Bwctl-client, Cairo, Python_Twisted, Python_Piddle, perl-CPAN
    3131
    32 C. ''Perl Modules:'' Config::Natural, POSIX, Sys::HostIP, DBI, IO::Socket::SSL, Log::Log4perl, Net::SSLeay, Math::Random, YAML[[BR]]
     32C. ''Perl Modules:'' Config::Natural, POSIX, Sys::HostIP, DBI, IO::Socket::SSL, Log::Log4perl, Net::SSLeay, Math::Random, YAML, HTTP::Daemon
    3333
    34 '''Note:''' The Pre-requisite Software and Perl Modules installation is handled by the scripts delivered in the !OnTimeMeasure-v1.0 package. See following sections for details. [[BR]]
     34'''Note:''' The Pre-requisite Software and Perl Modules installation is handled by the scripts delivered in the !OnTimeMeasure-v1.0 package. See following sections for details.
    3535
    3636D. ''Open ports:'' For !RootBeacon server: MySQL TCP/3306, Graphite TCP/2003 and TCP/17280, Collector TCP/7777, HTTP TCP/17290; For !NodeBeacon server: BWCTL TCP/4823, Nodescheduler TCP/17249, HTTP TCP/17290
     
    7171}}}
    7272
    73 __Perl CPAN Module Installation__ [[BR]]
    74 
    75 The Comprehensive Perl Archive Network (CPAN) tools is used to install the Perl modules listed in the System Requirement section and is installed by the ontime_software_install.sh script. 
    76 
    77 '''Note:''' The CPAN configuration must point to Internet2 Perl CPAN repository
    78 
    79 {{{
    80 sudo perl -MCPAN -e shell
    81 cpan>  o conf urllist push ftp://cpan.uchicago.edu/pub/CPAN/
    82 cpan>  o conf prerequisites_policy follow
    83 cpan>  o conf commit
    84 cpan>  exit
    85 chmod +x ontime_perlmodule_install.sh
    86 ./ontime_perlmodule_install.sh
    87 }}}
    88 
    89 If some 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.
     73If 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.
    9074
    9175{{{
     
    9882{{{
    9983mysqladmin -u root password '<new-password>'
    100 }}}
    101 
    102 __Graphite and Twisted Installation__
    103 
    104 Edit ontime_graphite_install.sh to add --nogpgcheck in all the “yum install” statements
    105 {{{
    106 chmod +x ontime_graphite_install.sh
    107 sudo ./ontime_graphite_install.sh
    10884}}}
    10985
     
    12399}}}
    124100
    125 __Perl CPAN Module Installation__ [[BR]]
    126 
    127 The Comprehensive Perl Archive Network (CPAN) tools is used to install the Perl modules listed in the System Requirement section and is installed by the ontime_software_install.sh script. 
    128 
    129 '''Note:''' The CPAN configuration must point to Internet2 Perl CPAN repository
    130 
    131 {{{
    132 sudo perl -MCPAN -e shell
    133 cpan>  o conf urllist push ftp://cpan.uchicago.edu/pub/CPAN/
    134 cpan>  o conf prerequisites_policy follow
    135 cpan>  o conf commit
    136 cpan>  exit
    137 chmod +x ontime_perlmodule_install.sh
    138 ./ontime_perlmodule_install.sh
    139 }}}
    140 If some module fails to install, force install the module using CPAN as explained earlier.
     101If some perl module fails to install, force install the module using CPAN as explained earlier.
    141102
    142103=== 2.4 Software Configuration ===
     
    218179Go to "Collector/" and run
    219180{{{
    220 chmod +x ../AnalysisScripts/Plateau/plateau.exe
    221 chmod +x ../AnalysisScripts/Forecast/forecaster/add_forecast
    222181nohup perl collector.pl &
    223182}}}
     
    231190__'''''On a Node Beacon:'''''__
    232191
    233 Go to 'Datagen/certs' run
     192Go to 'Datagen/' run
    234193
    235194{{{
    236 chmod +x createSSL.sh
    237 ./createSSL.sh
    238 cd ..
    239195nohup perl file_server.pl &
    240196nohup perl node_scheduler.pl &