Hi Gurus.
I need to change for a long list of hosts the vSwitch load balancing mode to a new value, for instance "route based on the originating port ID" .
And as i'm a lazy VMware admin, I want to batch that
Anyone has a tip for me ?
Thx,
Didier
Hey Buddy,
thats the command:
vmware-vim-cmd /hostsvc/net/vswitch_setpolicy -nicteaming-policy=loadbalance_srcid vSwitchX
Hey Buddy,
thats the command:
vmware-vim-cmd /hostsvc/net/vswitch_setpolicy -nicteaming-policy=loadbalance_srcid vSwitchX
Thx mate it works like a charm...
BTW what are the other possible values for 'nicteaming-policy' ?
Cheers,
Didier
<code>vmware-vim-cmd /hostsvc/net/vswitch_setpolicy -nicteaming-policy=loadbalance_ip vSwitchX</code>
<code>vmware-vim-cmd /hostsvc/net/vswitch_setpolicy -nicteaming-policy=loadbalance_srcmac vSwitchX</code>