This doc is helpful, but it doesn't mention changing the nic order on a portgroup.
You can't assign NICs to a port group, only to a vSwitch.
You can going into the Port Group and Override the vSwitch failover order. That is what I am trying to do in my script. Ex: vSwitch0 has vmnic0 and 1 as Active, but the SC and VMKernel port groups override that setting and use one vmnic as primary and the other vmnic as the backup.
1 person found this helpful
Ah, I see now... I dug around in vimsh and it looks like they have some syntax to get there. Here it is:
Sets the properties on a portgroup.
List of active NICs.
Order in which failover should occur.
There are a number of other options, but experimenting with these should get you there.
Thank you very much sir.