Changes between Version 4 and Version 5 of OTM-PlanetLabInstall
- Timestamp:
- 11/17/10 16:05:40 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OTM-PlanetLabInstall
v4 v5 45 45 === 2.3 Software Installation === 46 46 47 Login using SSH to '''each of the servers''', and install the following packages which might not have come pre-installed on a Fedora Core 8 (default OS for !PlanetLab) 47 Download the latest OnTimeMeasure release package at http://ontime.oar.net/download/OnTimeMeasure_latest.php. 48 48 49 '''Note:''' In order to install any software using yum, use --nogpgcheck, otherwise installation will fail on !PlanetLab nodes. 49 Once you have downloaded the tar file, untar/unzip to see that it contains: 50 50 51 Install make and gcc 52 {{{ 53 yum --nogpgcheck install make 54 yum --nogpgcheck install gcc 55 }}} 51 * NodeBeacon.tar.gz 52 * RootBeacon.tar.gz 53 * README.txt 54 55 Next, login using SSH to each of the servers, copy the appropriate tar files over, and run the following commands to install the measurement service: 56 56 57 57 __'''''On the Root Beacon:'''''__ … … 59 59 __Software installation__ 60 60 {{{ 61 wget http://ontime.oar.net/download/OnTimeMeasure-v1.0.tar.gz62 tar xzf OnTimeMeasure-v1.0.tar.gz63 61 tar xzf RootBeacon.tar.gz 64 62 cd RootBeacon/InstallScript 65 63 chmod +x ontime_software_install.sh 66 }}}67 Edit “ontime_software_install.sh” and add --nogpgcheck in all occurrences of “yum install” statements. Your yum install statements should look like this:[[BR]]68 yum --nogpgcheck install packagename69 {{{70 64 ./ontime_software_install.sh 71 }}}72 73 If 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.74 75 {{{76 sudo perl –MCPAN –e shell77 cpan> force install modulename78 }}}79 80 __MySQL Initialization__81 82 {{{83 mysqladmin -u root password '<new-password>'84 65 }}} 85 66 … … 88 69 __Software installation__ 89 70 {{{ 90 wget http://ontime.oar.net/download/OnTimeMeasure-v1.0.tar.gz91 tar xzf OnTimeMeasure-v1.0.tar.gz92 71 tar xzf NodeBeacon.tar.gz 93 72 cd NodeBeacon/InstallScript 94 73 chmod +x ontime_software_install.sh 95 }}}96 Edit ontime_graphite_install.sh to add --nogpgcheck in all the “yum install” statements97 {{{98 74 ./ontime_software_install.sh 99 75 }}} 100 76 101 If some perl module fails to install, force install the module using CPAN as explained earlier.102 77 103 78 === 2.4 Software Configuration === … … 126 101 '''Note 2:''' If remote access to MySQL on the Root Beacon is disabled, please open the port TCP/3306 and follow the tutorial at http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html 127 102 128 __Graphite Configuration__ 129 130 Initialize the graphite: 131 {{{ 132 cd /opt/graphite/webapp/graphite/ 133 sudo python manage.py syncdb 134 }}} 135 136 '''Note:''' For the first time execution, you will be prompted for creating a 'root' user. 137 138 Run the graphite and carbon daemons 103 __Invocation options configuration__ 139 104 140 105 {{{ 141 cd /opt/graphite/142 python bin/carbon-cache.py start143 sudo chmod -R 777 /opt/graphite/storage144 nohup /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite &145 }}}146 147 '''Note:'''For some reason screen fails to work on !PlanetLab148 149 Then open <root_beacon_ip_address>:17280 in browser. No Error message should be received in order to proceed.150 151 __Root Beacon invocation options configuration__152 153 {{{154 cd RootBeacon/InstallScript155 106 perl config_wizard.pl 156 107 }}} … … 159 110 __'''''On a Node Beacon:'''''__ 160 111 161 __ Node Beacon invocation options configuration__112 __Invocation options configuration__ 162 113 163 114 {{{ 164 cd NodeBeacon/InstallScript165 115 perl config_wizard.pl 166 116 }}} 167 117 Follow the steps as directed by the wizard script. 118 119 '''Note:''' If you want to customize the parameters on invoking measurement tools, you can manually modify the "runtool.conf" which locates in the "NodeBeacon/etc" folder. 168 120 169 121 __'''''On the Web-portal:'''''__ … … 183 135 Then, go to "../!RootScheduler/" 184 136 {{{ 137 nohup /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite & 185 138 nohup perl file_server.pl & 186 139 nohup perl action_script.pl & 187 140 }}} 188 No error should be reported. If you see errors while trying to run any of the scripts, it is likely that the depend perl modules are not installed correctly. A good way to check if the above scripts work is to run them without nohup to see the output and after making sure they work correctly, the scripts can be stopped and re-run using nohup. In case, an error occurs, you can install the missing modules (module name will appear in the error message) using procedure explained in the beginning.189 141 190 142 __'''''On a Node Beacon:'''''__