PowerCLI

 View Only
Expand all | Collapse all

Assign vminc to Specific Uplink on VDS

  • 1.  Assign vminc to Specific Uplink on VDS

    Posted Nov 19, 2017 01:08 PM

    Hi All,

    I have requirement to assign vminic1 to Uplink 2 on my VDS.. vminic0 is assigned to VSS vSwitch0 and before migrating VMkernels to the VDS (via Powershell) I need to have an active Uplink on it. When assigning the vminc1 to the VDS it defaults to Uplink 1 is there anyway to specify Uplink 2.

    My current work around in my script is to add the vminc1 to VSS, set active Nic Team as active for both vmnics then move vmnic0 to VDS?



  • 2.  RE: Assign vminc to Specific Uplink on VDS

    Posted Nov 19, 2017 03:51 PM

    Try like this

    $esxName = 'MyEsx'

    $vdsName = 'MyVds'

    $pnicName = 'vmnic1'

    $uplinkName = 'Uplink 2'

    $esx = Get-VMHost -Name $esxName

    $vds = Get-VDSwitch -Name $vdsName -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | where {$_.ProxyHost -like $esxName}

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

    $pnic.PnicDevice = $pnicName

    $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq $uplinkName} | Select -ExpandProperty Key

    $proxy.Spec.Backing.PnicSpec += $pnic

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)



  • 3.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 11:59 AM

    I am able to specify a vmnic to dvUplink successfully but I can only get it to apply to one port. Using the following script:

    foreach ($VMHost in $VMHosts) {
    Write-Host "Adding $VMHost vmnic0 to" $vds -ForegroundColor Yellow
    $vmhostNetworkAdapter0 = Get-VMHost $VMHost | Get-VMHostNetworkAdapter -Physical -Name vmnic0
    $vds | Add-VDSwitchPhysicalNetworkAdapter -VMHostNetworkAdapter $vmhostNetworkAdapter0 -Confirm:$false
    #
    $esxihost = Get-VMHost -name $VMHost
    $pnicName = 'vmnic0'
    $uplinkName = 'dvUplink0'
    $vDS = Get-VDSwitch -Name $siteID-VDS -VMHost $VMHost
    $uplinks = Get-VDPort -VDSwitch $vDS -Uplink | where {$_.ProxyHost -like $esxihost}
    $netSys = Get-View -Id $esxihost.ExtensionData.ConfigManager.NetworkSystem
    $config = New-Object VMware.Vim.HostNetworkConfig
    $proxy = New-Object VMware.Vim.HostProxySwitchConfig
    $proxy.Uuid = $vDS.ExtensionData.Uuid
    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit
    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec
    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking
    $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec
    $pnic.PnicDevice = $pnicName
    $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq $uplinkName} | Select -ExpandProperty Key
    $proxy.Spec.Backing.PnicSpec += $pnic
    $config.ProxySwitch += $proxy
    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)
    }

    foreach ($VMHost in $VMHosts) {
    Write-Host "Adding $VMHost vmnic4 to" $vds -ForegroundColor Yellow
    $vmhostNetworkAdapter4 = Get-VMHost $VMHost | Get-VMHostNetworkAdapter -Physical -Name vmnic4
    $vds | Add-VDSwitchPhysicalNetworkAdapter -VMHostNetworkAdapter $vmhostNetworkAdapter4 -Confirm:$false
    #
    $esxihost = Get-VMHost -name $VMHost
    $pnicName = 'vmnic4'
    $uplinkName = 'dvUplink4'
    $vDS = Get-VDSwitch -Name $siteID-VDS -VMHost $VMHost
    $uplinks = Get-VDPort -VDSwitch $vDS -Uplink | where {$_.ProxyHost -like $esxihost}
    $netSys = Get-View -Id $esxihost.ExtensionData.ConfigManager.NetworkSystem
    $config = New-Object VMware.Vim.HostNetworkConfig
    $proxy = New-Object VMware.Vim.HostProxySwitchConfig
    $proxy.Uuid = $vDS.ExtensionData.Uuid
    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit
    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec
    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking
    $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec
    $pnic.PnicDevice = $pnicName
    $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq $uplinkName} | Select -ExpandProperty Key
    $proxy.Spec.Backing.PnicSpec += $pnic
    $config.ProxySwitch += $proxy
    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)
    }

    It applies vmnic4 to dvUplink4 but not vmnic0 to dvUplink0. Anyone have any suggestions?



  • 4.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 12:52 PM

    Just out of interest is vmnic0 already assigned to a switch before running the script?



  • 5.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 12:55 PM

    No. I was hoping this would add it and at the same time map to the correct dvUplink but for some reason (I suck at scripting) it only maps vmnic4.



  • 6.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 12:57 PM

    So what vmnic is your esxi host management traffic running on?



  • 7.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 01:08 PM

    The hosts have 6 nics that are setup as trunk ports on the switch. The goal is to add the hosts to the vds, assign vmnic0 to the correct dvUplink, migrate the management vmkernel to the vds and then assign all over vmnics to their correct dvUplinks.



  • 8.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 01:05 PM

    Try with the following.

    It assumes that you have corresponding uplinks and vmnics.

    In other words, if you have dvUplink1, dvUplink2 and dvUplink3, you should have vmnic1,vmnic2 and vmnic3.

    If you desire other mapping between the uplink numbers and the vmnic numbers, the script needs to be changed.

    $esxName = 'MyEsx'

    $vdsName = 'MyVds'

    $esx = Get-VMHost -Name $esxName

    $vds = Get-VDSwitch -Name $vdsName -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | where {$_.ProxyHost -like $esxName}

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    1..$vds.NumUplinkPorts | %{

        $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

        $pnic.PnicDevice = "vmnic$($_)"

        $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq "dvUplink$($_)"} | Select -ExpandProperty Key

        $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)

     



  • 9.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 01:10 PM

    Thanks LucD. I will give it a try this morning.



  • 10.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 01:12 PM

    In the current form, the script will assign vmnic1 to dvUplink1, and so on.

    Looks like you want vmnic0 assigned to dvUplink1, and so on, is that correct?



  • 11.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 01:18 PM

    We have renamed the dvUplinks to dvUplink0, dvUplink1, dvUplink4, dvUplink5, dvUplink6 and dvUplink8. We want to map vmnic0 to dvUplink0, vmnic1 to dvUplink1, vmnic4 to dvUplink4, vmnic5 to dvUplink5, vmnic6 to dvUplink6 and vmnic8 to dvUplink8.



  • 12.  RE: Assign vminc to Specific Uplink on VDS

    Posted Dec 13, 2017 01:20 PM

    Then this

    1..$vds.NumUplinkPorts | %{

    should become this

    0..($vds.NumUplinkPorts - 1) | %{



  • 13.  RE: Assign vminc to Specific Uplink on VDS

    Posted Sep 29, 2018 03:15 PM

    Thank you LucD for the script. I have followed your scripts and succesfully migrated vSS to vDS but Storage pNic's numbering should be assigned in specific order in our environment. Here is the correct format required in our environment  dvUplink1 = vmnic0 , dvuplink2 =vminc1, dvuplink3=vmic2, and so so on. I tried the below script but its throwing an error message. Sorry I'm fairly new to PowerCli and I want to learn and implement automation in my environment. Here is the error messege for the below script. Any help is much appreciated.

    # ------------------------------------------------------------------------------------------------------------------
    # PowerCLI script to assign uplinks to vmics
    #
    # ------------------------------------------------------------------------------------------------------------------
     
    Connect-VIServer -Server MYvcenter -User administrator@vsphere.local -Pass MYPassw0rd

    # Add ESXi host to VDS
    $vds_name = "Production vDS"
    $vds = Get-VDSwitch $vds_name
    $vmhost = "esxi6.7"

    $esx = Get-VMHost -Name $vmhost

    $vds = Get-VDSwitch -Name $vds_name -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | where {$_.ProxyHost -like $vmhost}

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    1..$vds.NumUplinkPorts | %{

        $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

        $pnic.PnicDevice = "vmnic$($_)"

        $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq "dvUplink$($_)"} | Select -ExpandProperty Key

        $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)



  • 14.  RE: Assign vminc to Specific Uplink on VDS

    Posted Sep 29, 2018 06:31 PM

    Can you try by changing the line to

    $pnic.PnicDevice = "vmnic$($_ - 1)"



  • 15.  RE: Assign vminc to Specific Uplink on VDS

    Posted Sep 29, 2018 08:34 PM

    Hi Lucd

    Please have a look at the error message. Am I missing something in the script. Many thanks for your help.



  • 16.  RE: Assign vminc to Specific Uplink on VDS

    Posted Sep 30, 2018 10:09 AM

    The problem is with the use of the $_ variable in creating the name of the uplink for retrieving the uplink key.
    Also, in my setup the uplink ports (in vSphere 6.7 are named Uplink 1, Uplink 2...)

    Try like this

    Connect-VIServer -Server MYvcenter -User administrator@vsphere.local -Pass MYPassw0rd

    # Add ESXi host to VDS

    $vds_name = "Production vDS"

    $vds = Get-VDSwitch $vds_name

    $vmhost = "esxi6.7"

    $esx = Get-VMHost -Name $vmhost

    $vds = Get-VDSwitch -Name $vds_name -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | where {$_.ProxyHost -like $vmhost}

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    for ($i = 1; $i -le $vds.NumUplinkPorts; $i++) {

      $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

      $pnic.PnicDevice = "vmnic$($i - 1)"

      $pnic.UplinkPortKey = $uplinks | where {$_.Name -eq "Uplink $i"} | Select -ExpandProperty Key

      $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config, [VMware.Vim.HostConfigChangeMode]::modify)



  • 17.  RE: Assign vminc to Specific Uplink on VDS

    Posted Sep 30, 2018 08:08 PM

    Perfect!. Thanks a lot LucD. Below is my script which fixed the issue

    # Add ESXi host to VDS

    $vds_name = "Production vDS"

    $vds = Get-VDSwitch $vds_name

    $vmhost = "esxi6.7"

    $esx = Get-VMHost -Name $vmhost

    $vds = Get-VDSwitch -Name $vds_name -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | where {$_.ProxyHost -like $vmhost}

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    for ($i = 1; $i -le $vds.NumUplinkPorts; $i++) {

      $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

      $pnic.PnicDevice = "vmnic$($i - 1)"

      $pnic.UplinkPortKey = $uplinks | where {$_.Name -eq "dvUplink $i"} | Select -ExpandProperty Key

      $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config, [VMware.Vim.HostConfigChangeMode]::modify)



  • 18.  RE: Assign vminc to Specific Uplink on VDS

    Posted Feb 06, 2018 06:58 AM

    Very new to PowerCLI but working on automating adding and configuring a new host to Vcenter.  The only piece missing in my script is the  assignment of the host's physical vmnic to my vdswitch uplinks in the same numerical order vmnic0  to vdUplink0, vmnic1 to vdUplink1, ....etc

    Would LucD's code below allow me to do this?

    $esxName = 'MyEsx'

    $vdsName = 'MyVds'

    $esx = Get-VMHost -Name $esxName

    $vds = Get-VDSwitch -Name $vdsName -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | where {$_.ProxyHost -like $esxName}

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    0..($vds.NumUplinkPorts -1) | %{

        $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

        $pnic.PnicDevice = "vmnic$($_)"

        $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq "dvUplink$($_)"} | Select -ExpandProperty Key

        $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)

    Thank you so much for your help!



  • 19.  RE: Assign vminc to Specific Uplink on VDS

    Posted Feb 06, 2018 07:38 AM

    You might want to review your ForEach loop (0..($vds.NumUplinkPorts -1) | %{), vmnic and Uplinks are not zero-based but start at 1.



  • 20.  RE: Assign vminc to Specific Uplink on VDS

    Posted Feb 07, 2018 04:55 PM

    Hi Luc,

    Below is the desired association between the Host Physical Network Adapters and the Uplinks.  How should the ForEach loop be modified to achieve this?



  • 21.  RE: Assign vminc to Specific Uplink on VDS

    Posted Feb 07, 2018 05:12 PM

    Try something like this

    $esxName = 'MyEsx'

    $vdsName = 'MyVds'

    $upLinkNames = '0-VMK-VSPHERE-A','1-VMK-VSPHERE-B','2-VMK-ISCSI-A','3-VMK-ISCSI-B',

        '4-VMK-VMOTION-A','5-VMK-VMOTION-B','6-VMK-TRUNK-A','7-VMK-TRUNK-B'

    $esx = Get-VMHost -Name $esxName

    $vds = Get-VDSwitch -Name $vdsName -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | where {$_.ProxyHost -like $esxName}

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    for($i=0;$i -lt $vds.NumUplinkPorts;$i++){

        $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

        $pnic.PnicDevice = "vmnic$($_)"

        $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq $upLinkNames[$i]} | Select -ExpandProperty Key

        $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)



  • 22.  RE: Assign vminc to Specific Uplink on VDS

    Posted Feb 08, 2018 01:01 AM

    Thank you for your quick reply and help with this!!!  Will give this a shot.



  • 23.  RE: Assign vminc to Specific Uplink on VDS

    Posted May 31, 2018 03:58 PM

    Hey all, hopefully I'll be able to get some help here.

    I'm having some problems adapting this code to work.  My scenario is that I have a host that is connected to a VSS, and I need to move uplinks to a VDS, attaching them to LAG uplinks, and moving vmk0 in one shot.

    I get an invalid argument error when I try to use the modeled code, adapted for my environment.  My vmk0 move code is also not working, it reports an error about port group not found:

    Exception calling "UpdateNetworkConfig" with "2" argument(s): "

    Required property portgroup is missing from data object of type HostVirtualNicConfig

    while parsing serialized DataObject of type vim.host.VirtualNic.Config

    at line 1, column 666

    while parsing property "vnic" of static type ArrayOfHostVirtualNicConfig

    while parsing serialized DataObject of type vim.host.NetworkConfig

    at line 1, column 269

    while parsing call information for method UpdateNetworkConfig

    at line 1, column 171

    while parsing SOAP body

    at line 1, column 64

    while parsing SOAP envelope

    at line 1, column 0

    while parsing HTTP request for method updateNetworkConfig

    on object of type vim.host.NetworkSystem

    at line 1, column 0"

    At line:36 char:13

    +             $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfi ...

    +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : VimException

    Add pnics to LAG:

    Exception calling "UpdateNetworkConfig" with "2" argument(s): "A specified parameter was not correct: "

    At line:1 char:2

    +  $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode ...

    +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : VimException

    hostd:

    2018-05-31T15:29:11.651Z info hostd[D440B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=4a3e04b1-b464 user=vpxuser:vpxuser] Event 81945 : Reconfigured ports in the vS                                                                     phere Distributed Switch  in ha-datacenter.

    -->

    --> Ports changed 1249, 1250.

    -->

    --> Changes are

    2018-05-31T15:29:11.651Z info hostd[D440B70] [Originator@6876 sub=Vimsvc.TaskManager opID=4a3e04b1-b464 user=vpxuser:vpxuser] Task Completed : haTask-ha-host-vim.host.N                                                                     etworkSystem.commitTransaction-167323790 Status success

    2018-05-31T15:29:11.651Z info hostd[D0C1B70] [Originator@6876 sub=Hostsvc.DvsTracker] HandleDvsUpdate called

    2018-05-31T15:29:11.651Z verbose hostd[D440B70] [Originator@6876 sub=PropertyProvider opID=4a3e04b1-b464 user=vpxuser:vpxuser] RecordOp ASSIGN: info, haTask-ha-host-vim                                                                     .host.NetworkSystem.commitTransaction-167323790. Applied change to temp map.

    2018-05-31T15:29:11.654Z verbose hostd[D440B70] [Originator@6876 sub=PropertyProvider opID=5782b466 user=vpxuser] RecordOp ASSIGN: info, haTask--vim.event.EventHistoryC                                                                     ollector.readNext-167323791. Applied change to temp map.

    2018-05-31T15:29:11.654Z verbose hostd[D440B70] [Originator@6876 sub=PropertyProvider opID=5782b466 user=vpxuser] RecordOp ASSIGN: info, haTask--vim.event.EventHistoryC                                                                     ollector.readNext-167323791. Applied change to temp map.

    2018-05-31T15:29:11.656Z verbose hostd[DF40B70] [Originator@6876 sub=PropertyProvider opID=5782b467 user=vpxuser] RecordOp ASSIGN: info, haTask--vim.event.EventHistoryC                                                                     ollector.readNext-167323792. Applied change to temp map.

    2018-05-31T15:29:11.656Z verbose hostd[DF40B70] [Originator@6876 sub=PropertyProvider opID=5782b467 user=vpxuser] RecordOp ASSIGN: info, haTask--vim.event.EventHistoryC                                                                     ollector.readNext-167323792. Applied change to temp map.

    2018-05-31T15:29:11.656Z info hostd[ABABB70] [Originator@6876 sub=Vimsvc.TaskManager opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Task Created : haTask-ha-host-vim.host.                                                                     NetworkSystem.invokeHostTransactionCall-167323793

    2018-05-31T15:29:11.656Z verbose hostd[ABABB70] [Originator@6876 sub=PropertyProvider opID=3c093e25-7a-b468 user=vpxuser:vpxuser] RecordOp ADD: recentTask["haTask-ha-ho                                                                     st-vim.host.NetworkSystem.invokeHostTransactionCall-167323793"], ha-host. Sent notification immediately.

    2018-05-31T15:29:11.656Z verbose hostd[ABABB70] [Originator@6876 sub=PropertyProvider opID=3c093e25-7a-b468 user=vpxuser:vpxuser] RecordOp ADD: recentTask["haTask-ha-ho                                                                     st-vim.host.NetworkSystem.invokeHostTransactionCall-167323793"], ha-taskmgr. Applied change to temp map.

    2018-05-31T15:29:11.656Z verbose hostd[DF40B70] [Originator@6876 sub=PropertyProvider opID=3c093e25-7a-b468 user=vpxuser:vpxuser] RecordOp ASSIGN: info, haTask-ha-host-                                                                     vim.host.NetworkSystem.invokeHostTransactionCall-167323793. Applied change to temp map.

    2018-05-31T15:29:11.666Z info hostd[DF40B70] [Originator@6876 sub=Hostsvc.NetworkVmkSimulator opID=3c093e25-7a-b468 user=vpxuser:vpxuser] DvsAddNic:  pnic vmnic4 not fr                                                                     ee

    2018-05-31T15:29:11.666Z info hostd[DF40B70] [Originator@6876 sub=Hostsvc opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Simulate failed

    2018-05-31T15:29:11.667Z info hostd[DF40B70] [Originator@6876 sub=Default opID=3c093e25-7a-b468 user=vpxuser:vpxuser] AdapterServer caught exception: vmodl.fault.Invali                                                                     dArgument

    2018-05-31T15:29:11.667Z info hostd[DF40B70] [Originator@6876 sub=Vimsvc.TaskManager opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Task Completed : haTask-ha-host-vim.hos                                                                     t.NetworkSystem.invokeHostTransactionCall-167323793 Status error

    2018-05-31T15:29:11.667Z verbose hostd[DF40B70] [Originator@6876 sub=PropertyProvider opID=3c093e25-7a-b468 user=vpxuser:vpxuser] RecordOp ASSIGN: info, haTask-ha-host-                                                                     vim.host.NetworkSystem.invokeHostTransactionCall-167323793. Applied change to temp map.

    2018-05-31T15:29:11.667Z info hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Activation [N5Vmomi10ActivationE:0x0cc75b30] :                                                                      Invoke done [invokeHostTransactionCall] on [vim.host.NetworkSystem:networkSystem]

    2018-05-31T15:29:11.667Z verbose hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Arg transactionId:

    --> "4185"

    2018-05-31T15:29:11.667Z verbose hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Arg timeout:

    --> 120

    2018-05-31T15:29:11.667Z verbose hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Arg methodName:

    --> "updateNetworkConfig"

    2018-05-31T15:29:11.667Z verbose hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Arg param1:

    --> (vim.host.NetworkConfig) {

    -->    vswitch = <unset>,

    -->    proxySwitch = (vim.host.HostProxySwitch.Config) [

    -->       (vim.host.HostProxySwitch.Config) {

    -->          changeOperation = "edit",

    -->          uuid = "50 35 33 10 2a 58 c8 fe-e8 89 36 99 d2 31 93 de",

    -->          spec = (vim.host.HostProxySwitch.Specification) {

    -->             backing = (vim.dvs.HostMember.PnicBacking) {

    -->                pnicSpec = (vim.dvs.HostMember.PnicSpec) [

    -->                   (vim.dvs.HostMember.PnicSpec) {

    -->                      pnicDevice = "vmnic4",

    -->                      uplinkPortKey = "1249",

    -->                      uplinkPortgroupKey = "dvportgroup-331024",

    -->                      connectionCookie = 554886514

    -->                   },

    -->                   (vim.dvs.HostMember.PnicSpec) {

    -->                      pnicDevice = "vmnic5",

    -->                      uplinkPortKey = "1250",

    -->                      uplinkPortgroupKey = "dvportgroup-331024",

    -->                      connectionCookie = 554888430

    -->                   }

    -->                ]

    -->             }

    -->          }

    -->       }

    -->    ],

    -->    portgroup = <unset>,

    -->    pnic = <unset>,

    -->    vnic = <unset>,

    -->    consoleVnic = <unset>,

    -->    dnsConfig = (vim.host.DnsConfig) null,

    -->    ipRouteConfig = (vim.host.IpRouteConfig) null,

    -->    consoleIpRouteConfig = (vim.host.IpRouteConfig) null,

    -->    routeTableConfig = (vim.host.IpRouteTableConfig) null,

    -->    dhcp = <unset>,

    -->    nat = <unset>,

    -->    ipV6Enabled = <unset>,

    -->    netStackSpec = <unset>

    --> }

    2018-05-31T15:29:11.667Z verbose hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Arg param2:

    --> "modify"

    2018-05-31T15:29:11.667Z verbose hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Arg param3:

    --> (null)

    2018-05-31T15:29:11.667Z verbose hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Arg param4:

    --> (null)

    2018-05-31T15:29:11.667Z info hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Throw vmodl.fault.InvalidArgument

    2018-05-31T15:29:11.667Z info hostd[DF40B70] [Originator@6876 sub=Solo.Vmomi opID=3c093e25-7a-b468 user=vpxuser:vpxuser] Result:

    --> (vmodl.fault.InvalidArgument) {

    -->    faultCause = (vmodl.MethodFault) null,

    -->    faultMessage = <unset>,

    -->    invalidProperty = <unset>

    -->    msg = ""

    --> }

    Code:

    $pnics = (Get-VMHostNetworkAdapter -VMHost $vmhost | where {$_.Name.StartsWith("vmnic")}) | where {$_.ExtensionData.LinkSpeed.SpeedMb -eq 10000}

                $uplinks = Get-VDPort -VDSwitch $myVDSObj -Uplink | where {$_.ProxyHost -like $vmhost.name} | where {$_.name.StartsWith("lag1")}

                $netsys = Get-View -Id $vmhost.ExtensionData.ConfigManager.NetworkSystem

                $config = New-Object VMware.Vim.HostNetworkConfig

                $proxy = New-Object VMware.Vim.HostProxySwitchConfig

                $proxy.Uuid = $myVDSObj.ExtensionData.Uuid

                $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

                $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

                $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

               

                for ($i=0; $i -lt $myVDSObj.NumUplinkPorts;$i++)

                {

                    $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

                    $pnic.PnicDevice = $pnics[$i].name

                    $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq "lag1-$i"} | Select -ExpandProperty Key

                    Write-host $pnic.UplinkPortgroupKey

                    $proxy.Spec.Backing.PnicSpec += $pnic

                }

                #time for another beer

                #stage the migration of vmk0

                $vnicConfig = new-object VMware.Vim.HostVirtualNicConfig

                $vnicConfig.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

                $vnicConfig.Device = "vmk0"

                $vnicConfig.Spec = New-Object VMware.Vim.HostVirtualNicSpec

                $vnicConfig.Spec.Portgroup = "Management Network"

                $vnicconfig.Spec.DistributedVirtualPort = New-Object VMware.Vim.DistributedVirtualSwitchPortConnection

                $vnicConfig.Spec.DistributedVirtualPort.SwitchUuid = $myVDSObj.ExtensionData.Uuid

                $vnicConfig.Spec.DistributedVirtualPort.PortgroupKey = $hostmgmtPG.Key

                $config.ProxySwitch += $proxy

               # $config.vnic += $vnicConfig

                $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)

    Exception calling "UpdateNetworkConfig" with "2" argument(s): "A specified parameter was not correct: "At line:1 char:2+  $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode ...+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException    + FullyQualifiedErrorId : VimException



  • 24.  RE: Assign vminc to Specific Uplink on VDS

    Posted May 31, 2018 04:06 PM

    The problem seems to be "pnic vmnic4 not free".
    I would need a bit more info on the current config of the switches, vmnics and pnics to further analyse.



  • 25.  RE: Assign vminc to Specific Uplink on VDS

    Posted May 31, 2018 04:08 PM

    vmnic4 and 5 are both bound to a vSwitch0 and are providing the basic network connectivity after build.

    Do i need to incorporate a spec that removes the bind from vSwitch0 as part of this?


    Editing to add more context.

    When the systems are built, all vmnics are tossed into vSwitch 0, but only x10 GB nics are actually cabled.  The switch is configured with the two ports of the host in LACP, with failback mode enabled (i.e. if the switch does not receive LACP patches, it disables LACP)

    The desired end state is that the hosts end up with on the VDS, uplinked to LAG1-0/1 so that it begins transmitting LACP packets, additionally we have to toss vmk0 along for the ride so that the host remains accessible.

    We are able to do this in this in one shot in the web client with a sufficiently large network rollback timeout.



  • 26.  RE: Assign vminc to Specific Uplink on VDS

    Posted May 31, 2018 04:59 PM

    Thanks to your help and a little bit of poking around I got it working.

    Things I discovered:

    networkconfig.vswitch.bridge.nicdevice appears to require something, otherwise it throws an error

    networkconfig.vnic.portgroup, despite being ignored when you connect to a VDS, requires a value.

    Working (n=1) code:

                #HOLD MY BEER

                #stage the changes to assign the active vmnic interfaces to the appropriate lag uplinks

              

                $vdswitchVMhostresult = Add-VDSwitchVMHost -VDSwitch $myVDSObj -VMHost $vmhost

               

                $pnics = (Get-VMHostNetworkAdapter -VMHost $vmhost | where {$_.Name.StartsWith("vmnic")}) | where {$_.ExtensionData.LinkSpeed.SpeedMb -eq 10000}

                $unCabledpnics = (Get-VMHostNetworkAdapter -VMHost $vmhost | where {$_.Name.StartsWith("vmnic")}) | where {$_.ExtensionData.LinkSpeed.SpeedMb -eq $NULL}

                $uplinks = Get-VDPort -VDSwitch $myVDSObj -Uplink | where {$_.ProxyHost -like $vmhost.name} | where {$_.name.StartsWith("lag1")}

                $netsys = Get-View -Id $vmhost.ExtensionData.ConfigManager.NetworkSystem

                $config = New-Object VMware.Vim.HostNetworkConfig

                $proxy = New-Object VMware.Vim.HostProxySwitchConfig

                $proxy.Uuid = $myVDSObj.ExtensionData.Uuid

                $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

                $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

                $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

             

                for ($i=0; $i -lt $myVDSObj.NumUplinkPorts;$i++)

                {

                    $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

                    $pnic.PnicDevice = $pnics[$i].name

                    $pnic.UplinkPortKey = $uplinks | where{$_.Name -eq "lag1-$i"} | Select -ExpandProperty Key

                    $proxy.Spec.Backing.PnicSpec += $pnic

                }

                $vswitch = new-object VMware.Vim.HostVirtualSwitchConfig

                $vswitch.name = "vSwitch0"

                $vswitch.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

                $vswitch.Spec = New-Object VMware.Vim.HostVirtualSwitchSpec

                $vswitch.Spec.Bridge = New-Object VMware.Vim.HostVirtualSwitchBondBridge

                $vswitch.Spec.NumPorts = 128

                $vswitch.Spec.Bridge.NicDevice = $unCabledpnics[0].name

                #time for another beer

                #stage the migration of vmk0

                $vnicConfig = new-object VMware.Vim.HostVirtualNicConfig

                $vnicConfig.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

                $vnicConfig.Device = "vmk0"

                $vnicConfig.Spec = New-Object VMware.Vim.HostVirtualNicSpec

                $vnicConfig.Portgroup = "Management Network"

                $vnicconfig.Spec.DistributedVirtualPort = New-Object VMware.Vim.DistributedVirtualSwitchPortConnection

                $vnicConfig.Spec.DistributedVirtualPort.SwitchUuid = $myVDSObj.ExtensionData.Uuid

                $vnicConfig.Spec.DistributedVirtualPort.PortgroupKey = $hostmgmtPG.Key

                $config.ProxySwitch += $proxy

                $config.Vswitch += $vswitch

                $config.vnic += $vnicConfig

                $netSys.UpdateNetworkConfig($config,"modify")

                #That was worth more then two beers



  • 27.  RE: Assign vminc to Specific Uplink on VDS

    Posted Apr 09, 2020 09:05 PM

    Hi LucD

    Thank you for your scrips.

    I used this script two times. every time with different vmnic.

    My problem, please look at the attachment.

    Thank you again for your answer.



  • 28.  RE: Assign vminc to Specific Uplink on VDS

    Posted Apr 09, 2020 09:14 PM

    You have to repeat the existing Uplinks in the call, otherwise the setting will be overwritten.



  • 29.  RE: Assign vminc to Specific Uplink on VDS

    Posted Apr 09, 2020 09:19 PM

    Thank you LucD.



  • 30.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 23, 2020 03:36 PM

    hi lucd can you check if you can see why it doesn't work for me I tried out snippets of your code and santana and i'm still getting the invalid arguments error:

    Exception calling "UpdateNetworkConfig" with "2" argument(s): "A specified parameter was not correct: "

    At line:1 char:1

    + $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode] ...

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : VimException

    here is my config variable

    class HostNetworkConfig

    {

      Vswitch =

      ProxySwitch =

        [

          class HostProxySwitchConfig

          {

            ChangeOperation = edit

            Uuid = 50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26

            Spec =

              class HostProxySwitchSpec

              {

                Backing =

                  class DistributedVirtualSwitchHostMemberPnicBacking

                  {

                    PnicSpec =

                      [

                        class DistributedVirtualSwitchHostMemberPnicSpec

                        {

                          PnicDevice = vmnic0

                          UplinkPortKey = 1757

                          UplinkPortgroupKey =

                          ConnectionCookie =

                        }

                        class DistributedVirtualSwitchHostMemberPnicSpec

                        {

                          PnicDevice = vmnic1

                          UplinkPortKey = 1758

                          UplinkPortgroupKey =

                          ConnectionCookie =

                        }

                      ]

                     

                  }

              }

          }

        ]

       

      Portgroup =

      Pnic =

      Vnic =

        [

          class HostVirtualNicConfig

          {

            ChangeOperation = edit

            Device = vmk0

            Portgroup = MGMT-612

            Spec =

              class HostVirtualNicSpec

              {

                Ip =

                Mac =

                DistributedVirtualPort =

                  class DistributedVirtualSwitchPortConnection

                  {

                    SwitchUuid = 50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26

                    PortgroupKey = dvportgroup-92

                    PortKey =

                    ConnectionCookie =

                  }

                Portgroup =

                Mtu =

                TsoEnabled =

                NetStackInstanceKey =

                OpaqueNetwork =

                ExternalId =

                PinnedPnic =

                IpRouteSpec =

              }

          }

          class HostVirtualNicConfig

          {

            ChangeOperation = edit

            Device = vmk1

            Portgroup = Vmotion-611

            Spec =

              class HostVirtualNicSpec

              {

                Ip =

                Mac =

                DistributedVirtualPort =

                  class DistributedVirtualSwitchPortConnection

                  {

                    SwitchUuid = 50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26

                    PortgroupKey = dvportgroup-130

                    PortKey =

                    ConnectionCookie =

                  }

                Portgroup =

                Mtu =

                TsoEnabled =

                NetStackInstanceKey =

                OpaqueNetwork =

                ExternalId =

                PinnedPnic =

                IpRouteSpec =

              }

          }

          class HostVirtualNicConfig

          {

            ChangeOperation = edit

            Device = vmk2

            Portgroup = SF-ISCSI-A-108

            Spec =

              class HostVirtualNicSpec

              {

                Ip =

                Mac =

                DistributedVirtualPort =

                  class DistributedVirtualSwitchPortConnection

                  {

                    SwitchUuid = 50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26

                    PortgroupKey = dvportgroup-65

                    PortKey =

                    ConnectionCookie =

                  }

                Portgroup =

                Mtu =

                TsoEnabled =

                NetStackInstanceKey =

                OpaqueNetwork =

                ExternalId =

                PinnedPnic =

                IpRouteSpec =

              }

          }

          class HostVirtualNicConfig

          {

            ChangeOperation = edit

            Device = vmk3

            Portgroup = SF-ISCSI-B-108

            Spec =

              class HostVirtualNicSpec

              {

                Ip =

                Mac =

                DistributedVirtualPort =

                  class DistributedVirtualSwitchPortConnection

                  {

                    SwitchUuid = 50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26

                    PortgroupKey = dvportgroup-66

                    PortKey =

                    ConnectionCookie =

                  }

                Portgroup =

                Mtu =

                TsoEnabled =

                NetStackInstanceKey =

                OpaqueNetwork =

                ExternalId =

                PinnedPnic =

                IpRouteSpec =

              }

          }

          ...

        ]

       

      ConsoleVnic =

      DnsConfig =

      IpRouteConfig =

      ConsoleIpRouteConfig =

      RouteTableConfig =

      Dhcp =

      Nat =

      IpV6Enabled =

      NetStackSpec =

    }

    This is part of the hostd.log

    2020-07-23T14:56:07.445Z verbose hostd[2100559] [Originator@6876 sub=Solo.Vmomi opID=33136439-e7-e646 user=vpxuser:USCORP\KevinC] Arg param2:

    --> "modify"

    2020-07-23T14:56:07.445Z warning hostd[2100082] [Originator@6876 sub=Hostsvc.Tpm20Provider opID=d307e643] Unable to retrieve TPM/TXT status. TPM functionality will be unavailable. Failure reason: Unable to get node: Sysinfo error: Not foundSee VMkernel log for details..

    2020-07-23T14:56:07.445Z verbose hostd[2100559] [Originator@6876 sub=Solo.Vmomi opID=33136439-e7-e646 user=vpxuser:USCORP\KevinC] Arg param3:

    --> (null)

    2020-07-23T14:56:07.446Z verbose hostd[2100559] [Originator@6876 sub=Solo.Vmomi opID=33136439-e7-e646 user=vpxuser:USCORP\KevinC] Arg param4:

    --> (null)

    2020-07-23T14:56:07.446Z info hostd[2100559] [Originator@6876 sub=Solo.Vmomi opID=33136439-e7-e646 user=vpxuser:USCORP\KevinC] Throw vmodl.fault.InvalidArgument

    2020-07-23T14:56:07.446Z info hostd[2100559] [Originator@6876 sub=Solo.Vmomi opID=33136439-e7-e646 user=vpxuser:USCORP\KevinC] Result:

    --> (vmodl.fault.InvalidArgument) {

    -->    faultCause = (vmodl.MethodFault) null,

    -->    faultMessage = <unset>,

    -->    invalidProperty = <unset>

    -->    msg = ""

    --> }

    2020-07-23T14:56:07.451Z error hostd[2118008] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T14:56:07.459Z info hostd[2100082] [Originator@6876 sub=Libs opID=d307e643] IOFilterInfoImpl: Inbox-IOFilter Id: VMW_spm_1.0.0, localId: spm

    2020-07-23T14:56:07.460Z info hostd[2100082] [Originator@6876 sub=Libs opID=d307e643] IOFilterInfoImpl: Inbox-IOFilter Id: VMW_vmwarevmcrypt_1.0.0, localId: vmwarevmcrypt

    2020-07-23T14:56:07.460Z info hostd[2100082] [Originator@6876 sub=Libs opID=d307e643] PluginLdr_Load: Loaded plugin 'libvmiof-disk-spm.so' from '/usr/lib64/vmware/plugin/libvmiof-disk-spm.so'

    2020-07-23T14:56:07.461Z info hostd[2100082] [Originator@6876 sub=Libs opID=d307e643] PluginLdr_Load: Loaded plugin 'libvmiof-disk-vmwarevmcrypt.so' from '/usr/lib64/vmware/plugin/libvmiof-disk-vmwarevmcrypt.so'

    2020-07-23T14:56:12.334Z info hostd[2100559] [Originator@6876 sub=Libs opID=HB-host-126@336-4b6cdd92-11-e64d user=vpxuser] NetstackInstanceImpl: congestion control algorithm: newreno

    2020-07-23T14:56:12.337Z warning hostd[2100559] [Originator@6876 sub=Hostsvc.Tpm20Provider opID=HB-host-126@336-4b6cdd92-11-e64d user=vpxuser] Unable to retrieve TPM/TXT status. TPM functionality will be unavailable. Failure reason: Unable to get node: Sysinfo error: Not foundSee VMkernel log for details..

    2020-07-23T14:56:12.360Z info hostd[2100559] [Originator@6876 sub=Libs opID=HB-host-126@336-4b6cdd92-11-e64d user=vpxuser] Could not expand environment variable HOME.

    2020-07-23T14:56:12.363Z info hostd[2100559] [Originator@6876 sub=Libs opID=HB-host-126@336-4b6cdd92-11-e64d user=vpxuser] Could not expand environment variable HOME.

    2020-07-23T14:56:31.965Z error hostd[2118010] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T14:56:47.475Z info hostd[2100082] [Originator@6876 sub=Default] IPMI SEL sync took 0 seconds 0 sel records, last 1

    2020-07-23T14:56:47.475Z info hostd[2100586] [Originator@6876 sub=Libs opID=d307e64f] NetstackInstanceImpl: congestion control algorithm: newreno

    2020-07-23T14:57:31.969Z error hostd[2118011] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T14:58:22.295Z info hostd[2100565] [Originator@6876 sub=Default] IPMI SEL sync took 0 seconds 0 sel records, last 1

    2020-07-23T14:58:22.295Z info hostd[2100586] [Originator@6876 sub=Libs opID=d307e653] NetstackInstanceImpl: congestion control algorithm: newreno

    2020-07-23T14:58:31.973Z error hostd[2118012] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T14:59:31.976Z error hostd[2118013] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T14:59:57.118Z info hostd[2100081] [Originator@6876 sub=Default] IPMI SEL sync took 0 seconds 0 sel records, last 1

    2020-07-23T14:59:57.119Z info hostd[2100560] [Originator@6876 sub=Libs opID=d307e659] NetstackInstanceImpl: congestion control algorithm: newreno

    2020-07-23T15:00:31.981Z error hostd[2118024] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T15:01:31.948Z info hostd[2099947] [Originator@6876 sub=Default] IPMI SEL sync took 0 seconds 0 sel records, last 1

    2020-07-23T15:01:31.949Z info hostd[2100565] [Originator@6876 sub=Libs opID=d307e670] NetstackInstanceImpl: congestion control algorithm: newreno

    2020-07-23T15:01:31.985Z error hostd[2118173] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T15:02:31.988Z error hostd[2118174] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T15:03:06.760Z info hostd[2099946] [Originator@6876 sub=Default] IPMI SEL sync took 0 seconds 0 sel records, last 1

    2020-07-23T15:03:06.761Z info hostd[2100080] [Originator@6876 sub=Libs opID=d307e676] NetstackInstanceImpl: congestion control algorithm: newreno

    2020-07-23T15:03:31.993Z error hostd[2118175] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T15:04:24.018Z info hostd[2100080] [Originator@6876 sub=Libs opID=d307e681 user=vpxuser] SlowRefresh: path /vmfs/volumes/5f16ff4c-4f43fbd0-b114-004e011ecc38 total blocks 231928233984 used blocks 10234101760grow = 0

    2020-07-23T15:04:31.996Z error hostd[2118176] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T15:04:41.562Z info hostd[2100586] [Originator@6876 sub=Default] IPMI SEL sync took 0 seconds 0 sel records, last 1

    2020-07-23T15:04:41.562Z info hostd[2100082] [Originator@6876 sub=Libs opID=d307e682] NetstackInstanceImpl: congestion control algorithm: newreno

    2020-07-23T15:05:32.000Z error hostd[2118186] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T15:06:16.371Z info hostd[2100586] [Originator@6876 sub=Default] IPMI SEL sync took 0 seconds 0 sel records, last 1

    2020-07-23T15:06:16.371Z info hostd[2100350] [Originator@6876 sub=Libs opID=d307e693] NetstackInstanceImpl: congestion control algorithm: newreno

    2020-07-23T15:06:32.004Z error hostd[2118187] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    -->

    2020-07-23T15:07:32.008Z error hostd[2118188] [Originator@6876 sub=Default] [LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0):

    thanks



  • 31.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 23, 2020 04:00 PM

    Did you check the vpxd log on the VCSA?
    Normally there is more info in there.
    Eventually change the logging temporarily from 'info' to 'verbose'



  • 32.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 23, 2020 07:32 PM

    this is what the vpxd showed

    2020-07-23T19:29:03.127Z verbose vpxd[04919] [Originator@6876 sub=Default opID=sps-Main-522629-955-13] [VpxVmomi] Invoking [hasPrivilegeOnEntities] on [vim.AuthorizationManager:AuthorizationManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:03.127Z info vpxd[04919] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-13] [VpxLRO] -- BEGIN lro-3955343 -- AuthorizationManager -- vim.AuthorizationManager.hasPrivilegeOnEntities -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:03.127Z verbose vpxd[04919] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-13] Invoke done: vim.AuthorizationManager.hasPrivilegeOnEntities session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:03.128Z info vpxd[04919] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-13] [VpxLRO] -- FINISH lro-3955343

    2020-07-23T19:29:03.130Z verbose vpxd[04735] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501071-38] [VpxVmomi] Invoking [createContainerView] on [vim.view.ViewManager:ViewManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:03.130Z info vpxd[04735] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501071-38] [VpxLRO] -- BEGIN lro-3955344 -- ViewManager -- vim.view.ViewManager.createContainerView -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:03.131Z verbose vpxd[04735] [Originator@6876 sub=PropertyProvider opID=sps-Main-522629-955-W501071-38] RecordOp ASSIGN: view, session[523cf992-803f-720e-46de-924d7ddc151d]520f9f66-d78f-4e29-ae4e-492cb2ce4a23. Applied change to temp map.

    2020-07-23T19:29:03.131Z verbose vpxd[04735] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501071-38] Invoke done: vim.view.ViewManager.createContainerView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:03.131Z info vpxd[04735] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501071-38] [VpxLRO] -- FINISH lro-3955344

    2020-07-23T19:29:03.132Z verbose vpxd[04756] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501071-d9] [VpxVmomi] Invoking [GetView] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]520f9f66-d78f-4e29-ae4e-492cb2ce4a23] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:03.132Z verbose vpxd[04756] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501071-d9] Invoke done: vim.view.ManagedObjectView.GetView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:03.133Z verbose vpxd[04815] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501071-d] [VpxVmomi] Invoking [retrievePropertiesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:03.134Z verbose vpxd[04815] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501071-d] Invoke done: vmodl.query.PropertyCollector.retrievePropertiesEx session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:03.137Z verbose vpxd[04666] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501071-7c] [VpxVmomi] Invoking [destroy] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]520f9f66-d78f-4e29-ae4e-492cb2ce4a23] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:03.137Z info vpxd[63790] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501071-7c] [VpxLRO] -- BEGIN lro-3955347 -- session[523cf992-803f-720e-46de-924d7ddc151d]520f9f66-d78f-4e29-ae4e-492cb2ce4a23 -- vim.view.View.destroy -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:03.137Z verbose vpxd[63790] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501071-7c] Invoke done: vim.view.View.destroy session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:03.137Z info vpxd[63790] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501071-7c] [VpxLRO] -- FINISH lro-3955347

    2020-07-23T19:29:04.439Z verbose vpxd[04598] [Originator@6876 sub=Vmomi opID=34c23654] Invoke done: vmodl.query.PropertyCollector.waitForUpdatesEx session: 52941fb6-6976-be5f-e7e6-31057958de82

    2020-07-23T19:29:04.441Z verbose vpxd[04637] [Originator@6876 sub=Default opID=3df1ba80] [VpxVmomi] Invoking [waitForUpdatesEx] on [vmodl.query.PropertyCollector:session[52941fb6-6976-be5f-e7e6-31057958de82]52d48ad3-a8ae-5051-c2dc-9724db113264] session [52941fb6-6976-be5f-e7e6-31057958de82(52460c19-be10-aff1-3a78-fd56b89e4512)]

    2020-07-23T19:29:05.882Z verbose vpxd[04642] [Originator@6876 sub=SSL SoapAdapter.HTTPService] HTTP Response: Auto-completing at 129/129 bytes

    2020-07-23T19:29:05.882Z verbose vpxd[04642] [Originator@6876 sub=SSL SoapAdapter] Responded to service state request

    2020-07-23T19:29:06.869Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Sleep for 5000 ms, waiting to execute domain-c26

    2020-07-23T19:29:11.615Z verbose vpxd[04677] [Originator@6876 sub=Default opID=3f7767a] [VpxVmomi] Invoking [retrieveContent] on [vim.ServiceInstance:ServiceInstance] session [52f7522b-a17f-b56d-1261-c6d4026d4ac0]

    2020-07-23T19:29:11.616Z info vpxd[06631] [Originator@6876 sub=vpxLro opID=3f7767a] [VpxLRO] -- BEGIN lro-3955348 -- ServiceInstance -- vim.ServiceInstance.retrieveContent -- 52f7522b-a17f-b56d-1261-c6d4026d4ac0

    2020-07-23T19:29:11.616Z verbose vpxd[06631] [Originator@6876 sub=Vmomi opID=3f7767a] Invoke done: vim.ServiceInstance.retrieveContent session: 52f7522b-a17f-b56d-1261-c6d4026d4ac0

    2020-07-23T19:29:11.616Z info vpxd[06631] [Originator@6876 sub=vpxLro opID=3f7767a] [VpxLRO] -- FINISH lro-3955348

    2020-07-23T19:29:11.616Z verbose vpxd[06631] [Originator@6876 sub=Default opID=3f7767a] CloseSession called for session id=52f7522b-a17f-b56d-1261-c6d4026d4ac0

    2020-07-23T19:29:11.645Z verbose vpxd[04712] [Originator@6876 sub=Default opID=6b83459e] [VpxVmomi] Invoking [logout] on [vim.SessionManager:SessionManager] session [52a50b8c-960b-1e0b-acd3-cced1add4f03]

    2020-07-23T19:29:11.645Z verbose vpxd[04712] [Originator@6876 sub=Vmomi opID=6b83459e] Invoke error: vim.SessionManager.logout session: 52a50b8c-960b-1e0b-acd3-cced1add4f03 Throw: vim.fault.NotAuthenticated

    2020-07-23T19:29:11.645Z verbose vpxd[04712] [Originator@6876 sub=Default] CloseSession called for session id=52a50b8c-960b-1e0b-acd3-cced1add4f03

    2020-07-23T19:29:11.663Z verbose vpxd[04701] [Originator@6876 sub=Default opID=774fbf36] [VpxVmomi] Invoking [retrieveContent] on [vim.ServiceInstance:ServiceInstance] session [5279f0e3-ea05-3c75-7ab9-bb5b28812342]

    2020-07-23T19:29:11.663Z info vpxd[04701] [Originator@6876 sub=vpxLro opID=774fbf36] [VpxLRO] -- BEGIN lro-3955349 -- ServiceInstance -- vim.ServiceInstance.retrieveContent -- 5279f0e3-ea05-3c75-7ab9-bb5b28812342

    2020-07-23T19:29:11.663Z verbose vpxd[04701] [Originator@6876 sub=Vmomi opID=774fbf36] Invoke done: vim.ServiceInstance.retrieveContent session: 5279f0e3-ea05-3c75-7ab9-bb5b28812342

    2020-07-23T19:29:11.663Z info vpxd[04701] [Originator@6876 sub=vpxLro opID=774fbf36] [VpxLRO] -- FINISH lro-3955349

    2020-07-23T19:29:11.663Z verbose vpxd[04701] [Originator@6876 sub=Default opID=774fbf36] CloseSession called for session id=5279f0e3-ea05-3c75-7ab9-bb5b28812342

    2020-07-23T19:29:11.665Z verbose vpxd[04655] [Originator@6876 sub=Default opID=1492af6c] [VpxVmomi] Invoking [logout] on [vim.SessionManager:SessionManager] session [5236e4d5-6684-d904-2065-45faf6434349]

    2020-07-23T19:29:11.665Z verbose vpxd[04655] [Originator@6876 sub=Vmomi opID=1492af6c] Invoke error: vim.SessionManager.logout session: 5236e4d5-6684-d904-2065-45faf6434349 Throw: vim.fault.NotAuthenticated

    2020-07-23T19:29:11.665Z verbose vpxd[04655] [Originator@6876 sub=Default] CloseSession called for session id=5236e4d5-6684-d904-2065-45faf6434349

    2020-07-23T19:29:11.869Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Sleep for 5000 ms, waiting to execute domain-c26

    2020-07-23T19:29:13.127Z verbose vpxd[04751] [Originator@6876 sub=Default opID=sps-Main-522629-955-1] [VpxVmomi] Invoking [hasPrivilegeOnEntities] on [vim.AuthorizationManager:AuthorizationManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:13.127Z info vpxd[04751] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-1] [VpxLRO] -- BEGIN lro-3955350 -- AuthorizationManager -- vim.AuthorizationManager.hasPrivilegeOnEntities -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:13.127Z verbose vpxd[04751] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-1] Invoke done: vim.AuthorizationManager.hasPrivilegeOnEntities session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:13.128Z info vpxd[04751] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-1] [VpxLRO] -- FINISH lro-3955350

    2020-07-23T19:29:13.130Z verbose vpxd[21744] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501072-50] [VpxVmomi] Invoking [createContainerView] on [vim.view.ViewManager:ViewManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:13.131Z info vpxd[04740] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501072-50] [VpxLRO] -- BEGIN lro-3955351 -- ViewManager -- vim.view.ViewManager.createContainerView -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:13.131Z verbose vpxd[04740] [Originator@6876 sub=PropertyProvider opID=sps-Main-522629-955-W501072-50] RecordOp ASSIGN: view, session[523cf992-803f-720e-46de-924d7ddc151d]52699843-ed97-ec78-25a8-20ad2def2540. Applied change to temp map.

    2020-07-23T19:29:13.131Z verbose vpxd[04740] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501072-50] Invoke done: vim.view.ViewManager.createContainerView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:13.131Z info vpxd[04740] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501072-50] [VpxLRO] -- FINISH lro-3955351

    2020-07-23T19:29:13.132Z verbose vpxd[04686] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501072-9b] [VpxVmomi] Invoking [GetView] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]52699843-ed97-ec78-25a8-20ad2def2540] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:13.132Z verbose vpxd[04686] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501072-9b] Invoke done: vim.view.ManagedObjectView.GetView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:13.134Z verbose vpxd[04700] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501072-95] [VpxVmomi] Invoking [retrievePropertiesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:13.134Z verbose vpxd[04700] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501072-95] Invoke done: vmodl.query.PropertyCollector.retrievePropertiesEx session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:13.137Z verbose vpxd[04799] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501072-af] [VpxVmomi] Invoking [destroy] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]52699843-ed97-ec78-25a8-20ad2def2540] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:13.137Z info vpxd[04627] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501072-af] [VpxLRO] -- BEGIN lro-3955354 -- session[523cf992-803f-720e-46de-924d7ddc151d]52699843-ed97-ec78-25a8-20ad2def2540 -- vim.view.View.destroy -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:13.137Z verbose vpxd[04627] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501072-af] Invoke done: vim.view.View.destroy session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:13.137Z info vpxd[04627] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501072-af] [VpxLRO] -- FINISH lro-3955354

    2020-07-23T19:29:13.484Z verbose vpxd[04634] [Originator@6876 sub=Default opID=6d0434c9] [VpxVmomi] Invoking [retrieveContents] on [vmodl.query.PropertyCollector:propertyCollector] session [52433f7d-1ca0-c439-8917-2f853958d363(52a6d0f9-3a17-0147-e5b4-3ae081a9677d)]

    2020-07-23T19:29:13.484Z verbose vpxd[04634] [Originator@6876 sub=Vmomi opID=6d0434c9] Invoke done: vmodl.query.PropertyCollector.retrieveContents session: 52433f7d-1ca0-c439-8917-2f853958d363

    2020-07-23T19:29:15.943Z verbose vpxd[04625] [Originator@6876 sub=Vmomi opID=PollQuickStatsLoop-4b63962d] [ClientAdapterBase::InvokeOnSoap] Invoke done (de1vm00cpub01az1001.dev.us.corp, vpxapi.VpxaService.fetchQuickStats)

    2020-07-23T19:29:15.943Z verbose vpxd[04625] [Originator@6876 sub=Vmomi opID=PollQuickStatsLoop-4b63962d] [ClientAdapterBase::InvokeOnSoap] Invoke done (qavmesx228.dev.us.corp, vpxapi.VpxaService.fetchQuickStats)

    2020-07-23T19:29:15.943Z verbose vpxd[04625] [Originator@6876 sub=Vmomi opID=PollQuickStatsLoop-4b63962d] [ClientAdapterBase::InvokeOnSoap] Invoke done (de1vm00cpub01az1002.dev.us.corp, vpxapi.VpxaService.fetchQuickStats)

    2020-07-23T19:29:15.943Z verbose vpxd[04625] [Originator@6876 sub=Vmomi opID=PollQuickStatsLoop-4b63962d] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vpxapi.VpxaService.fetchQuickStats)

    2020-07-23T19:29:15.945Z verbose vpxd[04624] [Originator@6876 sub=MoHost opID=QuickStatsProcessPollResults-57e82b11] Found linked vm; [vim.HostSystem:host-31,qavmesx228.dev.us.corp], vmid: 2, [vim.VirtualMachine:vm-35,DM99SVICCL01]

    2020-07-23T19:29:15.945Z verbose vpxd[04824] [Originator@6876 sub=MoHost opID=QuickStatsProcessPollResults-88e4954] Found linked vm; [vim.HostSystem:host-50,de1vm00cpub01az1001.dev.us.corp], vmid: 3, [vim.VirtualMachine:vm-60,devkronosdbtest]

    2020-07-23T19:29:16.869Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Sleep for 5000 ms, waiting to execute domain-c26

    2020-07-23T19:29:18.348Z verbose vpxd[04660] [Originator@6876 sub=Vmomi opID=3f14452a] Invoke done: vmodl.query.PropertyCollector.waitForUpdatesEx session: 52941fb6-6976-be5f-e7e6-31057958de82

    2020-07-23T19:29:18.351Z verbose vpxd[04603] [Originator@6876 sub=Default opID=2f25b009] [VpxVmomi] Invoking [waitForUpdatesEx] on [vmodl.query.PropertyCollector:session[52941fb6-6976-be5f-e7e6-31057958de82]52df123c-0819-bcfc-7235-555d45a3604e] session [52941fb6-6976-be5f-e7e6-31057958de82(52460c19-be10-aff1-3a78-fd56b89e4512)]

    2020-07-23T19:29:21.869Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Sleep for 5000 ms, waiting to execute domain-c26

    2020-07-23T19:29:23.127Z verbose vpxd[04704] [Originator@6876 sub=Default opID=sps-Main-522629-955-32] [VpxVmomi] Invoking [hasPrivilegeOnEntities] on [vim.AuthorizationManager:AuthorizationManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:23.127Z info vpxd[04704] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-32] [VpxLRO] -- BEGIN lro-3955356 -- AuthorizationManager -- vim.AuthorizationManager.hasPrivilegeOnEntities -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:23.127Z verbose vpxd[04704] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-32] Invoke done: vim.AuthorizationManager.hasPrivilegeOnEntities session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:23.128Z info vpxd[04704] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-32] [VpxLRO] -- FINISH lro-3955356

    2020-07-23T19:29:23.130Z verbose vpxd[63795] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501073-34] [VpxVmomi] Invoking [createContainerView] on [vim.view.ViewManager:ViewManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:23.130Z info vpxd[63795] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501073-34] [VpxLRO] -- BEGIN lro-3955357 -- ViewManager -- vim.view.ViewManager.createContainerView -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:23.131Z verbose vpxd[63795] [Originator@6876 sub=PropertyProvider opID=sps-Main-522629-955-W501073-34] RecordOp ASSIGN: view, session[523cf992-803f-720e-46de-924d7ddc151d]52af7597-563a-396c-197c-4df6ff27f449. Applied change to temp map.

    2020-07-23T19:29:23.131Z verbose vpxd[63795] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501073-34] Invoke done: vim.view.ViewManager.createContainerView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:23.131Z info vpxd[63795] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501073-34] [VpxLRO] -- FINISH lro-3955357

    2020-07-23T19:29:23.132Z verbose vpxd[04692] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501073-4] [VpxVmomi] Invoking [GetView] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]52af7597-563a-396c-197c-4df6ff27f449] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:23.132Z verbose vpxd[04692] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501073-4] Invoke done: vim.view.ManagedObjectView.GetView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:23.134Z verbose vpxd[04683] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501073-1c] [VpxVmomi] Invoking [retrievePropertiesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:23.134Z verbose vpxd[04683] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501073-1c] Invoke done: vmodl.query.PropertyCollector.retrievePropertiesEx session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:23.138Z verbose vpxd[63788] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501073-e4] [VpxVmomi] Invoking [destroy] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]52af7597-563a-396c-197c-4df6ff27f449] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:23.138Z info vpxd[63788] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501073-e4] [VpxLRO] -- BEGIN lro-3955360 -- session[523cf992-803f-720e-46de-924d7ddc151d]52af7597-563a-396c-197c-4df6ff27f449 -- vim.view.View.destroy -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:23.138Z verbose vpxd[63788] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501073-e4] Invoke done: vim.view.View.destroy session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:23.138Z info vpxd[63788] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501073-e4] [VpxLRO] -- FINISH lro-3955360

    2020-07-23T19:29:26.869Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Sleep for 5000 ms, waiting to execute domain-c26

    2020-07-23T19:29:27.997Z verbose vpxd[04648] [Originator@6876 sub=InvtHostCnx opID=HeartbeatStartHandler-437266f5] Need inventory sync for: [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:27.997Z verbose vpxd[04648] [Originator@6876 sub=InvtHostCnx opID=HeartbeatStartHandler-437266f5] Queuing host sync; [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:27.998Z verbose vpxd[04639] [Originator@6876 sub=vpxLro opID=HB-host-126@496-57d655ee] [VpxLRO] -- BEGIN lro-3955361 --  -- VpxdInvtHostSyncHostLRO.Synchronize --

    2020-07-23T19:29:27.998Z verbose vpxd[04639] [Originator@6876 sub=InvtHostCnx opID=HB-host-126@496-57d655ee] Synchronizing host; [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:27.999Z verbose vpxd[04639] [Originator@6876 sub=Vmomi opID=HB-host-126@496-57d655ee] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vpxapi.VpxaService.getChanges)

    2020-07-23T19:29:27.999Z verbose vpxd[04639] [Originator@6876 sub=InvtHostCnx opID=HB-host-126@496-57d655ee] Processing vpxa changes: [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp], gen.no: from 495 to 496

    2020-07-23T19:29:28.000Z verbose vpxd[04639] [Originator@6876 sub=PropertyProvider opID=HB-host-126@496-57d655ee] RecordOp ASSIGN: runtime.memoryCapacityForVm, host-126. Applied change to temp map.

    2020-07-23T19:29:28.000Z verbose vpxd[04639] [Originator@6876 sub=PropertyProvider opID=HB-host-126@496-57d655ee] RecordOp ASSIGN: summary.runtime.memoryCapacityForVm, host-126. Applied change to temp map.

    2020-07-23T19:29:28.000Z verbose vpxd[04639] [Originator@6876 sub=MoHost opID=HB-host-126@496-57d655ee] [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]: cpuCapacity=65619 memCapacity=766041

    2020-07-23T19:29:28.000Z verbose vpxd[04639] [Originator@6876 sub=PropertyProvider opID=HB-host-126@496-57d655ee] RecordOp ASSIGN: summary, domain-c26. Applied change to temp map.

    2020-07-23T19:29:28.000Z verbose vpxd[04639] [Originator@6876 sub=ResMgr opID=HB-host-126@496-57d655ee] Reloading host [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:28.002Z verbose vpxd[04639] [Originator@6876 sub=InvtHostCnx opID=HB-host-126@496-57d655ee] Done processing vpxa changes; gen.no: 496

    2020-07-23T19:29:28.002Z verbose vpxd[04639] [Originator@6876 sub=InvtHostCnx opID=HB-host-126@496-57d655ee] Done synchronizing host; [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:28.002Z verbose vpxd[04639] [Originator@6876 sub=vpxLro opID=HB-host-126@496-57d655ee] [VpxLRO] -- FINISH lro-3955361

    2020-07-23T19:29:28.207Z verbose vpxd[04630] [Originator@6876 sub=vpxLro] [VpxLRO] Task lro-3955254 has been rescheduled

    2020-07-23T19:29:28.207Z verbose vpxd[04630] [Originator@6876 sub=vpxLro opID=kaoc3e7x-dkr-h5:70010494-dc] [VpxLRO] LRO lro-3955254 has been resumed

    2020-07-23T19:29:28.207Z verbose vpxd[04630] [Originator@6876 sub=Vmomi opID=kaoc3e7x-dkr-h5:70010494-dc] Invoke done: vim.cdc.ChangeLogCollector.waitForChanges session: 52dc8a2d-7306-8454-5fb2-b25bfa875d20

    2020-07-23T19:29:28.207Z info vpxd[04630] [Originator@6876 sub=vpxLro opID=kaoc3e7x-dkr-h5:70010494-dc] [VpxLRO] -- FINISH lro-3955254

    2020-07-23T19:29:28.441Z verbose vpxd[04740] [Originator@6876 sub=MoComputeRes] Recomputing stale res pool tree for computeRes [vim.ClusterComputeResource:domain-c26,cl-m0-infra]

    2020-07-23T19:29:29.209Z verbose vpxd[04686] [Originator@6876 sub=Default opID=kaoc3e7x-dkv-h5:70010494-4f] [VpxVmomi] Invoking [waitForChanges] on [vim.cdc.ChangeLogCollector:ChangeLogCollector] session [52dc8a2d-7306-8454-5fb2-b25bfa875d20(526275ec-b6af-4550-69fa-56d175d0aa67)]

    2020-07-23T19:29:29.209Z info vpxd[04686] [Originator@6876 sub=vpxLro opID=kaoc3e7x-dkv-h5:70010494-4f] [VpxLRO] -- BEGIN lro-3955362 -- ChangeLogCollector -- vim.cdc.ChangeLogCollector.waitForChanges -- 52dc8a2d-7306-8454-5fb2-b25bfa875d20(526275ec-b6af-4550-69fa-56d175d0aa67)

    2020-07-23T19:29:29.209Z verbose vpxd[04686] [Originator@6876 sub=vpxLro] [VpxLRO] Task lro-3955362 has been requeued

    2020-07-23T19:29:29.950Z verbose vpxd[04700] [Originator@6876 sub=SSL SoapAdapter.HTTPService] HTTP Response: Auto-completing at 129/129 bytes

    2020-07-23T19:29:29.950Z verbose vpxd[04700] [Originator@6876 sub=SSL SoapAdapter] Responded to service state request

    2020-07-23T19:29:31.540Z verbose vpxd[04799] [Originator@6876 sub=SoapAdapter] Unrecognized version URI "urn:vim25/6.7.2"; using default handler for "urn:vim25/6.7.1"

    2020-07-23T19:29:31.540Z verbose vpxd[04679] [Originator@6876 sub=Default opID=65eb8a3c] [VpxVmomi] Invoking [updateNetworkConfig] on [vim.host.NetworkSystem:networkSystem-126] session [5298788a-c71f-36d9-92e6-cd48acf36141(528edd01-7516-c2c2-53e8-282a5718b6f2)]

    2020-07-23T19:29:31.540Z verbose vpxd[04679] [Originator@6876 sub=DvsUtils opID=65eb8a3c] New assignment for pnicSpec.pnicDevice [vmnic0]

    2020-07-23T19:29:31.540Z verbose vpxd[04679] [Originator@6876 sub=DvsUtils opID=65eb8a3c] New assignment for pnicSpec.pnicDevice [vmnic1]

    2020-07-23T19:29:31.540Z verbose vpxd[04679] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ASSIGN: info.reason, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.540Z verbose vpxd[04679] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ASSIGN: info.eventChainId, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.541Z verbose vpxd[04679] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ADD: recentTask["task-1835"], TaskManager. Sent notification immediately.

    2020-07-23T19:29:31.541Z verbose vpxd[04679] [Originator@6876 sub=MoEvent opID=65eb8a3c] [EventManagerMoImpl::EventBatchAppender::EnqueueJob] Scheduled a new worker (1, 0)

    2020-07-23T19:29:31.541Z verbose vpxd[04679] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ASSIGN: info.eventChainId, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.541Z verbose vpxd[04634] [Originator@6876 sub=Vmomi opID=kaoc3e7x-dkl-h5:70010494-96] Invoke done: vmodl.query.PropertyCollector.waitForUpdatesEx session: 52dc8a2d-7306-8454-5fb2-b25bfa875d20

    2020-07-23T19:29:31.541Z verbose vpxd[04634] [Originator@6876 sub=MoEvent opID=EventManagerProcessJobs-4ac09d6a] [EventManagerMoImpl::EventBatchAppender::WorkerStarted] Start (0, 1)

    2020-07-23T19:29:31.544Z verbose vpxd[04679] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ADD: recentTask["task-1835"], host-126. Sent notification immediately.

    2020-07-23T19:29:31.544Z verbose vpxd[04635] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.cancelable, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.544Z verbose vpxd[04635] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.startTime, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.546Z verbose vpxd[04635] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ASSIGN: info.state, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.546Z verbose vpxd[04635] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ASSIGN: info.cancelable, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.547Z info vpxd[04635] [Originator@6876 sub=vpxLro opID=65eb8a3c] [VpxLRO] -- BEGIN task-1835 -- networkSystem-126 -- vim.host.NetworkSystem.updateNetworkConfig -- 5298788a-c71f-36d9-92e6-cd48acf36141(528edd01-7516-c2c2-53e8-282a5718b6f2)

    2020-07-23T19:29:31.547Z verbose vpxd[04635] [Originator@6876 sub=MoDVPortGroup opID=65eb8a3c] Found non-sticky port [114] for entity [host-126], vnic [vmk0]

    2020-07-23T19:29:31.547Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Vnic is connecting to portgroup [dvportgroup-92], auto-select the port [114]

    2020-07-23T19:29:31.547Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Eagerly reserve port [114] for the vnic

    2020-07-23T19:29:31.547Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Reserving Port [<dvs=50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26 portgroup=dvportgroup-92 port=114] on DVS [vds-dev-lan]

    2020-07-23T19:29:31.548Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Set vnic cookie [1613207556] to port [1613207556]

    2020-07-23T19:29:31.548Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] Updating port [114] persistence location to [empty]

    2020-07-23T19:29:31.549Z verbose vpxd[04635] [Originator@6876 sub=PortSender opID=65eb8a3c] Sending port to hosts: host-126<={114}

    2020-07-23T19:29:31.549Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.invokeHostTransactionCall)

    2020-07-23T19:29:31.559Z verbose vpxd[04687] [Originator@6876 sub=Vmomi] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.commitTransaction)

    2020-07-23T19:29:31.559Z verbose vpxd[04687] [Originator@6876 sub=hostMethod] Host call [applyDVPort] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.559Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.dvs.HostDistributedVirtualSwitchManager.applyDVPortgroup)

    2020-07-23T19:29:31.564Z verbose vpxd[04720] [Originator@6876 sub=hostMethod] Host call [applyDVPortgroup] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.565Z verbose vpxd[04635] [Originator@6876 sub=MoDVPortGroup opID=65eb8a3c] Found non-sticky port [1878] for entity [host-126], vnic [vmk1]

    2020-07-23T19:29:31.565Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Vnic is connecting to portgroup [dvportgroup-130], auto-select the port [1878]

    2020-07-23T19:29:31.565Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Eagerly reserve port [1878] for the vnic

    2020-07-23T19:29:31.565Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Reserving Port [<dvs=50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26 portgroup=dvportgroup-130 port=1878] on DVS [vds-dev-lan]

    2020-07-23T19:29:31.566Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Set vnic cookie [1613225100] to port [1613225100]

    2020-07-23T19:29:31.566Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] Updating port [1878] persistence location to [empty]

    2020-07-23T19:29:31.567Z verbose vpxd[04635] [Originator@6876 sub=PortSender opID=65eb8a3c] Sending port to hosts: host-126<={1878}

    2020-07-23T19:29:31.567Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.invokeHostTransactionCall)

    2020-07-23T19:29:31.584Z verbose vpxd[04720] [Originator@6876 sub=Vmomi] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.commitTransaction)

    2020-07-23T19:29:31.584Z verbose vpxd[04720] [Originator@6876 sub=hostMethod] Host call [applyDVPort] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.584Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.dvs.HostDistributedVirtualSwitchManager.applyDVPortgroup)

    2020-07-23T19:29:31.588Z verbose vpxd[04599] [Originator@6876 sub=hostMethod] Host call [applyDVPortgroup] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.589Z verbose vpxd[04635] [Originator@6876 sub=MoDVPortGroup opID=65eb8a3c] Found non-sticky port [1] for entity [host-126], vnic [vmk2]

    2020-07-23T19:29:31.589Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Vnic is connecting to portgroup [dvportgroup-65], auto-select the port [1]

    2020-07-23T19:29:31.589Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Eagerly reserve port [1] for the vnic

    2020-07-23T19:29:31.589Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Reserving Port [<dvs=50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26 portgroup=dvportgroup-65 port=1] on DVS [vds-dev-lan]

    2020-07-23T19:29:31.589Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Set vnic cookie [1613248952] to port [1613248952]

    2020-07-23T19:29:31.589Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] Updating port [1] persistence location to [empty]

    2020-07-23T19:29:31.590Z verbose vpxd[04635] [Originator@6876 sub=PortSender opID=65eb8a3c] Sending port to hosts: host-126<={1}

    2020-07-23T19:29:31.590Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.invokeHostTransactionCall)

    2020-07-23T19:29:31.625Z verbose vpxd[04743] [Originator@6876 sub=Vmomi] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.commitTransaction)

    2020-07-23T19:29:31.625Z verbose vpxd[04743] [Originator@6876 sub=hostMethod] Host call [applyDVPort] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.626Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.dvs.HostDistributedVirtualSwitchManager.applyDVPortgroup)

    2020-07-23T19:29:31.636Z verbose vpxd[04637] [Originator@6876 sub=hostMethod] Host call [applyDVPortgroup] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.636Z verbose vpxd[04635] [Originator@6876 sub=MoDVPortGroup opID=65eb8a3c] Found non-sticky port [21] for entity [host-126], vnic [vmk3]

    2020-07-23T19:29:31.636Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Vnic is connecting to portgroup [dvportgroup-66], auto-select the port [21]

    2020-07-23T19:29:31.636Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Eagerly reserve port [21] for the vnic

    2020-07-23T19:29:31.636Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Reserving Port [<dvs=50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26 portgroup=dvportgroup-66 port=21] on DVS [vds-dev-lan]

    2020-07-23T19:29:31.637Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Set vnic cookie [1613296566] to port [1613296566]

    2020-07-23T19:29:31.637Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] Updating port [21] persistence location to [empty]

    2020-07-23T19:29:31.638Z verbose vpxd[04635] [Originator@6876 sub=PortSender opID=65eb8a3c] Sending port to hosts: host-126<={21}

    2020-07-23T19:29:31.638Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.invokeHostTransactionCall)

    2020-07-23T19:29:31.683Z verbose vpxd[04713] [Originator@6876 sub=Vmomi] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.commitTransaction)

    2020-07-23T19:29:31.683Z verbose vpxd[04713] [Originator@6876 sub=hostMethod] Host call [applyDVPort] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.683Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.dvs.HostDistributedVirtualSwitchManager.applyDVPortgroup)

    2020-07-23T19:29:31.693Z verbose vpxd[04668] [Originator@6876 sub=hostMethod] Host call [applyDVPortgroup] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.693Z verbose vpxd[04635] [Originator@6876 sub=MoDVPortGroup opID=65eb8a3c] Found non-sticky port [1718] for entity [host-126], vnic [vmk4]

    2020-07-23T19:29:31.693Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Vnic is connecting to portgroup [dvportgroup-97], auto-select the port [1718]

    2020-07-23T19:29:31.693Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Eagerly reserve port [1718] for the vnic

    2020-07-23T19:29:31.693Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Reserving Port [<dvs=50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26 portgroup=dvportgroup-97 port=1718] on DVS [vds-dev-lan]

    2020-07-23T19:29:31.694Z verbose vpxd[04635] [Originator@6876 sub=coreanchor opID=65eb8a3c] Set vnic cookie [1613353794] to port [1613353794]

    2020-07-23T19:29:31.694Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] Updating port [1718] persistence location to [empty]

    2020-07-23T19:29:31.695Z verbose vpxd[04635] [Originator@6876 sub=PortSender opID=65eb8a3c] Sending port to hosts: host-126<={1718}

    2020-07-23T19:29:31.695Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.invokeHostTransactionCall)

    2020-07-23T19:29:31.738Z verbose vpxd[04668] [Originator@6876 sub=Vmomi] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.commitTransaction)

    2020-07-23T19:29:31.738Z verbose vpxd[04668] [Originator@6876 sub=hostMethod] Host call [applyDVPort] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.738Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.dvs.HostDistributedVirtualSwitchManager.applyDVPortgroup)

    2020-07-23T19:29:31.748Z verbose vpxd[04681] [Originator@6876 sub=hostMethod] Host call [applyDVPortgroup] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.748Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] Updating port [1757] persistence location to [empty]

    2020-07-23T19:29:31.749Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] [MoDVSwitch::UpdateUplinkPortsInPnicProcessing] new DVS connection: port[1757]<->pnic[vmnic0], generate new cookie [1613408804]

    2020-07-23T19:29:31.749Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] [MoDVSwitch::UpdateUplinkPortsInPnicProcessing] Eagerly reserve port [1757] for pnic [vmnic0], set as connected

    2020-07-23T19:29:31.749Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] Updating port [1758] persistence location to [empty]

    2020-07-23T19:29:31.750Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] [MoDVSwitch::UpdateUplinkPortsInPnicProcessing] new DVS connection: port[1758]<->pnic[vmnic1], generate new cookie [1613409609]

    2020-07-23T19:29:31.750Z verbose vpxd[04635] [Originator@6876 sub=MoDVSwitch opID=65eb8a3c] [MoDVSwitch::UpdateUplinkPortsInPnicProcessing] Eagerly reserve port [1758] for pnic [vmnic1], set as connected

    2020-07-23T19:29:31.759Z verbose vpxd[04635] [Originator@6876 sub=PortSender opID=65eb8a3c] Sending port to hosts: host-126<={1758,1757}

    2020-07-23T19:29:31.759Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.invokeHostTransactionCall)

    2020-07-23T19:29:31.803Z verbose vpxd[04692] [Originator@6876 sub=Vmomi] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.commitTransaction)

    2020-07-23T19:29:31.804Z verbose vpxd[04692] [Originator@6876 sub=hostMethod] Host call [applyDVPort] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] succeeded

    2020-07-23T19:29:31.804Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vim.host.NetworkSystem.invokeHostTransactionCall)

    2020-07-23T19:29:31.831Z error vpxd[04664] [Originator@6876 sub=hostMethod] Host call [updateNetworkConfig] for host [[vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]] failed with exception [Fault cause: vmodl.fault.InvalidArgument

    --> ]

    2020-07-23T19:29:31.837Z verbose vpxd[04635] [Originator@6876 sub=Vmomi opID=65eb8a3c] Invoke error: vim.host.NetworkSystem.updateNetworkConfig session: 5298788a-c71f-36d9-92e6-cd48acf36141 Throw: vmodl.fault.InvalidArgument

    2020-07-23T19:29:31.837Z verbose vpxd[04635] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ASSIGN: info.state, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.837Z verbose vpxd[04635] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ASSIGN: info.cancelable, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.837Z verbose vpxd[04635] [Originator@6876 sub=PropertyProvider opID=65eb8a3c] RecordOp ASSIGN: info.error, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.837Z info vpxd[04635] [Originator@6876 sub=vpxLro opID=65eb8a3c] [VpxLRO] -- FINISH task-1835

    2020-07-23T19:29:31.837Z info vpxd[04635] [Originator@6876 sub=Default opID=65eb8a3c] [VpxLRO] -- ERROR task-1835 -- networkSystem-126 -- vim.host.NetworkSystem.updateNetworkConfig: vmodl.fault.InvalidArgument:

    --> Result:

    --> (vmodl.fault.InvalidArgument) {

    -->    faultCause = (vmodl.MethodFault) null,

    -->    faultMessage = <unset>,

    -->    invalidProperty = <unset>

    -->    msg = "Received SOAP response fault from [<cs p:00007fdbe8086830, TCP:dmia1vm00cpua031004.dev.us.corp:443>]: invokeHostTransactionCall

    --> Received SOAP response fault from [<cs p:0000002dcd6c5a00, TCP:localhost:8307>]: invokeHostTransactionCall

    --> A specified parameter was not correct: "

    --> }

    --> Args:

    -->

    --> Arg config:

    --> (vim.host.NetworkConfig) {

    -->    vswitch = <unset>,

    -->    proxySwitch = (vim.host.HostProxySwitch.Config) [

    -->       (vim.host.HostProxySwitch.Config) {

    -->          changeOperation = "edit",

    -->          uuid = "50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26",

    -->          spec = (vim.host.HostProxySwitch.Specification) {

    -->             backing = (vim.dvs.HostMember.PnicBacking) {

    -->                pnicSpec = (vim.dvs.HostMember.PnicSpec) [

    -->                   (vim.dvs.HostMember.PnicSpec) {

    -->                      pnicDevice = "vmnic0",

    -->                      uplinkPortKey = "1757",

    -->                      uplinkPortgroupKey = <unset>,

    -->                      connectionCookie = 1613408804

    -->                   },

    -->                   (vim.dvs.HostMember.PnicSpec) {

    -->                      pnicDevice = "vmnic1",

    -->                      uplinkPortKey = "1758",

    -->                      uplinkPortgroupKey = <unset>,

    -->                      connectionCookie = 1613409609

    -->                   }

    -->                ]

    -->             }

    -->          }

    -->       }

    -->    ],

    -->    portgroup = <unset>,

    -->    pnic = <unset>,

    -->    vnic = (vim.host.VirtualNic.Config) [

    -->       (vim.host.VirtualNic.Config) {

    -->          changeOperation = "edit",

    -->          device = "vmk0",

    -->          portgroup = "MGMT-612",

    -->          spec = (vim.host.VirtualNic.Specification) {

    -->             dynamicProperty = <unset>,

    -->             ip = (vim.host.IpConfig) null,

    -->             mac = <unset>,

    -->             distributedVirtualPort = (vim.dvs.PortConnection) {

    -->                switchUuid = "50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26",

    -->                portgroupKey = "dvportgroup-92",

    -->                portKey = "114",

    -->                connectionCookie = 1613207556

    -->             },

    -->             portgroup = <unset>,

    -->             mtu = <unset>,

    -->             tsoEnabled = <unset>,

    -->             netStackInstanceKey = <unset>,

    -->             opaqueNetwork = (vim.host.VirtualNic.OpaqueNetworkSpec) null,

    -->             externalId = <unset>,

    -->             pinnedPnic = <unset>,

    -->             ipRouteSpec = (vim.host.VirtualNic.IpRouteSpec) null

    -->          }

    -->       },

    -->       (vim.host.VirtualNic.Config) {

    -->          changeOperation = "edit",

    -->          device = "vmk1",

    -->          portgroup = "Vmotion-611",

    -->          spec = (vim.host.VirtualNic.Specification) {

    -->             dynamicProperty = <unset>,

    -->             ip = (vim.host.IpConfig) null,

    -->             mac = <unset>,

    -->             distributedVirtualPort = (vim.dvs.PortConnection) {

    -->                switchUuid = "50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26",

    -->                portgroupKey = "dvportgroup-130",

    -->                portKey = "1878",

    -->                connectionCookie = 1613225100

    -->             },

    -->             portgroup = <unset>,

    -->             mtu = <unset>,

    -->             tsoEnabled = <unset>,

    -->             netStackInstanceKey = <unset>,

    -->             opaqueNetwork = (vim.host.VirtualNic.OpaqueNetworkSpec) null,

    -->             externalId = <unset>,

    -->             pinnedPnic = <unset>,

    -->             ipRouteSpec = (vim.host.VirtualNic.IpRouteSpec) null

    -->          }

    -->       },

    -->       (vim.host.VirtualNic.Config) {

    -->          changeOperation = "edit",

    -->          device = "vmk2",

    -->          portgroup = "SF-ISCSI-A-108",

    -->          spec = (vim.host.VirtualNic.Specification) {

    -->             dynamicProperty = <unset>,

    -->             ip = (vim.host.IpConfig) null,

    -->             mac = <unset>,

    -->             distributedVirtualPort = (vim.dvs.PortConnection) {

    -->                switchUuid = "50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26",

    -->                portgroupKey = "dvportgroup-65",

    -->                portKey = "1",

    -->                connectionCookie = 1613248952

    -->             },

    -->             portgroup = <unset>,

    -->             mtu = <unset>,

    -->             tsoEnabled = <unset>,

    -->             netStackInstanceKey = <unset>,

    -->             opaqueNetwork = (vim.host.VirtualNic.OpaqueNetworkSpec) null,

    -->             externalId = <unset>,

    -->             pinnedPnic = <unset>,

    -->             ipRouteSpec = (vim.host.VirtualNic.IpRouteSpec) null

    -->          }

    -->       },

    -->       (vim.host.VirtualNic.Config) {

    -->          changeOperation = "edit",

    -->          device = "vmk3",

    -->          portgroup = "SF-ISCSI-B-108",

    -->          spec = (vim.host.VirtualNic.Specification) {

    -->             dynamicProperty = <unset>,

    -->             ip = (vim.host.IpConfig) null,

    -->             mac = <unset>,

    -->             distributedVirtualPort = (vim.dvs.PortConnection) {

    -->                switchUuid = "50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26",

    -->                portgroupKey = "dvportgroup-66",

    -->                portKey = "21",

    -->                connectionCookie = 1613296566

    -->             },

    -->             portgroup = <unset>,

    -->             mtu = <unset>,

    -->             tsoEnabled = <unset>,

    -->             netStackInstanceKey = <unset>,

    -->             opaqueNetwork = (vim.host.VirtualNic.OpaqueNetworkSpec) null,

    -->             externalId = <unset>,

    -->             pinnedPnic = <unset>,

    -->             ipRouteSpec = (vim.host.VirtualNic.IpRouteSpec) null

    -->          }

    -->       },

    -->       (vim.host.VirtualNic.Config) {

    -->          changeOperation = "edit",

    -->          device = "vmk4",

    -->          portgroup = "NFS-694",

    -->          spec = (vim.host.VirtualNic.Specification) {

    -->             dynamicProperty = <unset>,

    -->             ip = (vim.host.IpConfig) null,

    -->             mac = <unset>,

    -->             distributedVirtualPort = (vim.dvs.PortConnection) {

    -->                switchUuid = "50 29 6d 53 73 90 0e 1a-08 62 6e 21 d1 2b a2 26",

    -->                portgroupKey = "dvportgroup-97",

    -->                portKey = "1718",

    -->                connectionCookie = 1613353794

    -->             },

    -->             portgroup = <unset>,

    -->             mtu = <unset>,

    -->             tsoEnabled = <unset>,

    -->             netStackInstanceKey = <unset>,

    -->             opaqueNetwork = (vim.host.VirtualNic.OpaqueNetworkSpec) null,

    -->             externalId = <unset>,

    -->             pinnedPnic = <unset>,

    -->             ipRouteSpec = (vim.host.VirtualNic.IpRouteSpec) null

    -->          }

    -->       }

    -->    ],

    -->    consoleVnic = <unset>,

    -->    dnsConfig = (vim.host.DnsConfig) null,

    -->    ipRouteConfig = (vim.host.IpRouteConfig) null,

    -->    consoleIpRouteConfig = (vim.host.IpRouteConfig) null,

    -->    routeTableConfig = (vim.host.IpRouteTableConfig) null,

    -->    dhcp = <unset>,

    -->    nat = <unset>,

    -->    ipV6Enabled = <unset>,

    -->    netStackSpec = <unset>

    --> }

    --> Arg changeMode:

    --> "modify"

    2020-07-23T19:29:31.837Z verbose vpxd[04635] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.completeTime, task-1835. Applied change to temp map.

    2020-07-23T19:29:31.869Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Sleep for 5000 ms, waiting to execute domain-c26

    2020-07-23T19:29:32.481Z verbose vpxd[04620] [Originator@6876 sub=PropertyProvider opID=ProcessEventNotifications-56f32f43] RecordOp ASSIGN: latestEvent, EventManager. Applied change to temp map.

    2020-07-23T19:29:32.545Z verbose vpxd[04742] [Originator@6876 sub=Default opID=kaoc3e7x-dkw-h5:70010494-7d] [VpxVmomi] Invoking [waitForUpdatesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [52dc8a2d-7306-8454-5fb2-b25bfa875d20(526275ec-b6af-4550-69fa-56d175d0aa67)]

    2020-07-23T19:29:32.545Z verbose vpxd[04742] [Originator@6876 sub=Vmomi opID=kaoc3e7x-dkw-h5:70010494-7d] Invoke done: vmodl.query.PropertyCollector.waitForUpdatesEx session: 52dc8a2d-7306-8454-5fb2-b25bfa875d20

    2020-07-23T19:29:33.127Z verbose vpxd[04936] [Originator@6876 sub=Default opID=sps-Main-522629-955-ea] [VpxVmomi] Invoking [hasPrivilegeOnEntities] on [vim.AuthorizationManager:AuthorizationManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:33.127Z info vpxd[04936] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-ea] [VpxLRO] -- BEGIN lro-3955364 -- AuthorizationManager -- vim.AuthorizationManager.hasPrivilegeOnEntities -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:33.127Z verbose vpxd[04936] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-ea] Invoke done: vim.AuthorizationManager.hasPrivilegeOnEntities session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:33.128Z info vpxd[04936] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-ea] [VpxLRO] -- FINISH lro-3955364

    2020-07-23T19:29:33.130Z verbose vpxd[04639] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501074-3c] [VpxVmomi] Invoking [createContainerView] on [vim.view.ViewManager:ViewManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:33.130Z info vpxd[04630] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501074-3c] [VpxLRO] -- BEGIN lro-3955365 -- ViewManager -- vim.view.ViewManager.createContainerView -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:33.130Z verbose vpxd[04630] [Originator@6876 sub=PropertyProvider opID=sps-Main-522629-955-W501074-3c] RecordOp ASSIGN: view, session[523cf992-803f-720e-46de-924d7ddc151d]52cd9f47-a1f7-4588-f209-cec57498dbb4. Applied change to temp map.

    2020-07-23T19:29:33.130Z verbose vpxd[04630] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501074-3c] Invoke done: vim.view.ViewManager.createContainerView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:33.130Z info vpxd[04630] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501074-3c] [VpxLRO] -- FINISH lro-3955365

    2020-07-23T19:29:33.131Z verbose vpxd[04615] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501074-31] [VpxVmomi] Invoking [GetView] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]52cd9f47-a1f7-4588-f209-cec57498dbb4] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:33.131Z verbose vpxd[04615] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501074-31] Invoke done: vim.view.ManagedObjectView.GetView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:33.133Z verbose vpxd[04806] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501074-5c] [VpxVmomi] Invoking [retrievePropertiesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:33.133Z verbose vpxd[04806] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501074-5c] Invoke done: vmodl.query.PropertyCollector.retrievePropertiesEx session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:33.136Z verbose vpxd[04747] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501074-b] [VpxVmomi] Invoking [destroy] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]52cd9f47-a1f7-4588-f209-cec57498dbb4] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:33.136Z info vpxd[04747] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501074-b] [VpxLRO] -- BEGIN lro-3955368 -- session[523cf992-803f-720e-46de-924d7ddc151d]52cd9f47-a1f7-4588-f209-cec57498dbb4 -- vim.view.View.destroy -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:33.136Z verbose vpxd[04747] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501074-b] Invoke done: vim.view.View.destroy session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:33.136Z info vpxd[04747] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501074-b] [VpxLRO] -- FINISH lro-3955368

    2020-07-23T19:29:33.483Z verbose vpxd[04700] [Originator@6876 sub=Default opID=7c6be3c2] [VpxVmomi] Invoking [retrieveContents] on [vmodl.query.PropertyCollector:propertyCollector] session [52433f7d-1ca0-c439-8917-2f853958d363(52a6d0f9-3a17-0147-e5b4-3ae081a9677d)]

    2020-07-23T19:29:33.484Z verbose vpxd[04799] [Originator@6876 sub=Vmomi opID=7c6be3c2] Invoke done: vmodl.query.PropertyCollector.retrieveContents session: 52433f7d-1ca0-c439-8917-2f853958d363

    2020-07-23T19:29:33.547Z verbose vpxd[04597] [Originator@6876 sub=Default opID=kaoc3e7x-dkx-h5:70010494-5f] [VpxVmomi] Invoking [waitForUpdatesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [52dc8a2d-7306-8454-5fb2-b25bfa875d20(526275ec-b6af-4550-69fa-56d175d0aa67)]

    2020-07-23T19:29:33.708Z verbose vpxd[04694] [Originator@6876 sub=SoapAdapter] Unrecognized version URI "urn:vim25/6.7.2"; using default handler for "urn:vim25/6.7.1"

    2020-07-23T19:29:33.708Z verbose vpxd[04694] [Originator@6876 sub=Default opID=27b517c6] [VpxVmomi] Invoking [currentTime] on [vim.ServiceInstance:ServiceInstance] session [5298788a-c71f-36d9-92e6-cd48acf36141(528edd01-7516-c2c2-53e8-282a5718b6f2)]

    2020-07-23T19:29:33.708Z verbose vpxd[04694] [Originator@6876 sub=Vmomi opID=27b517c6] Invoke done: vim.ServiceInstance.currentTime session: 5298788a-c71f-36d9-92e6-cd48acf36141

    2020-07-23T19:29:35.883Z verbose vpxd[04628] [Originator@6876 sub=SSL SoapAdapter.HTTPService] HTTP Response: Auto-completing at 129/129 bytes

    2020-07-23T19:29:35.883Z verbose vpxd[04628] [Originator@6876 sub=SSL SoapAdapter] Responded to service state request

    2020-07-23T19:29:36.869Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Found an entry to execute: domain-c26

    2020-07-23T19:29:36.869Z info vpxd[04656] [Originator@6876 sub=vpxLro opID=lro-2-60b7acd9-13b3e] [VpxLRO] -- BEGIN lro-3955370 --  -- AskResSettingRecLro --

    2020-07-23T19:29:36.869Z verbose vpxd[04656] [Originator@6876 sub=MoCluster opID=lro-2-60b7acd9-13b3e] RpTreeGenNo: current = 0, lastDivvyCall = 0, lastDivvyDone = 0; isRpUpdateNeeded = false

    2020-07-23T19:29:36.869Z verbose vpxd[04656] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9-13b3e] Ignoring host [vim.HostSystem:host-113,dmia1vm00cpua031001.dev.us.corp]: IsConnected: false, InMaintenanceMode: true, InStandbyMode: false

    2020-07-23T19:29:36.869Z verbose vpxd[04656] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9-13b3e] Ignoring host [vim.HostSystem:host-116,dmia1vm00cpua031002.dev.us.corp]: IsConnected: false, InMaintenanceMode: true, InStandbyMode: false

    2020-07-23T19:29:36.869Z verbose vpxd[04656] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9-13b3e] Ignoring host [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]: IsConnected: true, InMaintenanceMode: true, InStandbyMode: false

    2020-07-23T19:29:36.869Z verbose vpxd[04656] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9-13b3e] Snapshot Vms on host qavmesx228.dev.us.corp

    2020-07-23T19:29:36.870Z verbose vpxd[04656] [Originator@6876 sub=MoComputeRes opID=lro-2-60b7acd9-13b3e] Setting _resDirty flag and recompute ResPoolTree

    2020-07-23T19:29:36.870Z verbose vpxd[04656] [Originator@6876 sub=drsExec opID=lro-2-60b7acd9-13b3e] VM [vim.VirtualMachine:vm-35,DM99SVICCL01] received overheadLimit = 288 from DRS

    2020-07-23T19:29:36.870Z verbose vpxd[04656] [Originator@6876 sub=MoHost opID=lro-2-60b7acd9-13b3e] Host [vim.HostSystem:host-31,qavmesx228.dev.us.corp]: increment ResPoolSpecGenNo (159066) and MasterSpecGenNo (159067)

    2020-07-23T19:29:36.870Z verbose vpxd[04656] [Originator@6876 sub=PropertyProvider opID=lro-2-60b7acd9-13b3e] RecordOp ASSIGN: summary.usageSummary, domain-c26. Applied change to temp map.

    2020-07-23T19:29:36.870Z info vpxd[04656] [Originator@6876 sub=vpxLro opID=lro-2-60b7acd9-13b3e] [VpxLRO] -- FINISH lro-3955370

    2020-07-23T19:29:36.870Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Sleep for 5000 ms, waiting to execute domain-c26

    2020-07-23T19:29:36.870Z verbose vpxd[04656] [Originator@6876 sub=MoComputeRes opID=lro-2-60b7acd9-13b3e-ComputeResEntityStateChangeAction-622bdc87] Recomputing stale res pool tree for computeRes [vim.ClusterComputeResource:domain-c26,cl-m0-infra]

    2020-07-23T19:29:38.001Z verbose vpxd[04648] [Originator@6876 sub=InvtHostCnx opID=HeartbeatStartHandler-437266f5] Need inventory sync for: [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:38.001Z verbose vpxd[04648] [Originator@6876 sub=InvtHostCnx opID=HeartbeatStartHandler-437266f5] Queuing host sync; [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:38.001Z verbose vpxd[04638] [Originator@6876 sub=vpxLro opID=HB-host-126@513-2d9b556b] [VpxLRO] -- BEGIN lro-3955371 --  -- VpxdInvtHostSyncHostLRO.Synchronize --

    2020-07-23T19:29:38.001Z verbose vpxd[04638] [Originator@6876 sub=InvtHostCnx opID=HB-host-126@513-2d9b556b] Synchronizing host; [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:38.050Z verbose vpxd[04638] [Originator@6876 sub=Vmomi opID=HB-host-126@513-2d9b556b] [ClientAdapterBase::InvokeOnSoap] Invoke done (dmia1vm00cpua031004.dev.us.corp, vpxapi.VpxaService.getChanges)

    2020-07-23T19:29:38.050Z verbose vpxd[04638] [Originator@6876 sub=InvtHostCnx opID=HB-host-126@513-2d9b556b] Processing vpxa changes: [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp], gen.no: from 496 to 513

    2020-07-23T19:29:38.050Z verbose vpxd[04638] [Originator@6876 sub=dbQuery opID=HB-host-126@513-2d9b556b] FDCFEIDB(): Entered: host-126

    2020-07-23T19:29:38.051Z verbose vpxd[04638] [Originator@6876 sub=corehostSync opID=HB-host-126@513-2d9b556b] Old dvs connection: [], new dvs connection: []

    2020-07-23T19:29:38.051Z verbose vpxd[04638] [Originator@6876 sub=corehostSync opID=HB-host-126@513-2d9b556b] Disconnecting: [], connecting: []

    2020-07-23T19:29:38.056Z verbose vpxd[04638] [Originator@6876 sub=InvtId opID=HB-host-126@513-2d9b556b] [VpxdInvtId]RegisterHostIp(dmia1vm00cpua031004.dev.us.corp)

    2020-07-23T19:29:38.059Z verbose vpxd[04638] [Originator@6876 sub=PropertyProvider opID=HB-host-126@513-2d9b556b] RecordOp ASSIGN: datastore, datastoreSystem-126. Sent notification immediately.

    2020-07-23T19:29:38.059Z verbose vpxd[04638] [Originator@6876 sub=PropertyProvider opID=HB-host-126@513-2d9b556b] RecordOp ASSIGN: runtime, healthStatusSystem-126. Sent notification immediately.

    2020-07-23T19:29:38.059Z verbose vpxd[04638] [Originator@6876 sub=PropertyProvider opID=HB-host-126@513-2d9b556b] RecordOp ASSIGN: configInfo, esxAgentHostManager-126. Sent notification immediately.

    2020-07-23T19:29:38.059Z verbose vpxd[04638] [Originator@6876 sub=PropertyProvider opID=HB-host-126@513-2d9b556b] RecordOp ASSIGN: lockdownMode, hostAccessManager-126. Sent notification immediately.

    2020-07-23T19:29:38.059Z verbose vpxd[04638] [Originator@6876 sub=ResMgr opID=HB-host-126@513-2d9b556b] Reloading host [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:38.060Z verbose vpxd[04638] [Originator@6876 sub=InvtHostCnx opID=HB-host-126@513-2d9b556b] Done processing vpxa changes; gen.no: 513

    2020-07-23T19:29:38.060Z verbose vpxd[04638] [Originator@6876 sub=InvtHostCnx opID=HB-host-126@513-2d9b556b] Done synchronizing host; [vim.HostSystem:host-126,dmia1vm00cpua031004.dev.us.corp]

    2020-07-23T19:29:38.060Z verbose vpxd[04638] [Originator@6876 sub=vpxLro opID=HB-host-126@513-2d9b556b] [VpxLRO] -- FINISH lro-3955371

    2020-07-23T19:29:38.691Z verbose vpxd[04598] [Originator@6876 sub=Default opID=sps-Main-522629-955-31] [VpxVmomi] Invoking [sessionIsActive] on [vim.SessionManager:SessionManager] session [52cb3e28-0846-eee4-cc8a-265cbe817502(5243bcfa-ae50-ae7d-f593-28ca670320ce)]

    2020-07-23T19:29:38.691Z info vpxd[04598] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-31] [VpxLRO] -- BEGIN lro-3955372 -- SessionManager -- vim.SessionManager.sessionIsActive -- 52cb3e28-0846-eee4-cc8a-265cbe817502(5243bcfa-ae50-ae7d-f593-28ca670320ce)

    2020-07-23T19:29:38.691Z verbose vpxd[04598] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-31] Invoke done: vim.SessionManager.sessionIsActive session: 52cb3e28-0846-eee4-cc8a-265cbe817502

    2020-07-23T19:29:38.691Z info vpxd[04598] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-31] [VpxLRO] -- FINISH lro-3955372

    2020-07-23T19:29:41.870Z verbose vpxd[04706] [Originator@6876 sub=drmLogger opID=lro-2-60b7acd9] Sleep for 5000 ms, waiting to execute domain-c26

    2020-07-23T19:29:43.127Z verbose vpxd[04821] [Originator@6876 sub=Default opID=sps-Main-522629-955-6d] [VpxVmomi] Invoking [hasPrivilegeOnEntities] on [vim.AuthorizationManager:AuthorizationManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:43.127Z info vpxd[04821] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-6d] [VpxLRO] -- BEGIN lro-3955373 -- AuthorizationManager -- vim.AuthorizationManager.hasPrivilegeOnEntities -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:43.127Z verbose vpxd[04821] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-6d] Invoke done: vim.AuthorizationManager.hasPrivilegeOnEntities session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:43.128Z info vpxd[04821] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-6d] [VpxLRO] -- FINISH lro-3955373

    2020-07-23T19:29:43.132Z verbose vpxd[04617] [Originator@6876 sub=Default opID=sps-Main-522629-955-3e] [VpxVmomi] Invoking [hasPrivilegeOnEntities] on [vim.AuthorizationManager:AuthorizationManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:43.132Z info vpxd[04617] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-3e] [VpxLRO] -- BEGIN lro-3955374 -- AuthorizationManager -- vim.AuthorizationManager.hasPrivilegeOnEntities -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:43.132Z verbose vpxd[04617] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-3e] Invoke done: vim.AuthorizationManager.hasPrivilegeOnEntities session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:43.132Z info vpxd[04617] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-3e] [VpxLRO] -- FINISH lro-3955374

    2020-07-23T19:29:43.135Z verbose vpxd[63789] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501075-90] [VpxVmomi] Invoking [createContainerView] on [vim.view.ViewManager:ViewManager] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:43.135Z info vpxd[63789] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501075-90] [VpxLRO] -- BEGIN lro-3955375 -- ViewManager -- vim.view.ViewManager.createContainerView -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:43.135Z verbose vpxd[63789] [Originator@6876 sub=PropertyProvider opID=sps-Main-522629-955-W501075-90] RecordOp ASSIGN: view, session[523cf992-803f-720e-46de-924d7ddc151d]52d437cd-2ee2-b732-5813-d3811692d228. Applied change to temp map.

    2020-07-23T19:29:43.135Z verbose vpxd[63789] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501075-90] Invoke done: vim.view.ViewManager.createContainerView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:43.135Z info vpxd[63789] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501075-90] [VpxLRO] -- FINISH lro-3955375

    2020-07-23T19:29:43.136Z verbose vpxd[06631] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501075-83] [VpxVmomi] Invoking [GetView] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]52d437cd-2ee2-b732-5813-d3811692d228] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:43.136Z verbose vpxd[06631] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501075-83] Invoke done: vim.view.ManagedObjectView.GetView session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:43.138Z verbose vpxd[04819] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501075-3f] [VpxVmomi] Invoking [retrievePropertiesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:43.138Z verbose vpxd[04819] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501075-3f] Invoke done: vmodl.query.PropertyCollector.retrievePropertiesEx session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:43.141Z verbose vpxd[04675] [Originator@6876 sub=Default opID=sps-Main-522629-955-W501075-4] [VpxVmomi] Invoking [destroy] on [vim.view.ContainerView:session[523cf992-803f-720e-46de-924d7ddc151d]52d437cd-2ee2-b732-5813-d3811692d228] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:43.141Z info vpxd[04636] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501075-4] [VpxLRO] -- BEGIN lro-3955378 -- session[523cf992-803f-720e-46de-924d7ddc151d]52d437cd-2ee2-b732-5813-d3811692d228 -- vim.view.View.destroy -- 523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)

    2020-07-23T19:29:43.141Z verbose vpxd[04636] [Originator@6876 sub=Vmomi opID=sps-Main-522629-955-W501075-4] Invoke done: vim.view.View.destroy session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:43.142Z info vpxd[04636] [Originator@6876 sub=vpxLro opID=sps-Main-522629-955-W501075-4] [VpxLRO] -- FINISH lro-3955378

    2020-07-23T19:29:44.607Z verbose vpxd[04636] [Originator@6876 sub=Default opID=19e20320] [VpxVmomi] Invoking [currentTime] on [vim.ServiceInstance:ServiceInstance] session [523cf992-803f-720e-46de-924d7ddc151d(52e67096-22d5-f1bf-49e7-fd1fbe150c0b)]

    2020-07-23T19:29:44.607Z verbose vpxd[04636] [Originator@6876 sub=Vmomi opID=19e20320] Invoke done: vim.ServiceInstance.currentTime session: 523cf992-803f-720e-46de-924d7ddc151d

    2020-07-23T19:29:44.971Z verbose vpxd[04648] [Originator@6876 sub=InvtHostCnx opID=HeartbeatStartHandler-437266f5] Need spec sync for [vim.HostSystem:host-31,qavmesx228.dev.us.corp]

    2020-07-23T19:29:44.971Z verbose vpxd[04648] [Originator@6876 sub=InvtHostCnx opID=HeartbeatStartHandler-437266f5] Queuing spec sync LRO for: [vim.HostSystem:host-31,qavmesx228.dev.us.corp]

    2020-07-23T19:29:44.972Z info vpxd[04636] [Originator@6876 sub=vpxLro opID=HB-SpecSync-host-31@159065-453b3726] [VpxLRO] -- BEGIN lro-3955379 --  -- SpecSyncLRO.Synchronize --

    2020-07-23T19:29:44.972Z verbose vpxd[04636] [Originator@6876 sub=InvtHostCnx opID=HB-SpecSync-host-31@159065-453b3726] Preparing spec sync for [vim.HostSystem:host-31,qavmesx228.dev.us.corp], vpxaMasterSpecGenNo = 159065, vpxdMasterSpecGenNo = 159067

    2020-07-23T19:29:44.972Z verbose vpxd[04636] [Originator@6876 sub=ResMgr opID=HB-SpecSync-host-31@159065-453b3726] During attachment VM [vim.VirtualMachine:vm-35,DM99SVICCL01]: parentRespool = vim.ResourcePool:resgroup-27, using root pool because: unknown reason

    2020-07-23T19:29:44.972Z verbose vpxd[04636] [Originator@6876 sub=InvtHostCnx opID=HB-SpecSync-host-31@159065-453b3726] Set respool spec to (vpxapi.ResourcePoolSpec) {

    -->    name = "Resources",

    -->    spec = (vim.ResourceConfigSpec) {

    -->       entity = <unset>,

    -->       changeVersion = <unset>,

    -->       lastModified = <unset>,

    -->       cpuAllocation = (vim.ResourceAllocationInfo) {

    -->          reservation = 0,

    -->          expandableReservation = true,

    -->          limit = -1,

    -->          shares = (vim.SharesInfo) {

    -->             shares = 4000,

    -->             level = "normal"

    -->          },

    -->          overheadLimit = <unset>

    -->       },

    -->       memoryAllocation = (vim.ResourceAllocationInfo) {

    -->          reservation = 0,

    -->          expandableReservation = true,

    -->          limit = -1,

    -->          shares = (vim.SharesInfo) {

    -->             shares = 163840,

    -->             level = "normal"

    -->          },

    -->          overheadLimit = <unset>

    -->       },

    -->       networkBandwidthAllocation = <unset>

    -->    },

    -->    entity = 'vim.ResourcePool:a9f1f368-5f94-48b5-ab36-72e764e828e1:resgroup-27',

    -->    childSpec = <unset>,

    -->    childVm = (vpxapi.VmResourcePoolSpec) [

    -->       (vpxapi.VmResourcePoolSpec) {

    -->          childVmId = 2,

    -->          vmConfigResPoolSpec = (vim.ResourceConfigSpec) {

    -->             entity = 'vim.VirtualMachine:a9f1f368-5f94-48b5-ab36-72e764e828e1:vm-35',

    -->             changeVersion = <unset>,

    -->             lastModified = <unset>,

    -->             cpuAllocation = (vim.ResourceAllocationInfo) {

    -->                reservation = 0,

    -->                expandableReservation = <unset>,

    -->                limit = -1,

    -->                shares = (vim.SharesInfo) {

    -->                   shares = 16000,

    -->                   level = "normal"

    -->                },

    -->                overheadLimit = <unset>

    -->             },

    -->             memoryAllocation = (vim.ResourceAllocationInfo) {

    -->                reservation = 0,

    -->                expandableReservation = <unset>,

    -->                limit = -1,

    -->                shares = (vim.SharesInfo) {

    -->                   shares = 327680,

    -->                   level = "normal"

    -->                },

    -->                overheadLimit = -1

    -->             },

    -->             networkBandwidthAllocation = <unset>

    -->          }

    -->       }

    -->    ]

    --> }

    2020-07-23T19:29:44.972Z verbose vpxd[04636] [Originator@6876 sub=licenseClient opID=HB-SpecSync-host-31@159065-453b3726] UpdateHostLicenseSpec host: [vim.HostSystem:host-31,qavmesx228.dev.us.corp] vpxaMasterSpecGenNo: 159065 pendingChanges: false

    2020-07-23T19:29:44.976Z verbose vpxd[04636] [Originator@6876 sub=Vmomi opID=HB-SpecSync-host-31@159065-453b3726] [ClientAdapterBase::InvokeOnSoap] Invoke done (qavmesx228.dev.us.corp, vpxapi.VpxaService.setConfig)

    2020-07-23T19:29:44.977Z info vpxd[04636] [Originator@6876 sub=vpxLro opID=HB-SpecSync-host-31@159065-453b3726] [VpxLRO] -- FINISH lro-3955379

    2020-07-23T19:29:45.648Z verbose vpxd[21744] [Originator@6876 sub=Default opID=32a1c34c] [VpxVmomi] Invoking [retrieveContent] on [vim.ServiceInstance:ServiceInstance] session [52d1fd3d-783d-0b82-06a8-4d769a5f59b0]

    2020-07-23T19:29:45.648Z info vpxd[21744] [Originator@6876 sub=vpxLro opID=32a1c34c] [VpxLRO] -- BEGIN lro-3955380 -- ServiceInstance -- vim.ServiceInstance.retrieveContent -- 52d1fd3d-783d-0b82-06a8-4d769a5f59b0

    2020-07-23T19:29:45.648Z verbose vpxd[21744] [Originator@6876 sub=Vmomi opID=32a1c34c] Invoke done: vim.ServiceInstance.retrieveContent session: 52d1fd3d-783d-0b82-06a8-4d769a5f59b0

    2020-07-23T19:29:45.648Z info vpxd[21744] [Originator@6876 sub=vpxLro opID=32a1c34c] [VpxLRO] -- FINISH lro-3955380

    2020-07-23T19:29:45.648Z verbose vpxd[21744] [Originator@6876 sub=Default opID=32a1c34c] CloseSession called for session id=52d1fd3d-783d-0b82-06a8-4d769a5f59b0

    2020-07-23T19:29:45.685Z verbose vpxd[04711] [Originator@6876 sub=Default opID=1a1ccc8c] [VpxVmomi] Invoking [logout] on [vim.SessionManager:SessionManager] session [5231d34d-7cf7-b0b0-69b4-a27fb1bc78e9]

    2020-07-23T19:29:45.685Z verbose vpxd[04711] [Originator@6876 sub=Vmomi opID=1a1ccc8c] Invoke error: vim.SessionManager.logout session: 5231d34d-7cf7-b0b0-69b4-a27fb1bc78e9 Throw: vim.fault.NotAuthenticated

    2020-07-23T19:29:45.685Z verbose vpxd[04711] [Originator@6876 sub=Default] CloseSession called for session id=5231d34d-7cf7-b0b0-69b4-a27fb1bc78e9

    2020-07-23T19:29:45.698Z verbose vpxd[04686] [Originator@6876 sub=Default opID=58b908b8] [VpxVmomi] Invoking [retrieveContent] on [vim.ServiceInstance:ServiceInstance] session [525bfd57-a625-3699-9114-5175f2535222]

    2020-07-23T19:29:45.698Z info vpxd[04686] [Originator@6876 sub=vpxLro opID=58b908b8] [VpxLRO] -- BEGIN lro-3955381 -- ServiceInstance -- vim.ServiceInstance.retrieveContent -- 525bfd57-a625-3699-9114-5175f2535222

    2020-07-23T19:29:45.698Z verbose vpxd[04686] [Originator@6876 sub=Vmomi opID=58b908b8] Invoke done: vim.ServiceInstance.retrieveContent session: 525bfd57-a625-3699-9114-5175f2535222

    2020-07-23T19:29:45.698Z info vpxd[04686] [Originator@6876 sub=vpxLro opID=58b908b8] [VpxLRO] -- FINISH lro-3955381

    2020-07-23T19:29:45.698Z verbose vpxd[04686] [Originator@6876 sub=Default opID=58b908b8] CloseSession called for session id=525bfd57-a625-3699-9114-5175f2535222

    2020-07-23T19:29:45.700Z verbose vpxd[04686] [Originator@6876 sub=Default opID=5beb9589] [VpxVmomi] Invoking [queryView] on [vim.option.OptionManager:VpxSettings] session [52aea863-035b-8a65-362b-bb7576606423]

    2020-07-23T19:29:45.700Z verbose vpxd[04686] [Originator@6876 sub=Vmomi opID=5beb9589] Invoke error: vim.option.OptionManager.queryView session: 52aea863-035b-8a65-362b-bb7576606423 Throw: vim.fault.NotAuthenticated

    2020-07-23T19:29:45.700Z verbose vpxd[04686] [Originator@6876 sub=Default] CloseSession called for session id=52aea863-035b-8a65-362b-bb7576606423

    2020-07-23T19:29:45.920Z verbose vpxd[04654] [Originator@6876 sub=Default opID=47a68484] [VpxVmomi] Invoking [loginByToken] on [vim.SessionManager:SessionManager] session [52619c4a-e700-ece6-ba71-c0e100499423]

    2020-07-23T19:29:45.920Z info vpxd[04654] [Originator@6876 sub=vpxLro opID=47a68484] [VpxLRO] -- BEGIN lro-3955382 -- SessionManager -- vim.SessionManager.loginByToken -- 52619c4a-e700-ece6-ba71-c0e100499423

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Vmacore::Xml::Security opID=47a68484] Verification of signature Reference URI: `#_5bb6fc36-c99c-4ce9-bc85-f0645fac85c4' ; is-valid: true

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Vmacore::Xml::Security opID=47a68484] Missing reference count: 0

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Vmacore::Xml::Security opID=47a68484] Verification of signature SignedInfo: is-valid: true

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Vmacore::Xml::Security opID=47a68484] Verification of signature Reference URI: `#wssu-timestamp' ; is-valid: true

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Vmacore::Xml::Security opID=47a68484] Verification of signature Reference URI: `#body' ; is-valid: true

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Vmacore::Xml::Security opID=47a68484] Missing reference count: 0

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Default opID=47a68484] Found confirmation cert: 'OU=mID-babc4424-167d-4e16-9f78-6e66378b9914,C=US,DC=vsphere.sso,DC=mia,CN=vpxd-extension'

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Vmacore::Xml::Security opID=47a68484] Verification of signature SignedInfo: is-valid: true

    2020-07-23T19:29:45.922Z verbose vpxd[04654] [Originator@6876 sub=Default opID=47a68484] Found security token in request message

    2020-07-23T19:29:45.923Z verbose vpxd[04654] [Originator@6876 sub=[SSO] opID=47a68484] [UserDirectorySso] NormalizeUserName(mia.vsphere.sso\vpxd-extension-babc4424-167d-4e16-9f78-6e66378b9914, false)

    2020-07-23T19:29:45.923Z verbose vpxd[04654] [Originator@6876 sub=[SSO] opID=47a68484] [UserDirectorySso] GetUserInfo(mia.vsphere.sso\vpxd-extension-babc4424-167d-4e16-9f78-6e66378b9914, false) cached res: MIA.VSPHERE.SSO\vpxd-extension-babc4424-167d-4e16-9f78-6e66378b9914

    2020-07-23T19:29:45.923Z verbose vpxd[04654] [Originator@6876 sub=[SSO] opID=47a68484] [UserDirectorySso] NormalizeUserName(mia.vsphere.sso\vpxd-extension-babc4424-167d-4e16-9f78-6e66378b9914, false) res: MIA.VSPHERE.SSO\vpxd-extension-babc4424-167d-4e16-9f78-6e66378b9914

    2020-07-23T19:29:45.923Z verbose vpxd[04654] [Originator@6876 sub=[SSO] opID=47a68484] [UserDirectorySso] First/last name extracted from token

    2020-07-23T19:29:45.923Z verbose vpxd[04654] [Originator@6876 sub=[SSO] opID=47a68484] [UserDirectorySso] GetUserFullName(AuthTokenHelper) res:

    2020-07-23T19:29:45.923Z verbose vpxd[04654] [Originator@6876 sub=User opID=47a68484] [VpxdUser] Registering session with cnxId=52619c4a-e700-ece6-ba71-c0e100499423

    2020-07-23T19:29:45.923Z verbose vpxd[04654] [Originator@6876 sub=PropertyProvider opID=47a68484] RecordOp ADD: sessionList["52393bf2-1e66-e23c-affa-9f37d0903764"], SessionManager. Applied change to temp map.

    2020-07-23T19:29:45.923Z verbose vpxd[04654] [Originator@6876 sub=Vmomi opID=47a68484] Invoke done: vim.SessionManager.loginByToken session: 52619c4a-e700-ece6-ba71-c0e100499423

    2020-07-23T19:29:45.923Z info vpxd[04654] [Originator@6876 sub=vpxLro opID=47a68484] [VpxLRO] -- FINISH lro-3955382

    2020-07-23T19:29:45.923Z verbose vpxd[04597] [Originator@6876 sub=Vmomi opID=76374bb] Invoke done: vmodl.query.PropertyCollector.waitForUpdatesEx session: 52680fb6-3881-803b-11ee-e5ae830ab454

    2020-07-23T19:29:45.924Z verbose vpxd[04654] [Originator@6876 sub=Vmomi opID=2f25b009] Invoke done: vmodl.query.PropertyCollector.waitForUpdatesEx session: 52941fb6-6976-be5f-e7e6-31057958de82

    2020-07-23T19:29:45.925Z verbose vpxd[04694] [Originator@6876 sub=Default opID=5461adc] [VpxVmomi] Invoking [queryView] on [vim.option.OptionManager:VpxSettings] session [52619c4a-e700-ece6-ba71-c0e100499423(52393bf2-1e66-e23c-affa-9f37d0903764)]

    2020-07-23T19:29:45.925Z info vpxd[04694] [Originator@6876 sub=vpxLro opID=5461adc] [VpxLRO] -- BEGIN lro-3955383 -- VpxSettings -- vim.option.OptionManager.queryView -- 52619c4a-e700-ece6-ba71-c0e100499423(52393bf2-1e66-e23c-affa-9f37d0903764)

    2020-07-23T19:29:45.925Z verbose vpxd[04694] [Originator@6876 sub=Vmomi opID=5461adc] Invoke done: vim.option.OptionManager.queryView session: 52619c4a-e700-ece6-ba71-c0e100499423

    2020-07-23T19:29:45.925Z info vpxd[04694] [Originator@6876 sub=vpxLro opID=5461adc] [VpxLRO] -- FINISH lro-3955383

    2020-07-23T19:29:45.927Z verbose vpxd[31872] [Originator@6876 sub=Default opID=3d8d6438] [VpxVmomi] Invoking [waitForUpdatesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [52680fb6-3881-803b-11ee-e5ae830ab454(5239a4e3-b32d-1f66-d5d2-d5b32bbb86c6)]

    2020-07-23T19:29:45.927Z verbose vpxd[04756] [Originator@6876 sub=Default opID=daeb81a] [VpxVmomi] Invoking [logout] on [vim.SessionManager:SessionManager] session [52619c4a-e700-ece6-ba71-c0e100499423(52393bf2-1e66-e23c-affa-9f37d0903764)]

    2020-07-23T19:29:45.927Z verbose vpxd[63793] [Originator@6876 sub=Default opID=49b8b9fa] [VpxVmomi] Invoking [waitForUpdatesEx] on [vmodl.query.PropertyCollector:session[52941fb6-6976-be5f-e7e6-31057958de82]52df123c-0819-bcfc-7235-555d45a3604e] session [52941fb6-6976-be5f-e7e6-31057958de82(52460c19-be10-aff1-3a78-fd56b89e4512)]

    2020-07-23T19:29:45.927Z info vpxd[04756] [Originator@6876 sub=vpxLro opID=daeb81a] [VpxLRO] -- BEGIN lro-3955384 -- SessionManager -- vim.SessionManager.logout -- 52619c4a-e700-ece6-ba71-c0e100499423(52393bf2-1e66-e23c-affa-9f37d0903764)

    2020-07-23T19:29:45.927Z verbose vpxd[04756] [Originator@6876 sub=Default opID=daeb81a] CloseSession called for session id=52619c4a-e700-ece6-ba71-c0e100499423

    2020-07-23T19:29:45.927Z verbose vpxd[04756] [Originator@6876 sub=PropertyProvider opID=daeb81a] RecordOp REMOVE: sessionList["52393bf2-1e66-e23c-affa-9f37d0903764"], SessionManager. Applied change to temp map.

    2020-07-23T19:29:45.927Z verbose vpxd[04756] [Originator@6876 sub=Vmomi opID=daeb81a] Invoke done: vim.SessionManager.logout session: 52619c4a-e700-ece6-ba71-c0e100499423

    2020-07-23T19:29:45.927Z info vpxd[04756] [Originator@6876 sub=vpxLro opID=daeb81a] [VpxLRO] -- FINISH lro-3955384

    2020-07-23T19:29:45.927Z verbose vpxd[63793] [Originator@6876 sub=Vmomi opID=3d8d6438] Invoke done: vmodl.query.PropertyCollector.waitForUpdatesEx session: 52680fb6-3881-803b-11ee-e5ae830ab454

    2020-07-23T19:29:45.928Z verbose vpxd[04756] [Originator@6876 sub=Vmomi opID=49b8b9fa] Invoke done: vmodl.query.PropertyCollector.waitForUpdatesEx session: 52941fb6-6976-be5f-e7e6-31057958de82

    2020-07-23T19:29:45.934Z verbose vpxd[04744] [Originator@6876 sub=Default opID=7eb9f1e5] [VpxVmomi] Invoking [waitForUpdatesEx] on [vmodl.query.PropertyCollector:propertyCollector] session [52680fb6-3881-803b-11ee-e5ae830ab454(5239a4e3-b32d-1f66-d5d2-d5b32bbb86c6)]

    2020-07-23T19:29:45.946Z verbose vpxd[04678] [Originator@6876 sub=Default opID=61b83262] [VpxVmomi] Invoking [waitForUpdatesEx] on [vmodl.query.PropertyCollector:session[52941fb6-6976-be5f-e7e6-31057958de82]52df123c-0819-bcfc-7235-555d45a3604e] session [52941fb6-6976-be5f-e7e6-31057958de82(52460c19-be10-aff1-3a78-fd56b89e4512)]



  • 33.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 23, 2020 08:01 PM

    There is no obvious indication of cause for the error you are seeing.

    Can you share the code you are using?



  • 34.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 23, 2020 08:39 PM

    yea its basically just copy paste of what santana had posted up, only changed some variables to test to get it working.

    $esxName = 'dmia1vm00cpua031004.dev.us.corp'

    $vdsName = 'vds-dev-lan'

    $uplinkmapping = @(

    ("vmnic0","lacp-dev-0"),

    ("vmnic1","lacp-dev-1")

    )

    $esxiClusterName = "cl-m0-infra"

    $vmkNics = @(

        ("vmk0","MGMT-612" ),

        ("vmk1","Vmotion-611"),

        ("vmk2","SF-ISCSI-A-108"),

        ("vmk3","SF-ISCSI-B-108"),

        ("vmk4","NFS-694")

    )

    $esx = Get-VMHost -Name $esxName

    $vds = Get-VDSwitch -Name $vdsName -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | Where-Object {$_.ProxyHost -like $esxName}

    $portgroups = Get-VDPortgroup -VDSwitch $vds

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    # Migrate Physical NICs.

    foreach($uplink in $uplinkmapping){

        $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

        $pnic.PnicDevice = $uplink[0]

        $pnic.UplinkPortKey = $uplinks | Where-Object {$_.Name -eq $uplink[1]} | Select-Object -ExpandProperty Key

        $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $migrate = get-vmhostnetworkadapter -vmhost $esx | where{$_.name -match 'vmk'} | select name,portgroupname

    $vds_port_groups = get-vdportgroup -VDSwitch $vds | select name,vlanconfiguration

    # Migrate vmk NICs.

    foreach($vmkNic in $vmkNics){

        $vnic = New-Object VMware.Vim.HostVirtualNicConfig

        $vnic.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

        $vnic.Device = $vmkNic[0]

        $vnic.Portgroup = $vmkNic[1]

        $vnic.Spec = New-Object VMware.Vim.HostVirtualNicSpec

        $vnic.Spec.DistributedVirtualPort = New-Object VMware.Vim.DistributedVirtualSwitchPortConnection

        $vnic.Spec.DistributedVirtualPort.SwitchUuid = $vds.ExtensionData.Uuid

        $vnic.Spec.DistributedVirtualPort.PortgroupKey = $portgroups | Where-Object {$_.Name -eq $vmkNic[1] } | Select-Object -ExpandProperty Key

        $config.Vnic += $vnic

    }

    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)

    thanks for the quick replies



  • 35.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 23, 2020 09:07 PM

    Are there more ESXi nodes attached to the VDS?

    Do you get the same error on all of them?
    Does the migration via the Web Client work without issues?



  • 36.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 23, 2020 10:22 PM

    they reporvisioned the one i was working on and gave me another server to test and I got the same error did it manually through web gui migrated 1 nic manually worked with no errors



  • 37.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 24, 2020 09:47 AM

    Tried that code, adapted for my test environment, and the code seems to work.

    But then again, my test environment is not the same as your environment.

    Are you using a vSphere version that has the Developer Center in the Web Client?

    You could try to use Code Capture while you make the change via the Web Client.

    The resulting code might show you what is missing or incorrect.



  • 38.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 24, 2020 12:06 AM

    Moderator: There is an Attach function in the bottom-right of the post creator which is better for uploading logs than pasting huge text dumps.



  • 39.  RE: Assign vminc to Specific Uplink on VDS

    Posted Jul 28, 2020 01:58 AM

    thanks lucd good call on the developer center I didn't have it but I installed it and it pointed me to the missing parameter it wanted the vswitch parameter filled out here is my code incase someone else needs it.

    thanks

    $esxName = 'esxihost'

    $vdsName = 'vds-dev-lan'

    $uplinkmapping = @()

    $vmkNics = @()

    $esx = Get-VMHost -Name $esxName

    $vds = (Get-VDSwitch -name $vdsName)

    Add-VDSwitchVMHost -VDSwitch $vds -VMHost $esx -confirm:$false

    $portgroups = Get-VDPortgroup -VDSwitch $vds

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | Where-Object {$_.ProxyHost -like $esxName -and $_.name -match 'lacp'}

    $pnics = Get-VMHostNetworkAdapter -VMHost $esx | where {$_.Name.StartsWith("vmnic")} | where {$_.ExtensionData.LinkSpeed.SpeedMb -eq 10000}

    $vmknic_list = Get-VMHostNetworkAdapter -VMHost $esx | where {$_.Name.StartsWith("vmk")}

    for($i = 0; $i -lt $pnics.name.count; $i++)

    {

        $My_uplink = , @($pnics.name[$i],$uplinks.name[$i])

        $uplinkmapping += $my_uplink

    }

    for($i = 0; $i -lt $vmknic_list.name.count; $i++)

    {

        $port_grp_name = $Null

        switch -regex ($vmknic_list[$i].PortGroupName)

        {

            'management|mgmt'{$port_grp_name = ($Portgroups | where{$_.vlanconfiguration -match '612'}).name}

            'vmotion' {$port_grp_name = ($Portgroups | where{$_.vlanconfiguration -match '611'}).name}

            'iscsi-a' {$port_grp_name = ($Portgroups | where{$_.vlanconfiguration -match '108' -and $_.name -match 'a'}).name}

            'iscsi-b' {$port_grp_name = ($Portgroups | where{$_.vlanconfiguration -match '108' -and $_.name -match 'b'}).name}

            'nfs' {$port_grp_name = ($Portgroups | where{$_.vlanconfiguration -match '694'}).name}

        }

        $My_nic = , @($vmknic_list[$i].name, $port_grp_name)

        $vmknics += $my_nic

    }

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    # Migrate Physical NICs.

    foreach($uplink in $uplinkmapping){

        $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

        $pnic.PnicDevice = $uplink[0]

        $pnic.UplinkPortKey = $uplinks | Where-Object {$_.Name -eq $uplink[1]} | Select-Object -ExpandProperty Key

        $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    # Migrate vmk NICs.

    foreach($vmkNic in $vmkNics){

        $vnic = New-Object VMware.Vim.HostVirtualNicConfig

        $vnic.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

        $vnic.Device = $vmkNic[0]

        $vnic.Portgroup = $vmkNic[1]

        $vnic.Spec = New-Object VMware.Vim.HostVirtualNicSpec

        $vnic.Spec.DistributedVirtualPort = New-Object VMware.Vim.DistributedVirtualSwitchPortConnection

        $vnic.Spec.DistributedVirtualPort.SwitchUuid = $vds.ExtensionData.Uuid

        $vnic.Spec.DistributedVirtualPort.PortgroupKey = $portgroups | Where-Object {$_.Name -eq $vmkNic[1] } | Select-Object -ExpandProperty Key

        $config.Vnic += $vnic

    }

    $vswitchdata = (get-virtualswitch -vmhost $esx | where{$_.name -match 'vswitch0'}).extensiondata

    $config.Vswitch = New-Object VMware.Vim.HostVirtualSwitchConfig[] (1)

    $config.Vswitch[0] = New-Object VMware.Vim.HostVirtualSwitchConfig

    $config.Vswitch[0].Name = 'vSwitch0'

    $config.Vswitch[0].ChangeOperation = 'edit'

    $config.Vswitch[0].Spec = New-Object VMware.Vim.HostVirtualSwitchSpec

    $config.Vswitch[0].Spec.NumPorts = $vswitchdata.spec.NumPorts

    $config.Vswitch[0].Spec.Policy = New-Object VMware.Vim.HostNetworkPolicy

    $config.Vswitch[0].Spec.Policy.Security = New-Object VMware.Vim.HostNetworkSecurityPolicy

    $config.Vswitch[0].Spec.Policy.Security.AllowPromiscuous = $vswitchdata.spec.Policy.Security.AllowPromiscuous

    $config.Vswitch[0].Spec.Policy.Security.ForgedTransmits = $vswitchdata.spec.Policy.Security.ForgedTransmits

    $config.Vswitch[0].Spec.Policy.Security.MacChanges = $vswitchdata.spec.Policy.Security.MacChanges

    $config.Vswitch[0].Spec.Policy.OffloadPolicy = New-Object VMware.Vim.HostNetOffloadCapabilities

    $config.Vswitch[0].Spec.Policy.OffloadPolicy.TcpSegmentation = $vswitchdata.spec.Policy.OffloadPolicy.TcpSegmentation

    $config.Vswitch[0].Spec.Policy.OffloadPolicy.ZeroCopyXmit = $vswitchdata.spec.Policy.OffloadPolicy.ZeroCopyXmit

    $config.Vswitch[0].Spec.Policy.OffloadPolicy.CsumOffload = $vswitchdata.spec.Policy.OffloadPolicy.CsumOffload

    $config.Vswitch[0].Spec.Policy.ShapingPolicy = New-Object VMware.Vim.HostNetworkTrafficShapingPolicy

    $config.Vswitch[0].Spec.Policy.ShapingPolicy.Enabled = $vswitchdata.spec.Policy.ShapingPolicy.Enabled

    $config.Vswitch[0].Spec.Policy.NicTeaming = New-Object VMware.Vim.HostNicTeamingPolicy

    $config.Vswitch[0].Spec.Policy.NicTeaming.NotifySwitches = $vswitchdata.spec.Policy.NicTeaming.NotifySwitches

    $config.Vswitch[0].Spec.Policy.NicTeaming.RollingOrder = $vswitchdata.spec.Policy.NicTeaming.RollingOrder

    $config.Vswitch[0].Spec.Policy.NicTeaming.FailureCriteria = New-Object VMware.Vim.HostNicFailureCriteria

    $config.Vswitch[0].Spec.Policy.NicTeaming.FailureCriteria.FullDuplex = $vswitchdata.spec.Policy.NicTeaming.FailureCriteria.FullDuplex

    $config.Vswitch[0].Spec.Policy.NicTeaming.FailureCriteria.Percentage = $vswitchdata.spec.Policy.NicTeaming.FailureCriteria.percentage

    $config.Vswitch[0].Spec.Policy.NicTeaming.FailureCriteria.CheckErrorPercent = $vswitchdata.spec.Policy.NicTeaming.FailureCriteria.CheckErrorPercent

    $config.Vswitch[0].Spec.Policy.NicTeaming.FailureCriteria.CheckDuplex = $vswitchdata.spec.Policy.NicTeaming.FailureCriteria.CheckDuplex

    $config.Vswitch[0].Spec.Policy.NicTeaming.FailureCriteria.CheckBeacon = $vswitchdata.spec.Policy.NicTeaming.FailureCriteria.CheckBeacon

    $config.Vswitch[0].Spec.Policy.NicTeaming.FailureCriteria.Speed = $vswitchdata.spec.Policy.NicTeaming.FailureCriteria.Speed

    $config.Vswitch[0].Spec.Policy.NicTeaming.FailureCriteria.CheckSpeed = $vswitchdata.spec.Policy.NicTeaming.FailureCriteria.CheckSpeed

    $config.Vswitch[0].Spec.Policy.NicTeaming.Policy = $vswitchdata.spec.Policy.NicTeaming.Policy

    $config.Vswitch[0].Spec.Policy.NicTeaming.ReversePolicy = $vswitchdata.spec.Policy.NicTeaming.reversePolicy

    $netSys.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)



  • 40.  RE: Assign vminc to Specific Uplink on VDS

    Posted Mar 16, 2022 10:31 AM

    Hi LucD

     

    First of all, thank you for your support.

    I have run the script:

    $vds_name = "Prod-vDS-Switch"

    $vds = Get-VDSwitch $vds_name

    $vmhost = "esxi-1.lab.local"

    $esx = Get-VMHost esxi-1*

    $vds = Get-VDSwitch -Name 'Prod-vDS-Switch' -VMHost $esx

    $uplinks = Get-VDPort -VDSwitch $vds -Uplink | where {$_.ProxyHost -like $vmhost}

    $netSys = Get-View -Id $esx.ExtensionData.ConfigManager.NetworkSystem

    $config = New-Object VMware.Vim.HostNetworkConfig

    $proxy = New-Object VMware.Vim.HostProxySwitchConfig

    $proxy.Uuid = $vds.ExtensionData.Uuid

    $proxy.ChangeOperation = [VMware.Vim.HostConfigChangeOperation]::edit

    $proxy.Spec = New-Object VMware.Vim.HostProxySwitchSpec

    $proxy.Spec.Backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking

    for ($i = 1; $i -lt $vds.NumUplinkPorts; $i++) {

    $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

    $pnic.PnicDevice = "vmnic$($i)"

    $pnic.UplinkPortKey = $uplinks | where {$_.Name -eq "dvUplink$i"} | Select -ExpandProperty Key

    $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config, [VMware.Vim.HostConfigChangeMode]::modify)

     

    But the output:

    Exception calling "UpdateNetworkConfig" with "2" argument(s): "A specified parameter was not correct: "
    At line:16 char:1
    + $netSys.UpdateNetworkConfig($config, [VMware.Vim.HostConfigChangeMode ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : VimException

     

    Thanks in advance for your answer.

    Regards

    Jawad



  • 41.  RE: Assign vminc to Specific Uplink on VDS

    Posted Mar 16, 2022 10:49 AM

    I suspect the issue is due to the names of the uplinks.
    For example, if they are named "Uplink 1", "Uplink 2", .. instead of "dvUplink1", "dvUplink2", ... you will have to change line

        $pnic.UplinkPortKey = $uplinks | Where-Object { $_.Name -eq "dvUplink$i" } | Select-Object -ExpandProperty Key
    

    to

        $pnic.UplinkPortKey = $uplinks | Where-Object { $_.Name -eq "Uplink $i" } | Select-Object -ExpandProperty Key
    

       



  • 42.  RE: Assign vminc to Specific Uplink on VDS

    Posted Mar 16, 2022 11:01 AM

    Hi LucD

    for ($i = 1; $i -lt $vds.NumUplinkPorts; $i++) {

    $pnic = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec

    $pnic.PnicDevice = "vmnic$($i)"

    $pnic.UplinkPortKey = $uplinks | where {$_.Name -eq "Uplink $i"} | Select -ExpandProperty Key

    $proxy.Spec.Backing.PnicSpec += $pnic

    }

    $config.ProxySwitch += $proxy

    $netSys.UpdateNetworkConfig($config, [VMware.Vim.HostConfigChangeMode]::modify)
    Exception calling "UpdateNetworkConfig" with "2" argument(s): "There is an error in the XML document."
    At line:41 char:1
    + $netSys.UpdateNetworkConfig($config, [VMware.Vim.HostConfigChangeMode ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

     

    But I think dvUplink$i is correct because:

    PS C:\> $uplinks

    Key Name ConnectedEntity Portgroup IsLinkUp MacAddress Vlan Switch
    --- ---- --------------- --------- -------- ---------- ---- ------
    10 dvUplink0 Prod-vDS-Switch-D... Prod-vDS-S...
    11 dvUplink1 Prod-vDS-Switch-D... Prod-vDS-S...
    12 dvUplink2 Prod-vDS-Switch-D... Prod-vDS-S...
    13 dvUplink3 Prod-vDS-Switch-D... Prod-vDS-S...
    14 dvUplink4 Prod-vDS-Switch-D... Prod-vDS-S...
    15 dvUplink5 Prod-vDS-Switch-D... Prod-vDS-S...
    16 dvUplink6 Prod-vDS-Switch-D... Prod-vDS-S...
    17 dvUplink7 Prod-vDS-Switch-D... Prod-vDS-S...
    18 dvUplink8 Prod-vDS-Switch-D... Prod-vDS-S...
    19 dvUplink9 Prod-vDS-Switch-D... Prod-vDS-S...

     

    PS C:\> $uplinks[0]| fl


    ExtensionData : VMware.Vim.DistributedVirtualPort
    Key : 10
    Description :
    IsBlocked : False
    IsBlockedInherited : True
    IsLinkUp :
    MacAddress :
    VlanConfiguration : VLAN Trunk [0-4094]
    ConnectedEntity :
    ProxyHost : esxi-1.lab.local
    Portgroup : Prod-vDS-Switch-DVUplinks-6027
    Switch : Prod-vDS-Switch
    Name : dvUplink0
    Id : 10
    Uid : /VIServer=vsphere.local\administrator@lab-vcsa.lab.local:443/DistributedPort=10/

    Regards

    Jawad



  • 43.  RE: Assign vminc to Specific Uplink on VDS

    Posted Mar 16, 2022 11:03 AM

    Then you will have to check in the vpxd log if there is more info about the error.



  • 44.  RE: Assign vminc to Specific Uplink on VDS

    Posted Mar 16, 2022 11:06 AM

    Hi LucD

    when I try this one, it works.


    foreach ($vhost in $hh) {

    $vds = Get-VDSwitch

    $uplinks = $vhost | Get-VDSwitch | Get-VDPort -Uplink | where {$_.ProxyHost -like $vhost.Name}

    #$vhost | Get-VMHostNetworkAdapter -Name $vmnics | Remove-VirtualSwitchPhysicalNetworkAdapter -Confirm:$false

    $config = New-Object VMware.Vim.HostNetworkConfig
    $config.proxySwitch = New-Object VMware.Vim.HostProxySwitchConfig[] (1)
    $config.proxySwitch[0] = New-Object VMware.Vim.HostProxySwitchConfig
    $config.proxySwitch[0].changeOperation = "edit"
    $config.proxySwitch[0].uuid = $vds.Key
    $config.proxySwitch[0].spec = New-Object VMware.Vim.HostProxySwitchSpec
    $config.proxySwitch[0].spec.backing = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicBacking
    $config.proxySwitch[0].spec.backing.pnicSpec = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec[] (10)


    for($i=1 ;$i -lt $vds.NumUplinkPorts;$i++){

    $config.proxySwitch[0].spec.backing.pnicSpec[$i] = New-Object VMware.Vim.DistributedVirtualSwitchHostMemberPnicSpec
    $config.proxySwitch[0].spec.backing.pnicSpec[$i].pnicDevice = "vmnic$i"
    $config.proxySwitch[0].spec.backing.pnicSpec[$i].uplinkPortKey = ($uplinks | where {$_.Name -eq "dvUplink$i"}).key

    $_this = Get-View (Get-View $vhost).ConfigManager.NetworkSystem
    $_this.UpdateNetworkConfig($config, "modify")

    }
    }

    Thanks in advance for your advice.



  • 45.  RE: Assign vminc to Specific Uplink on VDS

    Posted Nov 25, 2022 12:06 PM

    I have exactly the same question like Nicholas at the beginning. And I hoped that there is a simple cmdlet with according parameters ...

    Let's have a look, if I find my solution here.

    Regards, Dietmar



  • 46.  RE: Assign vminc to Specific Uplink on VDS

    Posted Nov 28, 2022 11:41 PM

    Lot of code up here where I do not really understand everything (especially the New- and Where-Object commands)

    At the moment I look for a special point: meanwhile I have a VDS with one unused NIC uplink and my "old" VSS with one NIC connection and there the vmk0 with management on it. How do I get now the vmk0 from VSS to VDS without loosing my connection to management? In the GUI it works well. But how can I do it with PowerCLI?

    Thx and regards

    Dietmar



  • 47.  RE: Assign vminc to Specific Uplink on VDS

    Posted Nov 29, 2022 12:05 PM

    Use Code Capture to see the code behind the action(s) in the Web Interface.
    See this thread for an example.