[ https://issues.apache.org/jira/browse/CLOUDSTACK-9184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182254#comment-15182254 ]
ASF GitHub Bot commented on CLOUDSTACK-9184: -------------------------------------------- Github user GabrielBrascher commented on the pull request: https://github.com/apache/cloudstack/pull/1253#issuecomment-192951641 @sureshanaparti Although it might be a bit tricky, I believe that the ideal solution would be to check for the hypervisor version; if it is 4.1/4.0 then the default value of 8 is changed to 256 (or any recommended amount for the given version). This way does not rely on admin to manually configure it (the idea would be to consider the global configuration if the admin set it, would just change a default value). I checked and maybe a method for check the hypervisor version and set the **_portsPerDvPortGroup** could be called by **com.cloud.hypervisor.vmware.manager.VmwareManagerImpl.addHostToPodCluster(VmwareContext, long, Long, Long, String)**. This method would search a host using the clusterId (**com.cloud.host.dao.HostDaoImpl.findByClusterId(Long)**); with the given HostVO it verifies the hypervisor version (**com.cloud.host.HostVO.getHypervisorVersion()**) to set the default value according this version. Thanks. > [VMware] vmware.ports.per.dvportgroup global setting is not useful from > vCenter 5.0 onwards > ------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9184 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9184 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server, VMware > Affects Versions: 4.5.2 > Reporter: Suresh Kumar Anaparti > Assignee: Suresh Kumar Anaparti > > CloudStack has a global config paramter vmware.ports.per.dvportgroup for > setting the number of ports per dvportgroup of Distributed Virtual Switch > (DVS) and this takes effect when the zone is created. > Auto expand/shrink features adjusts the ports per dvportgroup value > dynamically from ESX 5.0 release. So, even if we set this global setting, > auto expand will take effect and the value configured at cloudstack is not > useful anymore. -- This message was sent by Atlassian JIRA (v6.3.4#6332)