PlanetLab Visualizer v2.0 - HowTo

Table of contents


Overview

Welcome to the PlanetLab Visualizer v2.
The purpose of this program is to support experiments with PlanetLab nodes.

Some features are:

Requirements

You'll need the following things to be able to execute the program:

First steps

Picture of the main window.

Initially you can see the PlanetLab Map window with the world map containing all the PlanetLab sites which offer nodes.
On the left side there are two lists:
The upper one shows all nodes, while the lower one shows only the nodes selected for a scenario.
Most of the operations in the action menu apply to the scenario nodes.


There are two ways to start the program:

  1. Using ant:

    Just type ant run in the root folder.

  2. Otherwise:

    Execute ./PlanetLabVisualizer.sh (or PlanetLabVisualizer.bat on Windows) to start the program.
    Make sure that the folder which contains java is in your PATH variable (Windows:
    look here, Linux: look here).


There are some things you'll need to do before you can start with the tutorial:

  1. If you're running the program on a linux platform:

    Start the ssh-agent (or pageant) and add your ssh-key to the ssh-agent by using ssh-add /path/to/your/key.

    On Windows you'll perform this:
    Start the pageant pageant icon and add your ssh-key to it.
    Make sure that the PuTTY program folder (e.g. C:\Program Files\PuTTY) is in your PATH variable.
    This is needed to execute the pscp.exe when transferring files to nodes.

  2. Further your PlanetLab login data (username, password, role and slice name) is needed, enter these in the Preferences dialog of the PlanetLabVisualizer.
    If you're reading this text through the help window, just go to Menu -> File -> Preferences.

Now we can start with the tutorial:
  1. Viewing the node details:
  2. By clicking on a node on the map or on one of the lists you will get a context menu with the available actions for the node.
    Chosing Node Details opens a Window showing more information about a node.
    Node details selection from the context menu
    This will open the Node Details window.
    Here you can see some node details like it's Hostname, Location, the configured bandwidth-limit of the node
    and the Boot-State ("boot" means normal state, other states are: debug (dbg), to be re-installed (rins) and to be first-time installed (ins))
    Node details window

    Add the node to your slice by klicking on the "Add to slice" button.
    Note that it may take a while until your slice on the new Node is accessible because the ressources need to be allocated first.
    Add the node to your scenario configuration by checking "Takes part in scenario"
    You may have noticed that the list with the scenario nodes now contains the node:
    Result of adding node to scenario.

  3. Saving and loading scenarios

  4. Deploying software to the nodes

  5. There are two alternative ways to transfer files from your PC to the nodes:
    1. By opening the node details window and entering the From and To directories in the appropriate fields and then hitting the "Copy directory to node" button
    2. It's possible to send the contents of a directory to all scenario nodes. This is specially usefull if you'd like to setup all nodes for an experiment.
      Chose Action -> "Copy dir to selected nodes" to perform this operation.

  6. Bootstrapping nodes

  7. The transferred software on the nodes needs to be started to be able to receive commands from the Visualizer e.g. to start/stop an experiment.

  8. Running an experiment

  9. As mentioned above, up to now the only implemented experiment is the X2X simulator, which forms groups of the scenario nodes
    and then measures the bandwidths between the nodes of each group.

    You can open the X2X sim window by chosing File -> Show simulator window.
    Here are some screenshots showing the X2X sim in action:

    1. Here you can see 2 groups of nodes, each of them consisting of 5 nodes. The groups were formed using semantic closeness.
      The edges shown on the map are drawn from each node to the leader of the group.
      In this scenario the 2 leaders are in Kent (UK) and Göttingen (GER).
      Semantic groups.

    2. We want to see how thes nodes would form groups if every node (except the leaders) could join the group, to which it has the best bandwidth.
      This means that we're running a Network Closeness experiment by measuring the bandwidths from each node to the leaders to form the Network Closeness based groups.
      Afterwards the average group bandwidth is also calculated again by measuring bandwidths but this time from each node to every other member of the group.

      Here you can see the X2X Sim window, where we've selected to execute the Network Closeness scenario (Scenario 2).
      X2X Sim ready to execute Network Closeness scenario.

    3. After clicking on the "Execute" button, the Experiment options dialog will be shown.
      Here we can select some options and actions to perform before the bandwidth measurements start.
      Experiment options.

    4. Usually the experiment will take a longer time (some hours) but this depends on the number of nodes you selected for the scenario.
      During the execution of the experiment you can watch the current state by taking a look at the stdout.
      Standard output of the experiment.

    5. Finally when the bandwidth measurements are finished, we can see the newly formed groups:
      The groups formed using Network Closeness.
      Note that many of the nodes have switched to the other group.

    6. We can now view the results of the measurements to understand the new situation by chosing File -> "Show bandwidth results" and then opening the last measurement results file.
      Detailed measurements results.


    For more information about X2X take a look here: http://www-itec.uni-klu.ac.at/~laszlo/x2x.pdf
    Well, hopefully my master thesis will be finished soon, so more information should be obtained there ... but time will tell.

History


License


Documentation


Troubleshooting


Final comments

I hope this program can help you with your research using PlanetLab. Enjoy it ;-)
For support or if you have any comments, don't hesitate to contact me and give me feedback:

Leo Bosnjak (leo AT edu.uni-klu.ac.at).

Hosted by
Get PlanetLab Visualizer at SourceForge.net. Fast, secure and Free Open Source software downloads