Welcome back to vSphere 8 in the real world.
Now we're going to discuss the distributed virtual switch configuration.
So as we discussed in an earlier lesson,
when you create a distributed virtual switch,
that is one part of the process.
You go and you create your distributed virtual switch.
You want to create a port group, at least one port group,
for your distributed virtual switch.
Once you've done that, you need to add a host or at least one host,
probably multiple hosts, to that distributed virtual switch
to inherit those settings.
So adding a host is going to be a matter of going in and selecting the host.
Then you're going to select the NICs, the physical adapters on that host
that you want to link to the distributed virtual switch,
and you're going to map those physical NICs to uplinks.
So you're going to select an uplink and say,
I want this to go to NIC 3, and I want to select this uplink,
and it's going to go to NIC 4, and so on and so forth.
So you're going to have a mapping of your physical NICs to specific uplinks.
So when you configure policies on your port groups and say,
uplink 1 is active and 2 is standby,
that maps to known NICs to you as the administrator on your host.
So you'll select uplinks and map them to specific physical adapters on the host.
So you'll have your adapters.
You can also then, of course, you're going to want VM kernel adapters.
Now, you could use standard switches with your distributed virtual switches,
but in most environments, if you're using a distributed virtual switch,
you want that central management and functionality.
You don't want to manage VM kernel ports on a host-by-host basis
and your VMs on a distributed virtual switch.
Normally, you want to move everything to distributed virtual switches.
And so because of that, you'll also want to configure VM kernel ports
on the distributed virtual switches.
And again, you can map the VM kernel ports to a port group
that has certain network adapters selected for a certain order.
And because those uplinks that you'll be mapping with the adapters
are mapped to physical NICs on the host, you know which adapter you're selecting.
So you can also choose to, if you have VMs already running on your host,
you can say, okay, on this host, I have a VM.
It's running on a port group on a standard switch called production,
or it's called accounting, or whatever it's called, right?
It's called VLAN10.
A lot of times you see port groups named after a VLAN.
It's named after VLAN10.
And I want to move all the VMs that are on the VLAN10 port group
to the port group called distributed port group VLAN10, right?
We know it's a distributed port group, not the local one.
So the VM moves over.
It's still on VLAN10.
The configuration stays the same, but now it's on a distributed virtual switch
and not on a standard switch on the host.
So you can move the VMs and change their configuration at the same time.
So that is how you configure and migrate to a distributed virtual switch.