About VMs and Templates

June 25, 2018

A virtual machine (VM) is a software container (sometimes called a “guest”) that runs on a host physical computer and that behaves as if it were a physical computer itself. VMs consist of an operating system plus CPU, memory (RAM) and networking resources, and software applications.

A template is a virtual machine encapsulated into a file, making it possible to rapidly deploy new VMs. Each template contains installation metadata—the setup information needed to create a new VM with a specific guest operating system, and with the optimum storage, CPU, memory and virtual network configuration.

You can create new VMs in XenCenter in a number of different ways:

The New VM wizard takes you step by step through the process of creating a new VM from a template or a snapshot, allowing you to configure operating system, CPU, storage, networking and other parameters.

You can bypass the New VM wizard and create an “instant VM” based on a custom VM template that specifies all of the required VM configuration parameters. You simply select your preconfigured template in XenCenter then right-click and click Instant VM from template. This mode of unattended VM installation can be useful for deploying large numbers of identical VMs.

XenServer Tools

VMs in XenServer environment may be fully virtualized (HVM) or paravirtualized :

In HVM ( hardware-assisted virtualization or Hardware Virtual Machine ) mode, the VM is fully virtualized and can run at near-native processor speeds on virtualization-enabled hardware, without any modification to the guest operating system.

HVM Linux VMs can take advantage of the x86 virtual container technologies in newer processors for improved performance. Network and Storage access from these VMs will still operate in PV mode, using the drivers built into the kernels. For information about upgrading your existing Linux VMs to versions which now operate in HVM mode, see the Updating Linux Kernels and Guest Utilities section in XenServer Virtual Machine User’s Guide.

In paravirtualized (non-HVM) mode, the guest operating system is tuned and optimized to run in a virtual environment, independent of the underlying processor capabilities. The result is better performance and greater flexibility.

I/O drivers (also known as Paravirtualized drivers or PV drivers) are available for Windows and Linux VMs to enhance disk and network performance. These drivers should be installed on all new VMs. Starting with XenServer 7.0, the I/O drivers can be installed and updated through the Windows Update mechanism. The I/O drivers and the Management Agent are combined together and issued as XenServer Tools for ease of installation. For more information, see Installing XenServer Tools. XenServer features such as VM migration and historical performance data tracking are only available on VMs that have XenServer Tools installed.

Using templates

A number of different templates are supplied with XenServer, and these contain all the various configuration settings needed to install a specific guest operating system on a new VM. You can also create your own customized templates configured with the appropriate guest operating system, memory, CPU, storage and network settings, and use them to create new VMs. See XenServer Virtual Machine User’s Guide for a list of the templates/operating systems supported at this release, and for detailed information about the different install mechanisms on Windows and Linux.

You can view the XenServer templates supplied with the product and any custom templates that you create in the Resources pane.

XenServer template

Custom template

You can control whether or not to display the XenServer and Custom templates in the Resources pane:

In the XenCenter Navigation pane, click Infrastructure.

This displays a tree view of your managed resources in the Resources pane.

To show custom VM templates: on the View menu, click Custom Templates ; to hide custom templates, click again to remove the check mark.

The official version of this content is in English. Some of the Citrix documentation content is machine translated for your convenience only. Citrix has no control over machine-translated content, which may contain errors, inaccuracies or unsuitable language. No warranty of any kind, either expressed or implied, is made as to the accuracy, reliability, suitability, or correctness of any translations made from the English original into any other language, or that your Citrix product or service conforms to any machine translated content, and any warranty provided under the applicable end user license agreement or terms of service, or any other agreement with Citrix, that the product or service conforms with any documentation shall not apply to the extent that such documentation has been machine translated. Citrix will not be held responsible for any damage or issues that may arise from using machine-translated content.

THIS SERVICE MAY CONTAIN TRANSLATIONS POWERED BY GOOGLE. GOOGLE DISCLAIMS ALL WARRANTIES RELATED TO THE TRANSLATIONS, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF ACCURACY, RELIABILITY, AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.