To get access to PlanetLab, you must do the following:
-
Go to the site http://planet-lab.eu/ and choose <Create an account> Note: the URL has changed in 2013: used to be http://planet-lab.org but now that is the URL for the non-European part of Planetlab only.
-
Fill in the important fields and choose "University of Copenhagen, DIKU" as site. THIS IS IMPORTANT!
-
You have to wait for verification of your account before it can be used. If the verification takes more than a few days, try prodding ericbj@ifi.uio.dk ;-)
When everything is ok and your account has been verified, you can check out the link: https://www.planet-lab.org/doc/guides/user
You basically work on PlanetLab when you log in as SSH.
- Make a ssh key and add it to your account (this does in a userinterface under <keys> in <my account>
- To ssh to a node, type in the following command: ssh -l slicename(for example: diku_INF5510v13) hostname(for example: planetlab2.koganei.wide.ad.jp)
Unfortunately, you have to install emerald compiler on each node you use to log in to (Write down the nodes that you have installed the emerald compiler so you could reuse them for future works!).
NOTE TO SELF:
/home/diku_INF5510v13/emerald/bin
login as : ssh -l diku_INF5510v13 <nodename>
get the emerald compiler to that node:
wget http://www.uio.no/studier/emner/matnat/ifi/INF5510/v11/undervisningsmateriale/kompilator/emerald-0.99-linux.tar.gz
untar the file:
tar xvf emerald-0.99-linux.tar.gz
Then move the files into a directory (make an emerald directory, mkdir emerald)
After that, to find the path, type pwd and copy this after you have edited .bashrc!
to edit the .bashrc on the node, type in: sudo vi .bashrc.
Copy:
export EMERALDROOT='/home/diku_INF5510v13/emerald'
export PATH=$PATH:$EMERALDROOT/bin
set EMERALDARCH='i686mt'
emx -U -R
emx -U -Rhostname:port program
Then in the end, type in: source .bashrc
To find out the hostname, type in:
hostname
NODES known Available as of 03.30.2016
stella.planetlab.ntua.gr
ple1.ait.ac.th
planetlab-2.scie.uestc.edu.cn
ple2.hpca.ual.es
planetlab3.hiit.fi
planetlab-coffee.ait.ie
planetlab1.pop-mg.rnp.br
planetlab2.pop-mg.rnp.brplewifi.ipv6.lip6.fr
iason.inf.uth.gr