As you already know, using a virtual distributed switch (vDS) allows you to centralize its management on a VMware vCenter Server (VCSA).
A host proxy switch is then created and automatically updated on each of the VMware ESXi hosts added on this virtual distributed switch (vDS).
Thanks to virtual distributed switches (vDS), you can do many things: manage the networking of your VMs and your hosts, filter traffic, manage the priority of different types of traffic, monitor network traffic with NetFlow, ...
Which means that configuring a virtual distributed switch (vDS) consists of a lot of settings and data.
It is therefore essential to save your configuration to be able to restore it easily and quickly in the event of problems.
For this tutorial, we used the virtual distributed switch (vDS) that we created in our previous tutorial: VMware vSphere 6.7 - Create a Virtual Distributed Switch (vDS).
Then we enabled some additional features on it, such as: NIOC (Network I/O Control) and health check.
Hence the appearance of 3 icons in the "Summary" tab of this virtual distributed switch (vDS).
For the example, we have activated the "NetFlow" feature on this one.
We have also enabled the health check.
We have also enabled network traffic prioritization using NIOC (Network I/O Control).
Finally, we limited the network traffic of our virtual machines inbound and outbound using traffic shaping settings.
To export the configuration of a virtual distributed switch (vDS), select it and click: Actions -> Settings -> Export Configuration.
In the "Export Configuration" wizard that appears, you can choose:
You can also add a description to the backup that will be created if you wish.
But, this field is optional.
Click OK.
A small "backup.zip" file will be automatically downloaded.
As you can see, this file is very light.
If you enter this compressed file, you will see that the "data" folder there contains:
For the example, we modified some parameters of our virtual distributed switch (vDS) after exporting its configuration to show you that the settings will be correctly restored to the values which were configured before the backup of this virtual switch.
To begin, we removed the NetFlow settings that we had configured on our Virtual Distributed Switch (vDS).
We also disabled the health check and NIOC that we had enabled on our virtual switch.
As you can see in the "Summary" tab of our virtual distributed switch, there is only one icon left (which means it's a vDS).
We also disabled network traffic throttling of our virtual machines by disabling the traffic shaping settings on the affected distributed port group.
VMware 6/29/2022
VMware 10/26/2022
VMware 7/6/2022
VMware 7/19/2024
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment