User`s guide

Operations on Virtual Machines and Containers 38
/vz/dest_VM_Name.pvm storing the files of a cloned virtual machine (where
dest_VM_Name denotes the name of the resulting virtual machine). For example, for the
ClonedVM virtual machine, this directory is /vz/ClonedVM.pvm. To store the files of
the ClonedVM virtual machine in a custom directory, you can run the following command:
# pctl clone MyVM --name ClonedVM --location /vz/VM_directory
In this case all virtual machine files will be placed to the /vz/VM_directory directory.
Notice that the specified directory must exist on the server; otherwise, the command will
fail.
/vz/private/<dest_CTID> and /vz/root/<dest_CTID> defining the Container
private area and root paths, respectively (where <dest_CTID> denotes the ID of the
resulting Container). In the case of Container 111, these paths are /vz/private/111 and
/vz/root/111. To define custom private area and root paths for Container 111, you can
execute the following command:
# vzmlocal -C 101:111:/vz/private/dir_111/:/vz/root/ct111
Moving/copying Container#101 -> Container#111, [], [] ...
Syncing private area '/vz/private/101'->'/vz/private/dir_111'
...
Successfully completed
# ls /vz/private
1 101 dir_111
# ls /vz/root
1 101 ct111
Suspending a Virtual Machine and
Container
Parallels Server Bare Metal allows you to suspend a running virtual machine and Container on
the physical server by saving its current state to a special file. Later on, you can resume the
virtual machine and Container and get it in the same state the virtual machine and 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 and Container
spend much time on shutting down the guest operating system and then starting it again
You can use the pctl suspend command to save the current state of a virtual machine and
Container. For example, you can issue the following command to suspend the MyVM virtual
machine:
# pctl suspend MyVM
Suspending the VM...
The VM has been successfully suspended.
At any time, you can resume the MyVM virtual machine by executing the following command:
# pctl resume MyVM
Resuming the VM...
The VM has been successfully resumed
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.