Hostsvc/vmotion/vnic set
Jump to navigation
Jump to search
vimsh hostsvc/vmotion/vnic_set
Usage: vnic_set vnic
Select a VirtualNic to be used as the VMotion NIC.
example
Taken from http://www.yellow-bricks.com/2008/12/08/enable-vmotion-from-the-command-line/
As of ESX 3.5 the way to enable VMotion via the command-line changed.
So for anyone looking for this particular command:
/usr/bin/vmware-vim-cmd "hostsvc/vmotion/vnic_set vmk0"
In this example “vmk0″ is the first vmkernel nic. This is one of the things that changed, so no portgroup id’s anymore.
thanks Duncan!