Skip to main content

vSphere Distributed Switch Part 14 – Configuring dvPortGroup General Settings

Distributed Port Group (dvPortGroup) represents a group of dvPorts which shares the same configuration template. Applied configuration will be inherited from the dvPortGroup to the dvPorts. Port Group policies can be overridden on Per-dvport level. In vSphere standard switch, We will apply policy at vSwitch level and port Group level but on distributed switch, We will apply networking policies at dvPortGroup Level or at dvport level. In this post, I am going to explain you about how to configure Distributed Port Group General settings.
General Settings which are configured as part of Distributed port group includes portgroup name, Port binding options, Port allocation, Number of ports for the dvportgroup ,network resource pool and along with a description.
Under dvPortGroup General Settings, Enter the Name for dvPortGroup if you want to change it, Specify Number of Ports for this dvPortGroup and Description.Let’s understand Port binding and Port allocation policy in detail.
Below are the 3 different Port binding options available as part of dvportgroup general settings
1. Static Binding
2. Dynamic Binding
3. Ephemeral -no binding
Below are the 2 port allocation policy which can be only applied if you have chosen Static Binding as your Port allocation policy. 
1. Fixed
2. Elastic

Static Port Binding with Fixed Port allocation

Static Binding : This is the default port binding option. It assigns a  port to a virtual machine when a VM is connected to distributed port group. It assigns a port to connected virtual machines regardless of whether the connected virtual machines are powered up or not. It is not possible to connect any new virtual machines on the port group, If all the ports are booked by existing virtual machines.
For example:  if the total number of ports on my dvportGroup(Production) is 20. You can attach 20 virtual machines to this port group (PortGroup) regardless whether VM’s are powered on or off. If you try to connect a new virtual machines as 21st VM, It will not allow the VM to attach to the portgroup. Let’s prove this in the below scenario.
I have a Port group called “DPortGroup” with Static Binding as Port binding option and Fixed as my Port allocation Policy. I have configured Number of Ports as “3″.
I have connected 3 Virtual Machines to the portgroup “DPortGroup”. You can see the usage Report in the Below screen:
Port Capacity : 3
Ports Used : 3
Ports Free: 0
When i am trying to connect my 4th Virtual machine to the PortGroup “DPortGroup”, I am getting the below error Message:
“No Free Port is available in Distributed Port Group”

Static Port Binding with Elastic Port allocation

If all the ports are occupied by connected virtual machines, vDS will automatically expand the port allocation pool to accommodate the required number of dvport. If the port is no longer needed (in case VM’s removed from the port group or VM deleted), ports will be reduced down to the numbers which was set at the time of creation.

Dynamic Port Binding

The Dynamic port binding type is deprecated. and it is no longer recommended. It is strongly recommended to choose the static port binding type for better performance. So I am not going to discuss about dynamic port binding policy.

Ephemeral-No Binding

Ephemeral binding behaves same as the standard vSwitch. If you have configured your dvPortgroup with ephemeral port binding then number of ports will be set to 0. Portgroup will allocate one port for each powered on virtual machine connected to that virtual machine upto the maximum number of ports available in the switch. If you choose your Port Binding as Ephemeral-No binding then, option to set number of ports will disappear.
In the below scenario, I have a dvport Group called “DportGroup” which is configured with Ephemeral port binding and I have connected 4  powered off virtual machines to this port group. Even 4 VM’s are connected but still Used Port is showing as “0″ because VM’s are not powered on.
Once I powered on 3 virtual machines, It allocates the one port for each virtual machines with the Port ID.
Finally I have powered-on all my 4 virtual Machines, Usage is showing as below
Ports Used: 4
Ports Free: 0
Ports Capacity:4
Port capacity is showing as 4 because i have connected 4 powered on virtual machines. If i add another 10 powered on virtual machines, then my port capacity will be increased to total of  14 ports (10 for newly added VM’s and 4 for existing VM’s)
Thats’s it. I believe this is informative for you. Thanks for Reading!!!.

Comments

Popular posts from this blog

Quick Guide to VCF Automation for VCD Administrators

  Quick Guide to VCF Automation for VCD Administrators VMware Cloud Foundation 9 (VCF 9) has been  released  and with it comes brand new Cloud Management Platform –  VCF Automation (VCFA)  which supercedes both Aria Automation and VMware Cloud Director (VCD). This blog post is intended for those people that know VCD quite well and want to understand how is VCFA similar or different to help them quickly orient in the new direction. It should be emphasized that VCFA is a new solution and not just rebranding of an old one. However it reuses a lot of components from its predecessors. The provider part of VCFA called Tenenat Manager is based on VCD code and the UI and APIs will be familiar to VCD admins, while the tenant part inherist a lot from Aria Automation and especially for VCD end-users will look brand new. Deployment and Architecture VCFA is generaly deployed from VCF Operations Fleet Management (former Aria Suite LCM embeded in VCF Ops. Fleet Management...
  Issue with Aria Automation Custom form Multi Value Picker and Data Grid https://knowledge.broadcom.com/external/article?articleNumber=345960 Products VMware Aria Suite Issue/Introduction Symptoms: Getting  error " Expected Type String but was Object ", w hen trying to use Complex Types in MultiValue Picker on the Aria for Automation Custom Form. Environment VMware vRealize Automation 8.x Cause This issue has been identified where the problem appears when a single column Multi Value Picker or Data Grid is used. Resolution This is a known issue. There is a workaround.  Workaround: As a workaround, try adding one empty column in the Multivalue picker without filling the options. So we can add one more column without filling the value which will be hidden(there is a button in the designer page that will hide the column). This way the end user will receive the same view.  
  "Cloud zone insights not available yet, please check after some time" message on Aria Automation https://knowledge.broadcom.com/external/article?articleNumber=314894 Products VMware Aria Suite Issue/Introduction Symptoms: The certificate for Aria operations has been replaced since it was initially added to Aria Automation as an integration. When accessing the Insights pane under  Cloud Assembly  ->  Infrastructure  ->  Cloud Zone  ->  Insights  the following message is displayed:   "Cloud zone insights not available yet, please check after some time." The  /var/log/services-logs/prelude/hcmp-service-app/file-logs/hcmp-service-app.log  file contains ssl errors similar to:   2022-08-25T20:06:43.989Z ERROR hcmp-service [host='hcmp-service-app-xxxxxxx-xxxx' thread='Thread-56' user='' org='<org_id>' trace='<trace_id>' parent='<parent_id>' span='<span_id>'] c.v.a.h.a.common.AlertEnu...