next up previous contents
Next: 0.3.3 Load Balancers Up: 0.3.2 Compute Previous: 0.3.2.5 Listing Nodes   Contents

0.3.2.6 Operations on Individual Nodes

Tool called lc-node-do allows to operate on individual nodes. Currently, it allows rebooting and destroying (deleting) nodes.

It can be done this way:

		$ lc-node-do -i 123 destroy # for deleting
		$ lc-node-do -i 124 reboot  # for rebooting

Here an argument for -i switch is an id of the node we're working with and the next argument is an action, i.e. what we want to do with the node.

It's possible to specify more than one node id at time, for example:

		$ lc-node-do -i 10,34,98 destroy
		$

This command will destroy nodes with ids: 10, 34 and 98. Also, it's possible to specify ranges of ids like that:

		$ lc-node-do -i 100-119 destroy
		$

This will destroy nodes with ids starting from 100 and ending with 119.



Roman Bogorodskiy 2011-05-30