Shut Down a VM

You may need to shut down a running VM for a number of different reasons, for example to free up its resources, or to reconfigure its virtual network hardware or virtual disk storage. You can shut down a VM via the VM’s console or using XenCenter. XenCenter provides two ways to shut down a VM:

  • A soft shutdown performs a graceful shutdown of the VM, and all running processes are halted individually.
  • A forced shutdown performs a hard shutdown and is the equivalent of unplugging a physical server. It may not always shut down all running processes and you risk losing data if you shut down a VM in this way. A forced shutdown should only be used when a soft shutdown is not possible.

A VM running in HVM mode (that is, VMs without XenServer Tools installed) can only be shut down using a forced shutdown; to avoid this, you should install XenServer Tools on all HVM virtual machines.

To perform a soft shutdown

Select the VM in the Resources pane and then click Shutdown icon. A red circle with a power icon overlaid in white. Shut Down on the toolbar.

Alternatively:

  • Right-click and click Shut Down on the Resources pane shortcut menu.
  • On the VM menu, click Shut Down.

To shut down a VM from within its floating console window, click Lifecycle icon. Three stacked circles: blue, green, red. and then click Shut Down.

The VM’s console displays shutdown messages as running processes are stopped. When the shutdown is complete, the VM status indicator in the Resources pane changes to Stopped VM icon. A VM icon with a red stop icon overlaid..

To perform a forced shutdown

Select the VM in the Resources pane and then click Force Shutdown icon. A red circle with a white off switch icon overlaid. Force Shutdown on the toolbar.

Alternatively:

  • Right-click and click Force Shutdown on the Resources pane shortcut menu.
  • On the VM menu, click Force Shutdown.

To forcibly shut down a VM from within its floating console window, click Lifecycle icon. Three stacked circles: blue, green, red. and then click Force Shut Down.

When the shutdown is complete, the VM status indicator changes to Stopped VM icon. A VM icon with a red stop icon overlaid. in the Resources pane.

Shut Down a VM