Help:Suspending instances

From Wikitech
Jump to navigation Jump to search

Occasionally it's needed to suspend instances, rather than destroying them. Note that if you suspend a user's instances, they can un-suspend them if they have access to reboot the instances, so you'll need to disable the user's account if you want to avoid that. Here's the steps to disable instances:

  1. Find out which host is running the instance (run on the controller):
  2. On the specified host, use virsh to suspend the instance:
    virsh suspend i-<instancenumber>