12.Use Templates and Clones

In this Lab you will learn how to create a template, create customization specification, how to deploy a virtual machine from template, clone a virtual machine that is powered on.

To create a template go to vCenter > Virtual Machines

1

right click your virtual machine name and power it off. after it get power off move

2

when the machine is turned off right click on the machine go to all vcenter actions > click on convert to template

3

when the template is created move it to the templates folder which you have created earlier.

4

5

go to vmfolder expand the folders and click on template right click on the template you created and rename it to your_name template as you can see in the below picture i have renamed it to shanith template.

6

Customer specification is important because it stores computer name, workgroups, domain settings and licensing information. Mainly you create a customer specification for the purpose of template deployment.

Now lets create a customer specification.

Go to Home and in the monitoring panel you can find Customization Specification Manager and click on create new specification icon.

In specify Properties in target VM operating system click on the drop down button and select the OS you want, i have selected Windows and click next.

7

In the set registration Information type VMware student as the Name and VMware as the Organization.

8

in the set computer select the option use the virtual machine name and click next.

9

In enter windows license provide the license of the OS you chose and click next.

10

set administrator password (any password you like) and click next.

11

choose the appropriate time zone where you live and click next.

12

leave the default settings and click on next.

13

In configure Network tick on the radio button which says use standard network settings or customize properties for each network interface.

14

set the machine on workgroup or on domain and click next.

15

when all the settings are configured properly click on finish.

16

now lets deploy a machine using customer specification.  to deploy a machine go to vCenter > VM Templates you have to right click on your virtual template you created earlier and select deploy VM from this Template.

17

When you click on the deploy VM from this template you have to provide a name and select the folder that you going to deploy the VM.

18

19

select your esxi host by expanding Lab servers and click next.

20

select the storage that you going to use and click on next.

21

in clone Opitons select customize the operating system and power on virtual machine after creation. and click next.

22

Customize guest OS select the custom specification you created earlier and click next. and when its ready click on finish.

23

After when you click on finish you can see that your machine will be turned on automatically.

25

Cloning is creating a duplicate machine with the same configurations and installed software as the original machine. you can clone while the machine is on/off or in a suspended.

Now lets start cloning a machine.
Right click on the machine and click on clone to virtual machine. and click next and in the name and the folder its the same procedure as the above.

26

Choose the correct esxi and click next.

27

Select the correct storage and click next.

28

select the customer specification you created and click next.

29

when you have configured it properly your machine will be there.
If you have completed the following above labs properly then You have completed Lab 12.

Advertisements
This entry was posted in VMware Labs. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s