Hi,
I try to script the installation of virtuel Swicht and NIC. A exemple of command is like this:
esxcfg-vswitch -a vSwitch4
esxcfg-vswitch -A Production vSwitch4
esxcfg-vswitch -L vmnic5 vSwitch4
esxcfg-vswitch -L vmnic2 vSwitch4
vimsh -n -e "/internalsvc/refresh_network"
I realised that one Nic will be on Active and the other as Stanby.
I did not find a way to move the Standby NIC to Active. In Vic is ok but in script no chance.
Can someone help me
Regards
You can probably do that using the vimsh command. Google it for info on the numerous uses of it :smileyshocked:)
Chris
Already tried for the weekend.
Can only work with vimsh when the nic is listed in unused...