wiki:CleanUpSlice
close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "hg": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Clean the Slice

Get the list of nodes in a Slice

To get the list of nodes currently in your slice use this script: source:planet-lab/print_nodes.py

python print_nodes.py <username> <password> <slicename>

The script will create the file nodes.txt with the list of nodes of the slice

Configure Multiquery

First of all we need to user multiquery, so make sure you have the following configs steps done:

$ export MQ_NODES='nodes.txt'
$ export MQ_SLICE='planetlab_hello' <-- substitute your slice name here
$ echo "StrictHostKeyChecking no" >> ~/.ssh/config

Where nodes.txt is the file created at the previous step.

Clean up

./multiquery 'rm -rfv ~/*'
Last modified 8 years ago Last modified on May 19, 2010, 2:53:19 PM