Hey guys we finally got Active-Active storage in our two DCs and now I need to re-create the ESXi hosts vMotion VMK ports in each DC with a VMK port in the TCP/IP stack so they can communicate over L3.
Anyone have a script for this, or any tips? I have hundreds of hosts.
You should be able to do that with the Remove-VMHostNetworkAdapter and New-VMHostNetworkAdapter cmdlets.
The New-VMHostNetworkAdapter has a NetworkStack parameter.
PS: this NetworkStack parameter was introduced in PowerCLI 12.0.
Make sure to be using that version.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference