Changes between Version 13 and Version 14 of OnTime-Installv1


Ignore:
Timestamp:
06/10/10 12:37:09 (14 years ago)
Author:
zhu.249@osu.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OnTime-Installv1

    v13 v14  
    88A. Operating System: Fedora[[BR]]
    99
    10 B. Software: MySQL, Graphite, Perl, Python, Iperf, Ruby, Bwctl-server, Bwctl-client, Twisted[[BR]]
    11 
    12 C. Perl Modules: Config::Natural, POSIX, Sys::HostIP, DBD::MySQL, IO::SOCKET::SSL, Log::Log4perl:Net::SSLeay, Math::Random[[BR]]
    13 
     10B. Software: MySQL, Graphite, Perl, Python, Iperf, Ruby, Bwctl-server, Bwctl-client, Python_Twisted, Python_Piddle, perl-CPAN[[BR]]
     11
     12C. Perl Modules: Config::Natural, POSIX, Sys::HostIP, DBI, IO::SOCKET::SSL, Log::Log4perl:Net::SSLeay, Math::Random, YAML[[BR]]
     13
     14The Prerequisites Software and Perl Modules installation is handled by the scripts delivered in the OnTimeMeasure-GENI-v1.0 package. See following sections for details.
    1415               
    1516== 2. !OnTimeMeasure-GENI Installation: ==
     
    3132'''Note:''' To obtain detailed information about ProtoGENI slice creation, please refer to the [https://users.emulab.net/trac/protogeni/wiki/TutorialNew ''ProtoGENI Tutorial''][[BR]]
    3233
    33 In order to create a ProtoGENI slice, we need to define the corresponding RSpec. An example of a centralized orchestration RSpec that consists of 3 nodes is as follows:
     34To create a ProtoGENI slice, we need to define the corresponding RSpec. An example of a centralized orchestration RSpec that consists of 3 nodes is as follows:
    3435{{{
    3536<rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/0.1">
     
    117118
    118119{{{
    119 sudo ./ontime_software_install.sh
     120cd RootBeacon/InstallScript
     121chmod +x ontime_software_install.sh
     122./ontime_software_install.sh
    120123}}}
    121124
    122125''Perl CPAN Module Installation'' [[BR]]
    123 '''Note:''' Installation must point to Internet2 Perl CPAN repository
     126The 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. 
     127
     128'''Note:''' The CPAN configuration must point to Internet2 Perl CPAN repository
    124129
    125130Software install on: [(Centralized: root beacon, node beacon), (Distributed: node beacon)]
    126131
    127132{{{
    128 sudo perl -MCPAN -e shell
    129 o conf urllist push ftp://cpan.uchicago.edu/pub/CPAN/
    130 o conf prerequisites_policy follow
    131 o conf commit
    132 exit
    133 sudo ./ontime_perlmodule_install.sh
     133$ sudo perl -MCPAN -e shell
     134        cpan[1]>  o conf urllist push ftp://cpan.uchicago.edu/pub/CPAN/
     135cpan[1]>  o conf prerequisites_policy follow
     136cpan[1]>  o conf commit
     137cpan[1]>  exit
     138$ chmod +x ontime_perlmodule_install.sh
     139$ ./ontime_perlmodule_install.sh
    134140}}}
    135141
     
    138144
    139145{{{
    140 mysqladmin -u root password 'new-password'
     146$ mysqladmin -u root password 'new-password'
    141147}}}
    142148
     
    155161Software configuration on: [(Distributed: node beacon)][[BR]]
    156162
    157 {{{ sudo vim /etc/ntp.conf }}}
     163{{{
     164$ sudo vim /etc/ntp.conf
     165}}}
    158166Edit the last line to:
    159167{{{
     
    162170Restart ntpd service
    163171{{{
    164 sudo /etc/init.d/ntpd restart
     172$ sudo /etc/init.d/ntpd restart
    165173}}}
    166174
     
    170178Software configuration on: [(Distributed: node beacon)]
    171179
    172 Edit the BWCTL config: /etc/bwctl/bwctl.conf [[BR]]
     180Edit the BWCTL config: /etc/bwctl/bwctld.conf [[BR]]
    173181
    174182Remove the comments on the below lines and edit them as:
     
    177185sync_fuzz 5
    178186}}}
    179 Edit the BWCTL limits: /etc/bwctl/bwctl.limits
     187Edit the BWCTL limits: /etc/bwctl/bwctld.limits
    180188Change the regular limit to:
    181189{{{
     
    193201Software configuration on: [(Centralized: root beacon)]
    194202{{{
     203cd RootBeacon/InstallScript
    195204mysql -u root -p < BuildWebServicesDatabase.sql
    196205mysql -u root -p < BuildMeasurementDatabase.sql
     
    207216''Graphite and Twisted Installation''[[BR]]
    208217
    209 Go to install script fold and run: [(Centralized: root beacon)]
    210 {{{
     218Go to install script folder and run: [(Centralized: root beacon)]
     219{{{
     220cd RootBeacon/InstallScript
     221chmod +x ontime_graphite_install.sh
    211222sudo ./ontime_graphite_install.sh
    212223}}}
     
    229240}}}
    230241
     242SCP configuration: [(Centralized: root beacon, node beacon), (Distributed: node beacon)]
     243
     244run:
     245{{{
     246ssh-keygen -t rsa
     247cat .ssh/id_rsa.pub | ssh uploader@ontime.oar.net "cat >> .ssh/authorized_keys"
     248}}}
     249Use the default settings and the password for user uploader is 'uploader'
    231250
    232251=== 2.5 Software Invocation ===