If you see an Error such as:
Unable to deploy virtual machines in resource pool "LBM4".
- Error deploying configuration networks.
- dvs.VmwareDistributedVirtualSwitch.addPortgroups task on AddDVPortgroup_Task failed: fault.LimitExceeded.summary
- The numPorts value : 8215 in spec exceeded maxPorts 8192.
- dvs.VmwareDistributedVirtualSwitch.addPortgroups task on AddDVPortgroup_Task failed: fault.LimitExceeded.summary
Even though the vDS (VMware Distributed Switch) maximum went up from 4,096 to 20,000 in vSphere 4.1, the vDS won’t be able to go over 8192 unless you manually modify the vDS. You would have already upgraded the vDS from a 4.0 to a 4.1 to have a number this high.
Here is the VMware KB that tells you how to manually increase the size of your vDS