Changes between Version 23 and Version 24 of Internal/VirtualPL/IntegratedExpt
- Timestamp:
- Sep 29, 2006, 3:32:45 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/VirtualPL/IntegratedExpt
v23 v24 5 5 -> Firstly, a key-pair has to be generated 6 6 7 7 {{{ 8 8 ssh-keygen -t rsa 9 9 }}} … … 12 12 13 13 -> Next the keys need to be transferred to the slice on the planet node. Winlab has a permenant slice orbit_pkamat. 14 14 15 {{{ 15 16 ssh-copy-id -i ~/.ssh/id_rsa.pub orbit_pkamat@pli1-pa-3.hpl.hp.com 17 }}} 16 18 17 19 -> After logging into the grid console, you have to image the nodes with planetlab-biggrid.ndz (which resides in repository2:/export/orbit/image) 18 20 21 {{{ 19 22 imageNodes [13,5],[13,7] planetlab-biggrid.ndz 23 }}} 20 24 21 25 Changes might be needed to the script file 'startitall.rb'. For this the nodes have to be powered up 22 26 27 {{{ 23 28 wget -O - -q 'http://cmc:5012/cmc/on?x=13&y=5' 29 }}} 24 30 25 31 And then ssh the node to get access to its root 26 32 33 {{{ 27 34 ssh root@node13-5 35 }}} 28 36 29 37 Then the script file can be modified accordingly. … … 31 39 -> The new version of the nodehandler script and the experiment script 'planetlab.rb' are to be downloaded from nodehandler-planetlabdemo.tar.gz 32 40 41 {{{ 33 42 cd nodehandler/src/ruby 34 43 ruby handler/nodeHandler.rb -k test:exp:planetlab 44 }}} 35 45 36 46 Changes might be needed to the script files 'nodehandler.rb' and 'planetlab.rb'. … … 45 55 1.ssh to the appropriate planet lab node from the grid console 46 56 57 {{{ 47 58 ssh -v -l orbit_pkamat pli1-pa-3.hpl.hp.com 59 }}} 48 60 49 61 50 62 2.Check if httpd is already installed using the following command 51 63 64 {{{ 52 65 rpm -q httpd 53 66 }}} 54 67 55 68 3.If not installed use yum to install it as follows 56 69 70 {{{ 57 71 sudo yum update 58 72 sudo yum -y install httpd 59 73 }}} 60 74 61 75 4.Then configure the Apache server using httpd.conf. Search for Listen. The default port would be given as 80. Change this to 8080 as port 80 cannot be used. 62 76 63 Listen 80 77 {{{ 78 Listen 80 64 79 Listen 8080 80 }}} 65 81 66 82 The httpd.conf resides in /etc/httpd/conf/httpd.conf … … 69 85 5.The video file has to be copied on to the planet lab node. The scp command is used for this purpose. Supposing the video file name is inc.avi 70 86 87 {{{ 71 88 scp inc.avi orbit_pkamat@pli1-pa-3.hpl.hp.com 72 89 }}} 73 90 74 91 6.The configure file httpd.conf has to be edited once again. Search for documentroot. This is the main user directory. Change the path to the place where the video file is located. … … 77 94 7. The video may not be accessible. Hence the following command may be needed on the planetlab node 78 95 79 sudo chmod +x /<location of video file> to give executible rights. 80 96 {{{ 97 sudo chmod +x /<location of video file> to give executible rights. 98 }}} 81 99 82 100 = VLC commands =