Hostsvc/vmotion/vnic set: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
New page: ==== vimsh hostsvc/vmotion/vnic_set ==== Usage: vnic_set vnic Select a VirtualNic to be used as the VMotion NIC. Category: vimsh
 
added example output
 
Line 3: Line 3:


Select a VirtualNic to be used as the VMotion NIC.
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!


[[Category: vimsh]]
[[Category: vimsh]]

Latest revision as of 13:30, 5 January 2009

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!