Time
2 hours 58 minutes
Difficulty
Beginner
CEU/CPE
3

Video Transcription

00:00
Hi.
00:01
You are watching model file fees. Fear Advanced features Lesson one. Migrating virtual machines.
00:09
By the end of this video, you'll understand migration types have to use the motion and storage emotion to migrate, powered on virtual machines from one year's excite or another.
00:21
Now, a virtual machine is made up of two parts. A computing part which is the content of the memory and whatever tasks are awaiting to be executed in the CPU
00:34
and a storage part, which is the actual data off the fertile machines operating system and the data generated by the applications running on the operating system. So migrating virtual machines involves either moving the computing part to another host
00:51
or moving the VM data from one data store. Tow another data store
00:56
or moving both of the computing and the storage to another location altogether. But here's the thing. Some 30 machines can be migrated wild being powered off. They hold no critical application, and so downtime can be tolerated. In such case, we talk about cold migration.
01:15
On the other hand, some virtual machines must stay awake at all times so you can't afford even a second of downtime. Think about VM holding a database that is receiving thousands of transactions a second. In such case, the VM must be migrated while staying powered on
01:34
and recall this heart migration. Our focus in this lesson is going to be hot migration.
01:41
We'll start off by some definitions.
01:44
Hot migration comes in three flavors. If you're migrating the computing part of a power on V M. This is called the emotion
01:53
If you're migrating the storage part off he powered on P. M. This is called storage of emotion and if you're migrating both the computing and the storage off powered on V M. This is called shared nothing emotion Now to perform any type of emotion, there are some requirements to be met. Here's a list of those
02:12
The virtual machine to be migrated must be stored. Any shared data store that is visible to the destination. He is excited.
02:20
It must not have any CPU affinity Configured, appear must not have any connected resource is like an I S O image that is not shared between the source and destination hosts.
02:32
Now the destination hosts, to which we are migrating must have the same CPU family with same instruction sets as the source. Yes, Excite House.
02:43
And finally, you need a dedicated network for the motion between the source and destination hosts.
02:50
If you don't have enough physical nix on your server, you can use the management network as the demotion network as well. But that's not recommended.
03:00
Let's now see how you migrate. A virtual machine envies enter.
03:04
First we need to create the Emotion network,
03:07
and this involves creating of'em Colonel Port for the emotion on each of the two s X I hosts.
03:13
To do so, click on the first host, then go to configure and then Veum, Colonel Adapters.
03:20
Then click on Add Networking
03:22
True's VM Colonel Network Adapter and Click Next.
03:25
Now we're going to create a new V switch for our Veum Colonel Port toe. Isolate the V motion traffic from the other types of traffic.
03:35
Let's now at v M Nick tow our new movies Witch.
03:38
So click on the plus sign and True's Am Nick, too
03:42
in the network label, choose a name for the VM Colonel part group
03:46
and yes, Avian Colonel Port also needs support group to carry traffic. But unlike Avi Import Group, this is a V M Colonel, part group that will be used for this Veum colonel Traffic only. So let's name it fi motion. Leave all the rest of the default
04:05
checked of Emotion box to indicate that this PM Colonel Port will be used for V motion. Traffic only. Click next,
04:14
and now we need to configure an I p address for the VM Colonel Port. Let's use the static i p. I already set up my physical network with the subject for the motion,
04:23
so let's give it the 17 to 2020 not 10.
04:28
It's a slash 24 network.
04:34
Click on Override Default Gateway and enter the I P Address off the default Gateway, which in our case is the 17 to 29 29 1
04:44
Click. Next
04:46
Review the summary and hit finish,
04:48
and there's our new Veum, Colonel Port for the emotion labeled as V M K one.
04:55
Let's now do the exact same thing for the second host.
04:59
Everything is going to be the same, except for the I P address.
05:02
Let's give it the 17 to 28 or 29 20
05:09
default. Gateway Actress is the same
05:12
review The summary and hit finish
05:15
great the Emotion network between the two hosts is now ready.
05:18
Let's try to migrate to the database virtual machine.
05:23
But before we do that, let's first make sure that the VM is stored on a shared data store. Otherwise it won't work.
05:30
So click on the V M and on the middle pain click on data stores
05:34
and you can see here that the VM is stored on the data store called S X I Dash Data Store.
05:41
Do you recall this one? This is a local data store, so we can't v motion this virtual machine without transferring its files to a shared data store. Now how do we do that without powering off the virtual machine? Well, using storage for emotion
05:58
so storage the motion will let us migrate to the virtual machine files from this local data store. Tow another one. Let's do that
06:05
right. Click the virtual machine and choose migrate. There are three options change Compute resource is only
06:13
This is the motion
06:15
changed storage early, which means storage, the immersion and change both, which means shared nothing. Demotion.
06:23
We are interested in the second option. So True's change storage early and then hit next
06:29
Now we have to choose where to migrate RV in. That is the destination data store.
06:34
Let's move it to the shared ice scuzzy data store that we created in the previous model.
06:41
And don't forget to choose the thing provisioned mode
06:44
hit next
06:46
and then finish.
06:47
You can monitor the storage migration. In the recent past,
06:51
I'm gonna speed up the video
06:55
on and done.
06:57
You can see now that our virtual machine is stored on a shared data store,
07:01
it's now time to demonstrate the emotion
07:04
we're going to migrate the computing part off our database. PM from ear ***. I want toe. Yes, excite, too. So right. Click the VM and choose migrant.
07:15
This time we will choose the first option.
07:17
Change. Compute resources only.
07:20
Click next.
07:23
Choose the destination host toe, which you want to migrant. In our case, it's the second years Excite House,
07:30
and you'll receive this warning concerning game where tools heart beats not being received. That's actually not a big deal, and it's truly not a requirement for of emotion. So just ignore that and hit next.
07:43
It will not ask you to choose a destination port group for your virtual machine
07:47
we'll keep the same metric in configuration. So leave it to the same port group and hit next.
07:53
Now leave the scheduling off emotion too high priority. This will actually cause the V motion process to be prioritized over other processes in the years Excite House, and thus it will finish more quickly
08:07
hit next,
08:07
review the summary and then hit finish.
08:11
Now, behind the scenes magic is happening.
08:15
The motion is one of those features that makes you wonder if the engineers that created it at Vienna, where are actually human
08:22
and it's done.
08:24
And you can see here that our database Veum is now running on the second. Yes, X I host with zero down time.
08:33
Impressive, isn't it?
08:35
That was a brief demonstration. Orphee Motion.
08:37
Thanks for watching. And I'll see you in the next video.

Up Next

VMware Foundations

In the VMware Foundations course, students will learn virtualization basics and core concepts, the components and features of the VMware vSphere, and managing virtual machines. Upon completion, students will have a basic understanding of the vSphere.

Instructed By

Instructor Profile Image
Yacine Benbelkacem
IT Trainer and Consultant at CISCO, VMWare
Instructor