Site icon UnixArena

How to create a new VM template on VMware vSphere ?

VMware VM Template

VMware VM Template

What is VM templates ?  How it is going to help on automatic VM provisioning ? If you are scratching your head for these asked questions , just go though this article. A VM template is a master copy of the virtual machine which can be used to create a new virtual machines in a few clicks.Normally template will be used to create a similar type of machines . For an example, to build a web-server on Redhat Linux,

  1. You need to create a virtual machine
  2. Install Redhat Linux Operating system
  3. Install the necessary software for Apache
  4. Install Apache.

You have to setup the things only for the first VM if you are going to use template. Using that newly created VM, You can create a template which will be act as master copy for future provisioning. So the bottom line is that template has the  operating system installed virtual machine and set of installed applications on that VM.

We can create a  new virtual machine template from  existing virtual machine or you can covert the virtual machine as template. Here we will see  how we can create a new template from existing VM.

1. Login to vSphere Client and select the VM from which you want to generate new template.

Select the VM

2.Right click the VM and Select “clone to template”. If you select “convert to template”, VM will be converted as template permanently.

Right Click to make template

3.Enter the meaning  full template name .

Enter Meaning full template Name

4.Select the cluster or ESXi host .

Select the cluster or ESXi host

5.Select the datastore for  VM template.

Select the datastore

6.Click Finish, once  you have reviewed the settings to create a new VM template .

Finish the wizard

7.Click on the recent tasks to check the template clone status.

VM template – clone

8.Once the clone is completed, Click on the VM & Template tab.Here you can see the template details which you have created by cloning the existing VM.

Template Details

Using the VM template , you can create a new virtual machines in few clicks. But  configuring the IP address, setting the unique host name and configuring the application needs to be done after creating the new VM manually.

In same way ,you can create the template for other virtual machine guest as well. (Ex: Solaris x86, Windows ..etc..).

Share it ! Comment it !! Be Sociable !!!.

Exit mobile version