3.2 Templates and Clones
Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or
Already have an account? Sign In »

Video Transcription
00:02
Hi.
00:03
You are watching Model three
00:05
managing virtual machines. Listen to templates and clothes.
00:11
In the previous video, we've seen how to create a V M from scratch.
00:16
But here's the thing.
00:17
Creating a virtual machine is a lengthy operation.
00:21
It involves mounting and I so image and installing an operating system from scratch. And then you can install applications as you need to in addition to performing many other configurations.
00:33
That's great, actually. But what if you need 20 or 30 such PM's that will be running the same operating system and maybe even the same applications? Well,
00:44
what if, instead, off iterating through this boring and time consuming process, you had these sort of V M bays line that you tweaked to your liking and that you can then copy and paste 20 or 30 times. How awesome would that be?
01:02
Well, I've got good news for you because V Center lets you mass produce virtual machines through two interesting futures called templates and clones.
01:14
Now a clone is a duplicate off a virtual machine.
01:18
You can clone any virtual machine any number of times. Whether it is powered on or powered off.
01:23
A clone is going to include all the files from the original V M.
01:29
So a clone is a full blown Veum itself.
01:33
You can interact with it in much the same way you do with any other regular VM.
01:38
But there's a catch.
01:40
The clone will be identical to the original Veum in every measure
01:45
except for the Mac address. So watch out for I P address conflicts, the guest operating system license and the Security i. D. In case of a Windows machine.
01:55
So they are going to be identical to those in the original via
02:00
To avoid such a scenario, the center gives you the possibility to create a guest operating system customization.
02:07
This will let you change the network configuration off the clone,
02:10
the licensing off the operating system, the operating system machine name and the security i. D. In case of a Windows OS.
02:20
Keep in mind that this customization is available only for V EMS, that front Windows or Lennox guest operating system.
02:29
Now a template is much like a clone, except that it is a master copy but not of'em itself, so you can't interact with it.
02:38
You can't actually power it on or edit its content. It is there to serve as a mould used to mass produce identical virtual machines.
02:49
Let's see how to create a clone and a template
02:52
again. You can clone a virtual machine even when it is powered on.
02:55
You can also create a template off a virtual machine, even if it is powered on.
03:01
We already have a V M named Web where we installed a bond to server. There is no Web service running on it yet, and that's excellent, actually, because if I already installed a Web service and then I cloned this PM, the resulting clone or clones will also contain a Web service.
03:20
Since my Web Veum is a freshly installed limits server, it is a good candidate for creating a template. And then, from that template, I can create many linen server virtual machines and install whatever service I wish on any of'em I choose. Pretty awesome.
03:37
So let's create a template from this BM. We go ahead and right click. The weap Veum
03:43
can choose clone,
03:45
and you can see that there are three options. You can clone this virtual machine toe another veteran machine,
03:50
or you can clone this PM to eat template
03:53
or you can clone this Veum to eat template and then place it in content library, which is a centralized depository inside the center where you can put templates and I s O images.
04:04
So we'll choose the second option. So I want to create a template that I can use later to mass produce. Identical PM's
04:14
now name your templates to something obvious, Then click next. Now choose the SX. I host where your template will live.
04:23
Then choose the data store where the template files will be stored,
04:28
and make sure to choose the thing mode for the disc.
04:32
Now, review the summary and click finish. You can monitor the cloning operation and the recent tasks. It will take a while. So depending on the size of the V and data,
04:44
I will speed up the video
04:46
on, and it's done.
04:48
Now. If we navigate through V EMS and templates stab, you can see your template listed there.
04:55
Now the template has a particularity worth pointing out.
05:00
Let's navigate to the data store where the template resigns on click on the Templates folder and you can see here that there is a file with the thought of E. M. T X extension. This means that this is a template and not a virtual machine.
05:16
If I navigate to the Web VM, for example, there is no such file.
05:23
Remember the Doctor VM t x file indicates that this machine is actually a template and cannot be interacted with like you do with the regular VM.
05:32
Let me show you what I mean.
05:34
If you go back to the V, EMS and templates stab
05:38
and right, click on the template.
05:41
There is no option to power on this template.
05:45
And that's the point. The template preserves the integrity off data it contains. It's like a mold to create other V ums. If you want to edit anything inside the template, you'd need to convert it back two of'em
05:59
and then re converted to a template once again.
06:01
But we can do with the template is create a new V M from it. Let's do that. Click on New Veum from this template.
06:10
Name your V M.
06:12
I will name it database because it will serve as a database later on.
06:16
Now choose to host where your viene will live.
06:19
The data store rate will store its files
06:24
and here you can see that it gives you the possibility to specify a customization off the operating system.
06:31
Remember when you create a V M from a template that two of'em will have exactly the same configuration as the original V M that was used to create the template in the first place?
06:43
If you want to customize the settings, you need to specify a customization profile. We will not do that here. So click next
06:51
review these summering and click finish
06:56
again. You can monitor the operation and the recent mosques. I'll speed up the video,
07:00
and there's our newly created VM. This is much faster than creating a new Veum from scratch
07:09
Pretty handy. I can go ahead and power it on.
07:13
All right, now let's create another VM fromthe same template.
07:17
It is exactly the same process we went through just now.
07:20
I will name the new V M E Mail as it will run an email service later on
07:27
and
07:29
fares our second VM created in no time, you can see the benefit of having a template.
07:34
It is a weapon off mass production.
07:39
Now, One last thing before we finish,
07:41
you can see here that my newly created V. EMS will have the same i p address.
07:46
That's because I did not apply any guest operating system customization.
07:51
I will fix that later.
07:54
You get the point. Thanks for watching and stay tuned as I show you how to create a snapshot off of'em in the next video.
Up Next
Similar Content