Changes between Version 13 and Version 14 of OnTime-Installv1
- Timestamp:
- 06/10/10 12:37:09 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OnTime-Installv1
v13 v14 8 8 A. Operating System: Fedora[[BR]] 9 9 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 10 B. Software: MySQL, Graphite, Perl, Python, Iperf, Ruby, Bwctl-server, Bwctl-client, Python_Twisted, Python_Piddle, perl-CPAN[[BR]] 11 12 C. Perl Modules: Config::Natural, POSIX, Sys::HostIP, DBI, IO::SOCKET::SSL, Log::Log4perl:Net::SSLeay, Math::Random, YAML[[BR]] 13 14 The Prerequisites Software and Perl Modules installation is handled by the scripts delivered in the OnTimeMeasure-GENI-v1.0 package. See following sections for details. 14 15 15 16 == 2. !OnTimeMeasure-GENI Installation: == … … 31 32 '''Note:''' To obtain detailed information about ProtoGENI slice creation, please refer to the [https://users.emulab.net/trac/protogeni/wiki/TutorialNew ''ProtoGENI Tutorial''][[BR]] 32 33 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:34 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: 34 35 {{{ 35 36 <rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/0.1"> … … 117 118 118 119 {{{ 119 sudo ./ontime_software_install.sh 120 cd RootBeacon/InstallScript 121 chmod +x ontime_software_install.sh 122 ./ontime_software_install.sh 120 123 }}} 121 124 122 125 ''Perl CPAN Module Installation'' [[BR]] 123 '''Note:''' Installation must point to Internet2 Perl CPAN repository 126 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. 127 128 '''Note:''' The CPAN configuration must point to Internet2 Perl CPAN repository 124 129 125 130 Software install on: [(Centralized: root beacon, node beacon), (Distributed: node beacon)] 126 131 127 132 {{{ 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/ 135 cpan[1]> o conf prerequisites_policy follow 136 cpan[1]> o conf commit 137 cpan[1]> exit 138 $ chmod +x ontime_perlmodule_install.sh 139 $ ./ontime_perlmodule_install.sh 134 140 }}} 135 141 … … 138 144 139 145 {{{ 140 mysqladmin -u root password 'new-password'146 $ mysqladmin -u root password 'new-password' 141 147 }}} 142 148 … … 155 161 Software configuration on: [(Distributed: node beacon)][[BR]] 156 162 157 {{{ sudo vim /etc/ntp.conf }}} 163 {{{ 164 $ sudo vim /etc/ntp.conf 165 }}} 158 166 Edit the last line to: 159 167 {{{ … … 162 170 Restart ntpd service 163 171 {{{ 164 sudo /etc/init.d/ntpd restart172 $ sudo /etc/init.d/ntpd restart 165 173 }}} 166 174 … … 170 178 Software configuration on: [(Distributed: node beacon)] 171 179 172 Edit the BWCTL config: /etc/bwctl/bwctl .conf [[BR]]180 Edit the BWCTL config: /etc/bwctl/bwctld.conf [[BR]] 173 181 174 182 Remove the comments on the below lines and edit them as: … … 177 185 sync_fuzz 5 178 186 }}} 179 Edit the BWCTL limits: /etc/bwctl/bwctl .limits187 Edit the BWCTL limits: /etc/bwctl/bwctld.limits 180 188 Change the regular limit to: 181 189 {{{ … … 193 201 Software configuration on: [(Centralized: root beacon)] 194 202 {{{ 203 cd RootBeacon/InstallScript 195 204 mysql -u root -p < BuildWebServicesDatabase.sql 196 205 mysql -u root -p < BuildMeasurementDatabase.sql … … 207 216 ''Graphite and Twisted Installation''[[BR]] 208 217 209 Go to install script fold and run: [(Centralized: root beacon)] 210 {{{ 218 Go to install script folder and run: [(Centralized: root beacon)] 219 {{{ 220 cd RootBeacon/InstallScript 221 chmod +x ontime_graphite_install.sh 211 222 sudo ./ontime_graphite_install.sh 212 223 }}} … … 229 240 }}} 230 241 242 SCP configuration: [(Centralized: root beacon, node beacon), (Distributed: node beacon)] 243 244 run: 245 {{{ 246 ssh-keygen -t rsa 247 cat .ssh/id_rsa.pub | ssh uploader@ontime.oar.net "cat >> .ssh/authorized_keys" 248 }}} 249 Use the default settings and the password for user uploader is 'uploader' 231 250 232 251 === 2.5 Software Invocation ===