Automation

 View Only
  • 1.  How to improve the speed of portgroup configuration ?

    Posted Jun 22, 2021 08:54 AM

    I use the following script to quickly create a port group

    But……PortGroups configuration is done one by one.

    If I configure 100 PortGroups, it will take a long time to complete

    How can configuration settings be performed in parallel?

     



  • 2.  RE: How to improve the speed of portgroup configuration ?
    Best Answer

    Posted Jun 22, 2021 09:12 AM

    Are you sure that a VDS itself can handle parallel tasks?
    In fact, the New-VDPortgroup cmdlet needs to wait until the VDS itself signals the action is complete.
    Seen that a VDS has to sync between multiple ESXi nodes, this will take time.

    Additionally, all VDS actions need to use a ConfigVersion to avoid conflicting actions from different nodes.
    How would that be done in a parallel setup?

    I'm afraid that due to the nature of a VDS, parallelism in configuration actions is not possible.



  • 3.  RE: How to improve the speed of portgroup configuration ?

    Posted Jun 22, 2021 09:21 AM

    OK, I will wait patiently......