| 1 | We use [http://www.eyrie.org/~eagle/software/remctl/ 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. |
| 2 | |
| 3 | 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 |
| 4 | |
| 5 | {{{ |
| 6 | athena% add remctl |
| 7 | }}} |
| 8 | |
| 9 | 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) |
| 10 | |
| 11 | {{{ |
| 12 | # For information about the state of your VM: |
| 13 | athena% remctl remote.mit.edu control moo17 list |
| 14 | athena% remctl remote.mit.edu control moo17 uptime |
| 15 | athena% remctl remote.mit.edu control moo17 list-long |
| 16 | # To start up your VM: |
| 17 | athena% remctl remote.mit.edu control moo17 create |
| 18 | # To attempt to cleanly shutdown your VM: |
| 19 | athena% remctl remote.mit.edu control moo17 shutdown |
| 20 | # To hard shutdown your VM: |
| 21 | athena% remctl remote.mit.edu control moo17 destroy |
| 22 | # To hard reboot your VM: |
| 23 | athena% remctl remote.mit.edu control moo17 reboot |
| 24 | }}} |
| 25 | |