WEBVTT

00:00:00.000 --> 00:00:02.060
Welcome back to vSphere 8 in the real world.

00:00:02.060 --> 00:00:04.900
Now we're going to discuss the distributed virtual switch configuration.

00:00:07.500 --> 00:00:10.060
So as we discussed in an earlier lesson,

00:00:10.060 --> 00:00:12.200
when you create a distributed virtual switch,

00:00:12.200 --> 00:00:15.300
that is one part of the process.

00:00:15.300 --> 00:00:17.260
You go and you create your distributed virtual switch.

00:00:17.260 --> 00:00:19.959
You want to create a port group, at least one port group,

00:00:19.959 --> 00:00:22.059
for your distributed virtual switch.

00:00:22.059 --> 00:00:25.360
Once you've done that, you need to add a host or at least one host,

00:00:25.360 --> 00:00:28.600
probably multiple hosts, to that distributed virtual switch

00:00:28.700 --> 00:00:30.459
to inherit those settings.

00:00:30.459 --> 00:00:35.560
So adding a host is going to be a matter of going in and selecting the host.

00:00:35.560 --> 00:00:40.500
Then you're going to select the NICs, the physical adapters on that host

00:00:40.500 --> 00:00:43.540
that you want to link to the distributed virtual switch,

00:00:43.540 --> 00:00:46.259
and you're going to map those physical NICs to uplinks.

00:00:46.259 --> 00:00:48.160
So you're going to select an uplink and say,

00:00:48.160 --> 00:00:52.840
I want this to go to NIC 3, and I want to select this uplink,

00:00:52.840 --> 00:00:55.340
and it's going to go to NIC 4, and so on and so forth.

00:00:55.340 --> 00:01:00.299
So you're going to have a mapping of your physical NICs to specific uplinks.

00:01:00.299 --> 00:01:03.200
So when you configure policies on your port groups and say,

00:01:03.200 --> 00:01:06.180
uplink 1 is active and 2 is standby,

00:01:06.180 --> 00:01:11.699
that maps to known NICs to you as the administrator on your host.

00:01:11.699 --> 00:01:18.239
So you'll select uplinks and map them to specific physical adapters on the host.

00:01:18.239 --> 00:01:19.800
So you'll have your adapters.

00:01:19.800 --> 00:01:23.180
You can also then, of course, you're going to want VM kernel adapters.

00:01:23.180 --> 00:01:28.580
Now, you could use standard switches with your distributed virtual switches,

00:01:28.580 --> 00:01:31.879
but in most environments, if you're using a distributed virtual switch,

00:01:31.879 --> 00:01:34.580
you want that central management and functionality.

00:01:34.580 --> 00:01:38.120
You don't want to manage VM kernel ports on a host-by-host basis

00:01:38.120 --> 00:01:40.379
and your VMs on a distributed virtual switch.

00:01:40.379 --> 00:01:44.279
Normally, you want to move everything to distributed virtual switches.

00:01:44.279 --> 00:01:49.440
And so because of that, you'll also want to configure VM kernel ports

00:01:49.440 --> 00:01:50.940
on the distributed virtual switches.

00:01:51.000 --> 00:01:54.239
And again, you can map the VM kernel ports to a port group

00:01:54.239 --> 00:01:58.400
that has certain network adapters selected for a certain order.

00:01:58.400 --> 00:02:02.879
And because those uplinks that you'll be mapping with the adapters

00:02:02.879 --> 00:02:06.839
are mapped to physical NICs on the host, you know which adapter you're selecting.

00:02:09.600 --> 00:02:14.399
So you can also choose to, if you have VMs already running on your host,

00:02:14.399 --> 00:02:16.979
you can say, okay, on this host, I have a VM.

00:02:16.979 --> 00:02:22.539
It's running on a port group on a standard switch called production,

00:02:22.539 --> 00:02:25.520
or it's called accounting, or whatever it's called, right?

00:02:25.520 --> 00:02:27.119
It's called VLAN10.

00:02:27.119 --> 00:02:29.720
A lot of times you see port groups named after a VLAN.

00:02:29.720 --> 00:02:30.919
It's named after VLAN10.

00:02:30.919 --> 00:02:35.779
And I want to move all the VMs that are on the VLAN10 port group

00:02:35.779 --> 00:02:41.779
to the port group called distributed port group VLAN10, right?

00:02:41.779 --> 00:02:44.080
We know it's a distributed port group, not the local one.

00:02:44.080 --> 00:02:45.080
So the VM moves over.

00:02:45.080 --> 00:02:46.380
It's still on VLAN10.

00:02:46.380 --> 00:02:50.179
The configuration stays the same, but now it's on a distributed virtual switch

00:02:50.179 --> 00:02:53.919
and not on a standard switch on the host.

00:02:53.919 --> 00:02:57.639
So you can move the VMs and change their configuration at the same time.

00:03:00.039 --> 00:03:04.119
So that is how you configure and migrate to a distributed virtual switch.