Changes between Version 11 and Version 12 of OnTime-Installv1


Ignore:
Timestamp:
06/04/10 19:25:17 (9 years ago)
Author:
Prasad Calyam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OnTime-Installv1

    v11 v12  
    108108
    109109
    110 
    111110=== 2.3 Software Installation ===
    112111When all the slivers are "Ready", login to each of the servers and run the following commands to setup the environment:
     
    118117
    119118{{{
    120 sudo rpm --import http://software.internet2.edu/rpms/RPM-GPG-KEY-Internet2
    121 wget http://software.internet2.edu/Internet2-repo-0.1-2.noarch.rpm
    122 sudo rpm -ivh Internet2-repo-0.1-2.noarch.rpm
    123 sudo yum install perl-CPAN iperf ruby bwctl-server
     119sudo ./ontime_software_install.sh
    124120}}}
    125121
    126122''Perl CPAN Module Installation'' [[BR]]
    127 Note: Installation must point to Internet2 Perl CPAN repository
     123'''Note:''' Installation must point to Internet2 Perl CPAN repository
    128124
    129125Software install on: [(Centralized: root beacon, node beacon), (Distributed: node beacon)]
     
    131127{{{
    132128sudo perl -MCPAN -e shell
    133 conf urllist push ftp://cpan.uchicago.edu/pub/CPAN/
    134 conf commit
    135 install YAML
    136 install Sys::HostIP
    137 install IO::Socket
    138 force install Net::SSLeay
    139 install IO::Socket::SSL
    140 install Log::Log4perl
    141 install Config::Natural
    142 install Math::Random
     129o conf urllist push ftp://cpan.uchicago.edu/pub/CPAN/
     130o conf prerequisites_policy follow
     131o conf commit
    143132exit
     133sudo ./ontime_perlmodule_install.sh
    144134}}}
    145135
     
    148138
    149139{{{
    150 sudo yum install mysql-server mysql-devel
    151 sudo /sbin/service mysqld start
    152140mysqladmin -u root password 'new-password'
    153141}}}
     
    199187}}}
    200188
     189'''Note:''' For more detailed instructions to configure NTP and BWCTL, please refer to the BWCTL Tool website. (http://www.internet2.edu/performance/bwctl/)
     190
    201191''Database Configuration''[[BR]]
    202192
     
    217207''Graphite and Twisted Installation''[[BR]]
    218208
    219 Software installation on: [(Centralized: root beacon)]
    220 {{{
    221 sudo yum install Django mod_python python-memcached Twisted MySQL-python
    222 sudo python setup.py install
    223 }}}
    224 
    225 ''Graphite Configuration''[[BR]]
    226 
    227 Software configuration on: [(Centralized: root beacon)]
    228 {{{
    229 sudo mv /opt/graphite/webapp/graphite/local_settings.py.example /opt/graphite/webapp/graphite/local_settings.py
    230 sudo vim /opt/graphite/webapp/graphite/local_settings.py
    231 }}}
    232 Uncomment and change TIME_ZONE='US/Eastern', also Uncomment MEMCACHE_HOSTS [[BR]]
    233 
    234 To initialize the Graphite database, type
    235 {{{
    236 cd /opt/graphite/webapp/graphite
     209Go to install script fold and run: [(Centralized: root beacon)]
     210{{{
     211sudo ./ontime_graphite_install.sh
     212}}}
     213
     214''Graphite Configuration and daemon start''[[BR]]
     215
     216Initialize the graphite: [(Centralized: root beacon)]
     217{{{
     218cd /opt/graphite/webapp/graphite/
    237219sudo python manage.py syncdb
    238220}}}
    239 Create the root user if asked. Then start the Graphite server -
    240 {{{
    241 sudo chmod -R 777 /opt/graphite/storage
    242 screen
    243 /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite
    244 Ctrl-a-d (key press sequence)
    245 }}}
    246 
    247 Move the Carbon folder to 'opt' folder [[BR]]
    248 Software configuration on: [(Centralized: root beacon)]
    249 {{{
    250 sudo cp -r carbon-0.9.6/* /opt/graphite/
    251 }}}
    252 Go to /opt/graphite. Install and config Carbon by typing
    253 {{{
    254 sudo python setup.py install
    255 sudo chmod -R 777 /opt/graphite/storage
    256 sudo mv /opt/graphite/conf/carbon.conf.example /opt/graphite/conf/carbon.conf
    257 sudo mv /opt/graphite/conf/storage-schemas.conf.example /opt/graphite/conf/storage-schemas.conf
    258 sudo vim /opt/graphite/conf/storage-schemas.conf
    259 }}}
    260 Change retentions to: retentions = 600:259200
    261 
    262 Run Carbon by typing -
    263 {{{
    264 python bin/carbon-cache.py --debug start
     221
     222'''Note:''' For the first time execution, you will be prompted for creating a 'root' user
     223
     224Run the graphite and carbon deamon: [(Centralized: root beacon)]
     225{{{
     226cd /opt/graphite/
     227python bin/carbon-cache.py start
     228nohup /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite &
    265229}}}
    266230
     
    270234Once all necessary software has been installed, please follow instructions as described below:
    271235
    272 ''On Node Beacons''[[BR]]
     236''On Root Beacons'' in the Centralized Orchestration Case -
    273237
    274238Software invocation on: [(Centralized: node beacon)]
    275239
    276 Edit !NodeScheduler/etc/node.conf and go to 'Datagen/certs' run and type
     240Edit !NodeScheduler/etc/node.conf to configure the node scheduler, and go to 'Datagen/certs' run and type
    277241{{{
    278242chmod +x createSSL.sh
     
    284248}}}
    285249         
    286 
    287 ''On Root Beacon''
     250''On Node Beacons'' in the Centralized Orchestration Case -
    288251
    289252Software invocation on: [(Centralized: root beacon)]
    290253
    291 Edit !NodeScheduler/etc/root.conf and go to "Collector/" and type
     254Edit !NodeScheduler/etc/root.conf to configure the root scheduler, and go to "Collector/" and type
    292255{{{
    293256perl collector.pl
     
    302265Software invocation on: [(Distributed: node beacon)]
    303266
    304 Go to Distributed/Scheduler/ and type
     267Edit Distributed/etc/node.conf to configure the node scheduler, and go to Distributed/Scheduler/ and type
    305268{{{
    306269perl node_scheduler.pl