%BOOK_ENTITIES; ]>
Configuring a VMware Datacenter with VMware Distributed Virtual Switch &PRODUCT; supports VMware vNetwork Distributed Switch (VDS) for virtual network configuration in a VMware vSphere environment. This section helps you configure VMware VDS in a &PRODUCT; deployment. Each vCenter server instance can support up to 128 VDS instances and each VDS instance can manage up to 500 VMware hosts.
About VMware Distributed Virtual Switch VMware VDS is an aggregation of host-level virtual switches on a VMware vCenter server. VDS abstracts the configuration of individual virtual switches that span across a large number of hosts, and enables centralized provisioning, administration, and monitoring for your entire datacenter from a centralized interface. In effect, a VDS acts as a single virtual switch at the datacenter level and manages networking for a number of hosts in a datacenter from a centralized VMware vCenter server. Each VDS maintains network runtime state for VMs as they move across multiple hosts, enabling inline monitoring and centralized firewall services. A VDS can be deployed with or without Virtual Standard Switch and a Nexus 1000V virtual switch.
Prerequisites and Guidelines VMware VDS is supported only on Public and Guest traffic in &PRODUCT;. VMware VDS does not support multiple VDS per traffic type. If a user has many VDS switches, only one can be used for Guest traffic and another one for Public traffic. Additional switches of any type can be added for each cluster in the same zone. While adding the clusters with different switch type, traffic labels is overridden at the cluster level. Management and Storage network does not support VDS. Therefore, use Standard Switch for these networks. When you remove a guest network, the corresponding dvportgroup will not be removed on the vCenter. You must manually delete them on the vCenter.
Preparation Checklist For a smoother configuration of VMware VDS, note down the VDS name you have added in the datacenter before you start: vds-name.png: Name of the dvSwitch as specified in the vCenter. Use this VDS name when you specify the switch name in the traffic label while creating the zone. Traffic label format is [["Name of vSwitch/dvSwitch/EthernetPortProfile"][,"VLAN ID"[,"vSwitch Type"]]] The possible values for traffic labels are: empty string dvSwitch0 dvSwitch0,200 dvSwitch1,300,vmwaredvs myEthernetPortProfile,,nexusdvs dvSwitch0,,vmwaredvs traffic-label.png: Traffic label specified while zone creation. Fields Name Description 1 Represents the name of the virtual / distributed virtual switch at vCenter. The default value depends on the type of virtual switch: vSwitch0: If type of virtual switch is VMware vNetwork Standard virtual switch dvSwitch0: If type of virtual switch is VMware vNetwork Distributed virtual switch epp0: If type of virtual switch is Cisco Nexus 1000v Distributed virtual switch 2 VLAN ID to be used for this traffic wherever applicable. This field would be used for only public traffic as of now. In case of guest traffic this field would be ignored and could be left empty for guest traffic. By default empty string would be assumed which translates to untagged VLAN for that specific traffic type. 3 Type of virtual switch. Specified as string. Possible valid values are vmwaredvs, vmwaresvs, nexusdvs. vmwaresvs: Represents VMware vNetwork Standard virtual switch vmwaredvs: Represents VMware vNetwork distributed virtual switch nexusdvs: Represents Cisco Nexus 1000v distributed virtual switch. If nothing specified (left empty), zone-level default virtual switch would be defaulted, based on the value of global parameter you specify. Following are the global configuration parameters: vmware.use.dvswitch: Set to true to enable any kind (VMware DVS and Cisco Nexus 1000v) of distributed virtual switch in a &PRODUCT; deployment. If set to false, the virtual switch that can be used in that &PRODUCT; deployment is Standard virtual switch. vmware.use.nexus.vswitch: This parameter is ignored if vmware.use.dvswitch is set to false. Set to true to enable Cisco Nexus 1000v distributed virtual switch in a &PRODUCT; deployment.
Enabling Virtual Distributed Switch in &PRODUCT; To make a &PRODUCT; deployment VDS enabled, set the vmware.use.dvswitch parameter to true by using the Global Settings page in the &PRODUCT; UI and restart the Management Server. Unless you enable the vmware.use.dvswitch parameter, you cannot see any UI options specific to VDS, and &PRODUCT; ignores the VDS-specific parameters that you specify. Additionally, &PRODUCT; uses VDS for virtual network infrastructure if the value of vmware.use.dvswitch parameter is true and the value of vmware.use.nexus.dvswitch parameter is false. Another global parameter that defines VDS configuration is vmware.ports.per.dvportgroup. This is the default number of ports per VMware dvPortGroup in a VMware environment. Default value is 256. This number directly associated with the number of guest network you can create. &PRODUCT; supports orchestration of virtual networks in a deployment with a mix of Virtual Distributed Switch, Standard Virtual Switch and Nexus 1000v Virtual Switch.
Configuring Distributed Virtual Switch in &PRODUCT; You can configure VDS by adding the necessary resources while a zone is created. dvSwitchConfig.png: Configuring dvSwitch Alternatively, you can create an additional cluster with VDS enabled in the existing zone. Use the Add Cluster option. For information as given in . In both these cases, you must specify the following parameters to configure VDS: Parameters Description Cluster Name Enter the name of the cluster you created in vCenter. For example, "cloudcluster". vCenter Host Enter the name or the IP address of the vCenter host where you have deployed the VMware VDS. vCenter User name Enter the username that &PRODUCT; should use to connect to vCenter. This user must have all administrative privileges. vCenter Password Enter the password for the user named above. vCenter Datacenter Enter the vCenter datacenter that the cluster is in. For example, "clouddcVM". Override Public Traffic Enable this option to override the zone-wide public traffic for the cluster you are creating. Public Traffic vSwitch Type This option is displayed only if you enable the Override Public Traffic option. Select VMware vNetwork Distributed Virtual Switch. If the vmware.use.dvswitch global parameter is true, the default option will be VMware vNetwork Distributed Virtual Switch. Public Traffic vSwitch Name Name of virtual switch to be used for the public traffic. Override Guest Traffic Enable the option to override the zone-wide guest traffic for the cluster you are creating. Guest Traffic vSwitch Type This option is displayed only if you enable the Override Guest Traffic option. Select VMware vNetwork Distributed Virtual Switch. If the vmware.use.dvswitch global parameter is true, the default option will be VMware vNetwork Distributed Virtual Switch. Guest Traffic vSwitch Name Name of virtual switch to be used for guest traffic.