Previous page

Next page

Locate page in Contents

Print this page

Suspending Virtual Machines and Containers

Virtuozzo allows you to suspend a running virtual machine or Container on the physical server by saving its current state to a special file. Later on, you can resume the virtual machine or Container and get it in the same state the virtual machine or Container was at the time of its suspending. Suspending your virtual machines and Containers may prove useful, for example, if you need to restart the physical server, but do not want to:

  • quit the applications currently running in the virtual machine or Container
  • spend much time on shutting down the guest operating system and then starting it again

You can use the prlctl suspend command to save the current state of a virtual machine or Container . For example, you can issue the following command to suspend the MyVM virtual machine:

# prlctl suspend MyVM

At any time, you can resume the MyVM virtual machine by executing the following command:

# prlctl resume MyVM

Once the restoration process is complete, any applications that were running in the MyVM virtual machine at the time of its suspending will be running again and the information content will be the same as it was when the virtual machine was suspended.