Automation

 View Only
  • 1.  DistributedVirtualSwitchInfo with id 'xxx' does not exist

    Posted Oct 31, 2020 11:26 PM

    Hello there.

    I am trying to create vmk intarfaces with New-VMHostNetworkAdapter cmlet, but gettin the error "DistributedVirtualSwitchInfo with id 50 02 5a 5c 8c fc 30 be-15 99 73 74 7d 87 b7 37' does not exist."

    I've tried to specify vDS name in the cmdlet, tried to specify the variable, in which the switch object was stored (the result of Get-VirtualSwitch and Get-VDSwitch cmdlets), but still no luck.

    Furthermore, the vDS key is the same, vCenter is complaining about:

    PS C:\Windows\system32> $vswitch.key

    50 02 5a 5c 8c fc 30 be-15 99 73 74 7d 87 b7 37

    What is the problem?



  • 2.  RE: DistributedVirtualSwitchInfo with id 'xxx' does not exist
    Best Answer

    Posted Nov 01, 2020 06:05 AM

    Did you already stop/start your PS session?

    Which PS, PCLI and vSphere version are you using?

    Does it work from the Web Client?



  • 3.  RE: DistributedVirtualSwitchInfo with id 'xxx' does not exist

    Posted Nov 01, 2020 05:42 PM

    Eh, I'm sorry for the stupid issue.

    The single vmhost was configured manually from the Web Client successfully, but I forgot to migrate other hosts to this particular vDS (hosts in this nested lab should participate in 2 vDS).

    Thanks for the help.