How to Create VM Template and Convert VM Template using vCenter Server 6.0
In this post, we’ll learn the steps to create Virtual Machine Template and convert VM Template in VMWare ESXi 6.0. We have already learned the steps to install VMWare ESXi and installation of VMWare vCenter Server. VM template can be used as a golden image. It is used to create multiple Virtual Machine without installing the OS and other important applications from the scratch.
Why do we need VM template?
Take a scenario in which you have to deploy some Virtual machines in your environment. This means we have to install the OS on all the Virtual Machines, on top of OS we also need to install the basic or the mandatory software and applications e.g. Antivirus, MS Office, Acrobat Reader, etc. However to prevent all those redundant tasks, we can create a VM template and by using it we can create multiple Virtual Machines.
Before we start with the steps of creating a VM template on VMWare ESXi 6.0. Install the OS and install all the basic softwares. Please take a note, we need to login to vCenter Server to create the template. We can see two options:
a) Clone: It is doesn’t impact the source machine. It creates the new Virtual Machine by cloning and then convert newly created VM to template.
b) Convert: This option converts the VM to template i.e. source Virtual Machine will be converted.
Clone to Template
Login to vCenter Server (Steps to install vCenter Server)
Right click on the Virtual Machine which you want to clone.
Select the option Clone to Template in this practical.
Define the Name.
Define the inventory location for the same. Select the Data centre that would host it.
Click on next to continue.
Select the Host/ Cluster on which you want to store this template.
Verify the compatibility and ensure that “Validation succeeded” message appears. It confirms the compatibility with Host/ Cluster.
Select the Datastore for the template.
Over here you would see all the Disks that are attached to your Host.
Select the Disk format. For this practical, we’ll select “Thin Provision”.
Click next and then click Finish.
Even if Virtual Machine template is successfully created, you would not be able to see the same under your Host.
To see the template, click on the Home
Click “VMs and Templates” to see all the Virtual Machines and Templates.
Over here we can see all the Virtual Machines and Templates.
Convert to Template
Login to vCenter Server.
Right click on the Virtual Machine which you want to convert.
Click on Template and then select the option “Convert to Template”.
Conversion would convert the source Virtual Machine.
To check if the VM Template is created or not, click on the Home.
Select “VMs and Templates”.
Over here you can see all the Virtual Machines and Templates.
Hope you understood the steps to create Virtual Machine Template in VMWare ESXi 6.0. Please feel free to leave your comments and suggestions in the comment section.