VI3 Configure VMkernel portgroup

# add VMkernel to vSwitch2
esxcfg-vswitch -A VMkernel vSwitch2
# set ip on Vmkermel
esxcfg-vmknic -a VMkernel -i <ip kernel> -n <sn kernel>
esxcfg-route <gw kernel>
esxcfg-vswitch –v 101 –p VMkernel vSwitch2
# enable vmotion on the VMkernel portgroup
vimsh -n -e “/hostsvc/vmotion/vnic_set <portgroupName>”

where <portgroupName> is the name of the portgroup that you want to enable vmotion on.

This portgroup name must be the internal portgroup name (as obtained from ‘esxcfg-vswitch -l’ and not the friendly portgroup name.

One thought on “VI3 Configure VMkernel portgroup

Comments are closed.