Skip to content

CleanUpSlice

Saverio Proto edited this page Jun 25, 2012 · 2 revisions

Table of Contents

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 ~/*'
Clone this wiki locally