wiki:Remctl

Version 2 (modified by broder, 17 years ago) (diff)

--

We use remctl to pass commands back and forth between our different servers, and we've added the ability for you to tap into this to control your VMs without using the web interface.

If you don't have remctl installed locally (there is a remctl-client package in Debian and Ubuntu), you can run it out of the remctl locker by first typing

athena% add remctl

Once you've done that, you can use any of the following commands to manipulate your VM (using our test VM, moo17, as an example)

For information about the state of your VM:

athena% remctl remote.mit.edu control moo17 list
athena% remctl remote.mit.edu control moo17 uptime
athena% remctl remote.mit.edu control moo17 list-long

To start up your VM:

athena% remctl remote.mit.edu control moo17 create

To attempt to cleanly shutdown your VM:

athena% remctl remote.mit.edu control moo17 shutdown

To hard shutdown your VM:

athena% remctl remote.mit.edu control moo17 destroy

To hard reboot your VM:

athena% remctl remote.mit.edu control moo17 reboot