-
Notifications
You must be signed in to change notification settings - Fork 1
PlanetLab Progress
The idea of this wiki page is to give some insights in the progress toward deployment on PlanetLab and the experienced issues/challenges.
There seem to be two Fedora versions in use: Fedora Core 8 (on PLC nodes) and Fedora 14 (on PLE nodes). The current provisioning scripts are only supported (and tested) on Fedora Core 8 nodes.
Use the following bash script to provision the Fedora Core 8 nodes (hosts.txt
should contain addresses of the nodes, one per line). It will download an initial provision script from a private domain that installs git, clones this repo and runs the provisioning scripts from this repo. Afterwards, these nodes will have rTorrent and peerflix installed. Note that some simple progress logging will be performed by contacting a simple php page on a private domain.
while read line
do
echo "Calling $line to download files..."
ssh -n -l delft_peerflix $line 'rm -f provision.* && wget http://dev.rickw.nl/provision.sh && chmod +x provision.sh > init.log'
echo "Calling $line to start provisioning..."
ssh -n -l delft_peerflix $line 'nohup ./provision.sh < /dev/null > provision.log 2>&1 &' &
done < hosts.txt
This section contains some ideas for improvements on the setup of the experiment.
Especially interesting for seeder nodes: the movie(s) can be downloaded from http://bbb3d.renderfarming.net/download.html. It sounds like a good idea to use the already installed torrent client to download our movie. Then remove that torrent and start our own torrent. Done!
Launch the script inside screen
. Add curl requests to bash script, that contact a central server, so that it reports each stage, including hostname and the executed provision (seeder/peerflix). Also report when it's done.
This way, following provisioning becomes much easier and we can easily keep track of our nodes.
- planetlab1.ewi.tudelft.nl - Peerflix, Seeder [EXPERIMENTAL NODE]
- planetlab1.unl.edu - Tracker
- planetlab2.unl.edu - Seeder, contains only partial data at this time (I guess)
Many nodes! Refer to http://dev.rickw.nl/nodes/ for a detailed overview.