Automation

 View Only
  • 1.  Migrate Distributed Port Group to vSS

    Posted 19 days ago

    Hi PowerCLI Community, i'm pretty new to PowerCLI so I need your help. I have the issue to Migrate ESX Nodes from an vSphere 7 to vSphere 8 so I found a KB Workaround for it:

    • Migrate dPG to vSS
    • Remove Node from vDS
    • Remove Node from vCenter 7
    • Add Node to vCenter 8
    • Add Node to new vDS and choose the appropriate vmnic and assign the right dPG in new vDS
      • I already migrated the vDS from vCenter 7 to 8 with the same konfigurations, with somtehing like this:
        • New-VDSwitch -BackupPath $vDSLocation -Location (Get-Datacenter $datacenter) -KeepIdentifiers:$true

    I'm stucked at Point 1, you can go to the vCenter UI and click "Migrate Networking" is there any chance to rebuild this process in PowerCLI?

    I have to migrate 300 ESX Nodes

    Thank you guys in Advance



    ------------------------------
    Cemre Guenay - IT Consultant - Computacenter
    https://irg-net.com
    ------------------------------


  • 2.  RE: Migrate Distributed Port Group to vSS

    Posted 19 days ago

    There were sample scripts on VMTN before the migration, now it is hard to find them.

    There are some examples on the web;
    Automate the reverse, migrating from vSphere Distributed Switch to Virtual Standard Switch using PowerCLI 5.5 (williamlam.com)

    vDS to vSS and back again – Virtual Thoughts



    ------------------------------


    Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference


    ------------------------------