Version 6 (modified by 18 years ago) ( diff ) | ,
---|
Orbit-Planet Lab Integration demo:
This demo illustrates an orbit node (acting as an AP) fetching a video stream from a remote planet lab node and feeding it to a client node. The basic steps involved in the demo are:-
→ Firstly, a key-pair has to be generated
ssh-keygen -t rsa
This will generate 2 files id_rsa and id_rsa.pub which hold the private and public keys resp.
→ Next the keys need to be transferred to the slice on the planet node. Winlab has a permenant slice orbit_pkamat.
ssh-copy-id -i ~/.ssh/id_rsa.pub orbit_pkamat@…
→ After logging into the grid console, you have to image the nodes with planetlab-biggrid.ndz (which resides in repository2:/export/orbit/image)
Changes might be needed to the script file 'startitall.rb'. For this the nodes have to be powered up
wget -O - -q 'http://cmc:5012/cmc/on?x=13&y=5'
And then ssh the node to get access to its root
ssh root@node13-5
Then the script file can be modified accordingly.
→ The new version of the nodehandler script and the experiment script 'planetlab.rb' are to be downloaded from nodehandler-planetlabdemo.tar.gz
cd nodehandler/src/ruby ruby handler/nodeHandler.rb -k test:exp:planetlab
Changes might be needed to the script files 'nodehandler.rb' and 'planetlab.rb'.