Has anyone successfully used this script from MSFT? I’ve been having issues while testing and any information online is extremely scarce.
Edit: To add a bit more detail . . .
My lab setup is pretty janky. Three mixed NUCs make up my lab cluster (1 DC and 2 Nodes). I am using USB to ethernet adapters as secondary NICs on each . . . Not an ideal setup especially considering one of the requirements for SET is to have symmetrical NICs. That could be why I’m having issues, but I’m just generally interested to know if anyone has ended up using this script in production.
When I ran the script on the first node all 10 unit tests with Pester passed (I don’t even know what they are), but I the script threw the error “Critical vmNIC migration failure”. However, the LBFO Team was removed, the new SET was created and all the previous virtual adapters remained…making me think it actually was successful. I was able to confirm that the adapters migrated sucessfully with Get-VMNetworkAdapter -all . . .They all live on the SET.
The results were quite different when I ran the script on the second node. I received the same migration error, but the LBFO team remained while the new SET was also created. The script just split the two between each adapter (LBFO on the internal NIC and the SET was on the USB NIC). The virtual ethernet adapters ended up split as well. Two of them left on the switch bound to the LBFO team and 3 of them on the SET.
This is how I executed the script on each node:
Convert-LBFO2SET -LBFOTeam "LBFOTeam" -SETTeam "SETTeam"
This is how I created the initial vSwitch, LBFO Team and adapters:
New-NetLbfoTeam -Name LBFOTeam -TeamMembers pNIC1,pNIC2 -LoadBalancingAlgorithm Dynamic -TeamingMode SwitchIndependent
New-VMSwitch -Name "vSwitch" -NetAdapterName "1LBFOTeam" -AllowManagementOS $False -MinimumBandwidthMode Weight
Set-VMSwitch "vSwitch" -DefaultFlowMinimumBandwidthWeight 20
Add-VMNetworkAdapter -ManagementOS -Name "Some...Name" -SwitchName "vSwitch"
6 Spice ups
Neally
(Neally)
2
Could you post a link or show where the script is?
I see one on GitHub, there is on in the PSGallery, I just want to make sure we’re all looking at the same thing.
2 Spice ups
The one I ended up using was from the PowerShell gallery.
Neally
(Neally)
4
Please share the link, there are various versions as well.
1 Spice up
Neally
(Neally)
6
Alright, so that’s just the module, how do you run the script? what command exactly do you run?
Do you add arguments? What machine is that on? what are your NIC settings, etc.
Help us help you and give details, I’m tired of pulling teeth.
1 Spice up
I added more detail to my post…I’m out of teeth anyway.
1 Spice up
Neally
(Neally)
8