hello and welcome to lab number 10
in this lab will be making some modifications to existing virtual machine.
First thing we'll do is increase the size of the virtual disk file. Then we'll adjust its memory allocation.
Then we will rename Of'em.
We will add a raw London
and then we will expand disk that was provisioned with thin provisioning.
Okay, so for our first task,
we're going to increase the size of the virtual disc.
So I will go ahead to my
that we created in the last lab.
And I can do actual its power, this guy up.
We can do this while the machine is powered up.
You can also do this activity where the machine is down, but it's more instructive to show it when it's powered up.
to basically reconfirm that
a lot of these changes are possible while the machine is up and running,
so that when you need to make changes like this in your environment
you'll realize that in some cases you do not have to endure any downtime.
Okay, so the machine is powering up.
and This is a window seven V. M. So the process is slightly different If you're,
trying to extend a volume on something
older like a server 2003 year 2008
you can actually use a utility
which stands for extend partition.
But with Windows seven and some other more modern server operating systems, like a server 2012
extend the, uh, C drive without using any external tools.
The tool from Dell is free. It's very easy to find.
just do a quick search for
and you should be able to locate that utility.
Okay, I'm gonna go ahead and log in here.
All right, So let's have a look. First ad
our current hard drive size,
getting a message about my paging file being kind of small, that's fine.
And we can see that I am almost out of space, so I really do need to increase the size of this drive. 33. Meg is barely any storage
is to expand the virtual hard disk.
by going to the VM menu, selecting at its settings.
You can also do it by right clicking the VM and going to edit settings
So we'll edit our settings
and I'll be selecting my hard disk and you can see that the provision size my hard disk is 10 gigabytes.
I'm using, like 99% of that right now, So I'm gonna go ahead and increase this
12 Gig should give me enough storage to continue to use this VM and install updates in the future and so on.
So ah, very simple operation here. Just change that number
now if I examine that hard disk
from within the operating system itself,
So I'm going to the disco manager just going to start menu typing, creating format hardest partitions.
So let's bring this up.
Now we can see that my partition still tend. Gig. It's not showing,
but it's still showing only 10 gigabytes, So what I have to do is refresh
the disk management view,
and now we can see that the analogue Kate ID two gigabyte portion shows up.
Sometimes that happens with just the manager.
right. Click on that volume
and say, Extend volume
helps me increase the size of simple and span volumes so I can add space for more time or additional discs.
In this case, I've got a ah, my default. Just get selected, which is his two gigabyte portion.
Could also specify the amount by typing in a number or using the buttons,
so I'll go ahead and click next and finish.
And now I've got 11.9 gigabyte partition
refresher this screen as well.
Now I've got 1.99 gigabytes free.
so pretty easy to do
again. If you're using an older OS, you do need to use
a different third party utilities such as Dell's extend partition,
and you can see that I've got that, actually, on the desktop here E x t part.
Okay, so our next task
is to increase the amount of memory that this machine is using.
So if I go to at its settings
and I select RAM, you'll notice that It's great out. I can't adjust the memory size while the virtual machine is actually up and running.
So I'm gonna go ahead and cancel that,
and I will shut the machine down.
Okay? It's installing some updates.
Ah, let's go ahead and
select a different machine. Since that one might be busy for a minute.
Shell shut this guy down right from this menu.
just about shutdown.
Okay, There we have it.
Now go to added settings,
and I'm gonna increase the disc's size on this machine as well.
Since I wanted to match the one that I cloned earlier.
I've got a lot of updates to install, and I want to make sure I have plenty of space for that.
So I've increased the disc's size. Same way I just did on the other system.
Then I want to select my memory,
and I want to give more memory to the machine.
So right now I have two gigabytes. I'll change that to three gigabytes.
That way, this machine will have more resource is, and I'll be able to do more with it, so click okay
and I can boot the machine.
See how the other one is doing
all right, that was still installing updates.
Anyways, while this machine is booting, we could move on to our next task.
this particular machine called Win Seven Clone, that's pretty descriptive name.
But I can also rename this,
so I'm gonna call it Whips
and I will call it Win seven Clone number two.
is really on Lee for inventory purposes,
and we can prove that
by going to the actual data store for this virtual machine.
And you'll see that when you look at the data store
that the name of the folder and all the configuration files
has not modified. Once
the machine has changed,
actually could do us a couple differently. Let's let's click the VM.
We'll go to the summary tab.
Now I know for sure which storage my machine is living on because it tells me I'll right click the storage, browse the data store
and this data stores should hold all of the virtual machines, and I so files
It's taken a moment for to update.
So this machine was called wince Win seven clone
and we can see that it's that it's still here. The folder is still here.
It hasn't been renamed to Win seven Clone, too,
and you can see all of the different components that virtual disk file
the configuration followed. B M X file.
All these have their original naming.
So keep this in mind that when you re name of of'em, it's on Lee the inventory view that contains the new name.
If you want everything to change,
you either have to change these file
file names manually,
could be a little bit tricky if you make a mistake. Not a virtual machine may not boot.
Um, other options would be to clone the machine,
and in the process of cloning, you can give it a new name, and then all the files will be renamed correctly.
Okay, so our next task
we're gonna go ahead and close the dairy store down,
to one of my virtual machines.
So we'll go ahead and pick the wind seven machine
and I can right click and go to you at its settings
and all of my hardware devices. are contained here. We can see I've got three. Gig of Ram.
I've got a 12 gigabyte hard disk.
Although I think if I remember right, this one is not had the operating system extended yet, So I have to do that eventually.
But for right now, what I want to do is add a device
so quick, the ad button.
I'm going to be adding a hard disk
And I can use a, uh, create a new virtual disk here,
or use one that already exists.
Or in my case, we're going to use a raw device mapping. This means that
that I've created a lung on my storage area network,
and I'm going to allow the virtual machine to use it directly.
So the last Lund that I've got available
Channel zero, Target three Lund 4 to 3 gigabyte volume
so I can go ahead and select it.
Typically, you want a store,
the files with the virtual machine, as we have here.
Or you could you could specify a ah different data store if you wished.
I'm just gonna pick the one that the virtual machines already stored in which is my local desk.
Go ahead and click next.
This is another important question you have to deal with.
physical compatibility mode now, the OS is accessing the hardware as if it was locally attached. Disc
that unfortunately means that you cannot use snapshots.
So if we want to use other functionality for re sizing and volumes and for snapshots, then we need to pick virtual compatibility mode.
So go ahead and select that
the device node that comes up virtual device node. We could leave this at the default setting.
And if you remember,
WeII spoken earlier labs about the actual mode.
If you put your book disk into independent mode
in persistent independent mode, that means that
all the changes are written to the disc the way you would normally expect.
Or we can select non persistent,
where changes are not maintained after a reboot.
We're just gonna de select that to use the
the deep default mode here. We're not going to use the independent mode.
We get our summer screen
showing us our target lung and virtual device. No, that's going to be mapped to this V M
and we click finish.
Now we can see that the new hard disk is being added. We've got a map raw London
being attached to this device.
So go ahead and click. Okay,
keep this virtual machine selected in the inventory
and go to my storage views,
if I want to see all my virtual machine files,
within this directory on my
all the files that comprise this PM
tells you what the file type is, how large it is.
I can click the update link
so that it can update anything that's changed, and we can see that I've got a bunch of new files here,
and what we're looking for is
for the machine that was for the rather for the disk that was just created.
We can see. There it is. It's a three gigabyte file.
I've got a new virtual
showing me that extra storage that's now available
So everything that's win seven underscore one
is that second disk. The original disk
is just windows seven. We consort this by name and make that a little bit easier
So the underscore one
items are are those new items from adding adding the disc?