2 Replies Latest reply on Nov 12, 2007 3:28 AM by Touffi

    vSwitch & NIC scripting

    Touffi Enthusiast





      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