Changes between Version 11 and Version 12 of OnTime-Installv1
- Timestamp:
- 06/04/10 19:25:17 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OnTime-Installv1
v11 v12 108 108 109 109 110 111 110 === 2.3 Software Installation === 112 111 When all the slivers are "Ready", login to each of the servers and run the following commands to setup the environment: … … 118 117 119 118 {{{ 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 119 sudo ./ontime_software_install.sh 124 120 }}} 125 121 126 122 ''Perl CPAN Module Installation'' [[BR]] 127 Note:Installation must point to Internet2 Perl CPAN repository123 '''Note:''' Installation must point to Internet2 Perl CPAN repository 128 124 129 125 Software install on: [(Centralized: root beacon, node beacon), (Distributed: node beacon)] … … 131 127 {{{ 132 128 sudo 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 129 o conf urllist push ftp://cpan.uchicago.edu/pub/CPAN/ 130 o conf prerequisites_policy follow 131 o conf commit 143 132 exit 133 sudo ./ontime_perlmodule_install.sh 144 134 }}} 145 135 … … 148 138 149 139 {{{ 150 sudo yum install mysql-server mysql-devel151 sudo /sbin/service mysqld start152 140 mysqladmin -u root password 'new-password' 153 141 }}} … … 199 187 }}} 200 188 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 201 191 ''Database Configuration''[[BR]] 202 192 … … 217 207 ''Graphite and Twisted Installation''[[BR]] 218 208 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 209 Go to install script fold and run: [(Centralized: root beacon)] 210 {{{ 211 sudo ./ontime_graphite_install.sh 212 }}} 213 214 ''Graphite Configuration and daemon start''[[BR]] 215 216 Initialize the graphite: [(Centralized: root beacon)] 217 {{{ 218 cd /opt/graphite/webapp/graphite/ 237 219 sudo python manage.py syncdb 238 220 }}} 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 224 Run the graphite and carbon deamon: [(Centralized: root beacon)] 225 {{{ 226 cd /opt/graphite/ 227 python bin/carbon-cache.py start 228 nohup /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite & 265 229 }}} 266 230 … … 270 234 Once all necessary software has been installed, please follow instructions as described below: 271 235 272 ''On Node Beacons''[[BR]]236 ''On Root Beacons'' in the Centralized Orchestration Case - 273 237 274 238 Software invocation on: [(Centralized: node beacon)] 275 239 276 Edit !NodeScheduler/etc/node.conf and go to 'Datagen/certs' run and type240 Edit !NodeScheduler/etc/node.conf to configure the node scheduler, and go to 'Datagen/certs' run and type 277 241 {{{ 278 242 chmod +x createSSL.sh … … 284 248 }}} 285 249 286 287 ''On Root Beacon'' 250 ''On Node Beacons'' in the Centralized Orchestration Case - 288 251 289 252 Software invocation on: [(Centralized: root beacon)] 290 253 291 Edit !NodeScheduler/etc/root.conf and go to "Collector/" and type254 Edit !NodeScheduler/etc/root.conf to configure the root scheduler, and go to "Collector/" and type 292 255 {{{ 293 256 perl collector.pl … … 302 265 Software invocation on: [(Distributed: node beacon)] 303 266 304 Go to Distributed/Scheduler/ and type267 Edit Distributed/etc/node.conf to configure the node scheduler, and go to Distributed/Scheduler/ and type 305 268 {{{ 306 269 perl node_scheduler.pl