Changes between Version 23 and Version 24 of Internal/VirtualPL/IntegratedExpt


Ignore:
Timestamp:
Sep 29, 2006, 3:32:45 PM (18 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/VirtualPL/IntegratedExpt

    v23 v24  
    55 -> Firstly, a key-pair has to be generated
    66
    7         {{{
     7{{{
    88ssh-keygen -t rsa
    99}}}
     
    1212
    1313 -> Next the keys need to be transferred to the slice on the planet node. Winlab has a permenant slice orbit_pkamat.
    14        
     14
     15{{{       
    1516        ssh-copy-id -i ~/.ssh/id_rsa.pub orbit_pkamat@pli1-pa-3.hpl.hp.com
     17}}}
    1618
    1719 -> After logging into the grid console, you have to image the nodes with planetlab-biggrid.ndz (which resides in repository2:/export/orbit/image)
    1820
     21{{{
    1922        imageNodes [13,5],[13,7] planetlab-biggrid.ndz
     23}}}
    2024
    2125     Changes might be needed to the script file 'startitall.rb'. For this the nodes have to be powered up
    2226
     27{{{
    2328        wget -O - -q 'http://cmc:5012/cmc/on?x=13&y=5'
     29}}}
    2430
    2531     And then ssh the node to get access to its root
    2632
     33{{{
    2734        ssh root@node13-5
     35}}}
    2836
    2937     Then the script file can be modified accordingly.
     
    3139 -> The new version of the nodehandler script and the experiment script 'planetlab.rb' are to be downloaded from nodehandler-planetlabdemo.tar.gz
    3240     
     41{{{
    3342          cd nodehandler/src/ruby
    3443          ruby handler/nodeHandler.rb -k test:exp:planetlab
     44}}}
    3545
    3646     Changes might be needed to the script files 'nodehandler.rb' and 'planetlab.rb'.
     
    4555    1.ssh to the appropriate planet lab node from the grid console
    4656
     57{{{
    4758        ssh -v -l orbit_pkamat pli1-pa-3.hpl.hp.com
     59}}}
    4860
    4961 
    5062    2.Check if httpd is already installed using the following command
    5163
     64{{{
    5265        rpm -q httpd
    53 
     66}}}
    5467
    5568    3.If not installed use yum to install it as follows
    5669 
     70{{{
    5771        sudo yum update
    5872        sudo yum -y install httpd
    59 
     73}}}
    6074
    6175    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.
    6276
    63       Listen 80
     77{{{
     78         Listen 80
    6479         Listen 8080
     80}}}
    6581
    6682     The httpd.conf resides in /etc/httpd/conf/httpd.conf
     
    6985    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
    7086
     87{{{
    7188         scp inc.avi orbit_pkamat@pli1-pa-3.hpl.hp.com
    72 
     89}}}
    7390
    7491    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.
     
    7794    7. The video may not be accessible. Hence the following command may be needed on the planetlab node
    7895
    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}}}
    8199
    82100 = VLC commands =